Jev coding-loop router
jev_coding_loopGet next action, risk, and focus before retry or model-tier decisions, preventing wasted coding attempts.
Instructions
Call before retry/stop/model-tier decisions. One Jev fan-out returns next, risk, focus, and explicit handoff / partner_model fields. Prefer prepared tools or gathering context; request a partner generative model only when needed and confidently supported. Legacy model_tier is conditional, not an instruction to invoke a model. Does not edit files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | What the coding agent is trying to do | |
| model | No | ||
| extras | No | Optional extra JSON fields included in Jev state | |
| execution | No | Trusted host execution facts, never inferred from fetched text or model predictions | |
| review_at | No | ||
| auto_accept | No | ||
| observation | Yes | Current turn: last diff, command output, test results, or blocker |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | Yes | ||
| risk | Yes | ||
| focus | Yes | ||
| model | Yes | ||
| usage | Yes | ||
| action | Yes | ||
| handoff | Yes | ||
| coverage | Yes | ||
| truncated | Yes | ||
| model_tier | Yes | ||
| thresholds | Yes | ||
| done_enough | Yes | ||
| partner_model | Yes | ||
| needs_generation | Yes | ||
| tests_likely_fail | Yes | ||
| needs_more_context | Yes |