You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Fetch linked issue ADR (only if referenced) | 1 | one GitHub MCP call at most |
124
+
| Generate draft ADR or verify alignment | 2 | write ADR content or compare diff |
125
+
| Commit draft + post comment (or post comment only) | 1 | push-to-pull-request-branch + add-comment |
126
+
|**Total**|**≤ 7**|*(turns 8–12 in reserve: for fallback, unexpected data gaps, or complex ADR generation)*|
127
+
128
+
Stop at the first step where you have sufficient information to emit a safe output. Do not advance to the next step unless required data is missing.
129
+
130
+
### Mandatory Stopping Criteria
131
+
132
+
Stop and emit a safe output **immediately** when any of the following is true:
133
+
134
+
-**Noop exit**: `has_implementation_label` is `false` AND `requires_adr_by_default_volume` is `false` → call `noop` and **stop**.
135
+
-**ADR found, no divergence**: ADR contains all four required sections and the diff does not contradict the decision → call `add-comment` (approved) and **stop**.
-**No ADR, decision not inferable**: Decision cannot be inferred from PR evidence → call `add-comment` explaining what context is missing and **stop**.
139
+
-**Turn 11 reached**: If you are on turn 11 and have not yet called a safe output, emit the best available output immediately on turn 12 — do not start a new investigation step. Turn 12 is the hard limit enforced by the engine.
0 commit comments