Commit 92cd1b7
committed
feat: ADR 0032 M3 Slice B — enforce plan gate via interceptor, remove inline gate
Second of the two §13.3 landings. Flips the plan-gate interceptor to enforce
mode (raise_on_deny=True) and removes the now-redundant inline
evaluate_write_gate call from AgentRunner. The plan gate is now solely the
EventSpine interceptor on TOOL_CALL_REQUESTED.
Safe because Slice A (26446d5) proved, with the inline gate still authoritative,
that the interceptor's decision is identical per reason code (parity test green
on a full acceptance run). Denials, reason codes, and pending/failure status
are unchanged.
Constraint: behavior-preserving; same denials and reason codes as the inline gate Slice A proved equivalent; no test assertion changed
Tested: lifecycle, adversarial + first-hour + from-plan 36, smoke 200, acceptance 646/646, full mypy clean 1009 files, ruff check+format clean
Confidence: high
Roadmap-Status: unchanged1 parent 26446d5 commit 92cd1b7
1 file changed
Lines changed: 11 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
181 | 180 | | |
182 | 181 | | |
183 | | - | |
| 182 | + | |
184 | 183 | | |
185 | 184 | | |
186 | 185 | | |
187 | | - | |
| 186 | + | |
188 | 187 | | |
189 | 188 | | |
190 | 189 | | |
| |||
641 | 640 | | |
642 | 641 | | |
643 | 642 | | |
644 | | - | |
645 | | - | |
646 | | - | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
647 | 647 | | |
648 | 648 | | |
649 | 649 | | |
| |||
658 | 658 | | |
659 | 659 | | |
660 | 660 | | |
661 | | - | |
662 | | - | |
663 | | - | |
664 | | - | |
665 | | - | |
666 | | - | |
667 | | - | |
668 | | - | |
669 | | - | |
670 | 661 | | |
671 | 662 | | |
672 | 663 | | |
| |||
0 commit comments