Check Trajectory Abort
jev_check_abortDetect doom loops and circular retries before spending reasoning tokens: evaluate a proposed step against past failures to decide PROCEED, HALT, or PIVOT.
Instructions
Guards against doom loops, repetitive circular retries, dead-ends, and destructive refactoring before burning frontier reasoning tokens. Evaluates the agent's proposed plan against recent attempt history.
Use when: An agent is about to retry a failed step, execute a code edit after previous failed attempts, or before embarking on a potentially circular fix. Do NOT use when: Making the first attempt on a fresh task with no prior failure history.
Returns: JSON object with 'should_abort' (boolean: true if the trajectory is stuck in a circular loop), 'abort_probability' (number: 0.0 to 1.0), 'action' (string: PROCEED, HALT, PIVOT), and 'reasoning_summary' (string explaining the decision).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| proposed_step | Yes | The next proposed plan, code modification, or architectural direction. | |
| recent_attempts_summary | No | Summary of previous failed attempts, errors encountered, or circular patterns. |