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
feat(skills/update-stack): block on undeclared drift vs upstream
Add gate 3ter to Phase 1: after /verify passes, diff each stack-module
non-test file against devkit-node/master. Any file that diverges AND is
not declared in DOWNSTREAM_PATCHES.md causes exit 1 with a clear fix
message. Missing ledger = no declared divergences allowed.
Prevents trawl-style silent drift (3 arch violations + 9 promote-up
candidates found 2026-05-30 after weeks of unchecked accumulation).
Closes#3759 — plan 2026-05-30-trawl-devkit-perfect-alignment.md (E.2)
Copy file name to clipboardExpand all lines: .claude/skills/update-stack/SKILL.md
+33Lines changed: 33 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,6 +88,39 @@ BODY
88
88
89
89
Proceed to Phase 2 and track the upstream fix separately — do not block downstream alignment on it.
90
90
91
+
### 3ter. Block on undeclared drift
92
+
93
+
After `/verify` passes, run a final diff sweep before starting Phase 2. Any stack file that diverges from upstream **and** is not declared in `DOWNSTREAM_PATCHES.md` blocks the flow.
0 commit comments