Commit 461505b
committed
docs: M4 approval — reference approach hit a third coupling gap; escalate architecture decision
Followed the owner's "reference approach": extended the interceptor design to
recover jit_state (provider) and handler (registry), closing gaps 1-2. Wiring
Slice B then surfaced gap 3: auto-mode swaps self.approval_policy at runtime
after the emit, so a construction-time interceptor reference diverges. The
approval gate is deeply runtime-coupled (live JIT state, handler, swappable
policy) — unlike the stateless plan gate. Recorded two options: (A) heavy
provider-shim interceptor, or (B, recommended) leave approval enforcement inline
and use the spine only for approval observability. Owner decision needed before
any enforce cutover. Reverted the in-progress interceptor edit; committed state
(PlanGateError + approval Slice A, not wired) is clean and behavior-unchanged.
Constraint: docs only; no enforce cutover; reverted in-progress edit to keep tree clean; escalates an architecture decision rather than shipping coupling
Tested: lifecycle 36 (Slice A intact); docs validator 0 errors
Confidence: high
Roadmap-Status: unchanged1 parent bcd9369 commit 461505b
2 files changed
Lines changed: 54 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
589 | 589 | | |
590 | 590 | | |
591 | 591 | | |
592 | | - | |
| 592 | + | |
593 | 593 | | |
594 | 594 | | |
595 | 595 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
0 commit comments