Skip to content

Commit 95fc3c4

Browse files
committed
canon(bootstrap): reduce release-validation-gate hook to pointer to avoid DRY drift
1 parent 4d2bc88 commit 95fc3c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

canon/bootstrap/model-operating-contract.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ The oddkit tools encode the discipline. They are not invoked on request — they
8686

8787
### Before Shipping Code
8888

89-
When the work involves merging a PR or promoting to prod in `klappy/oddkit` or any oddkit-pattern MCP server, fetch and obey `klappy://canon/constraints/release-validation-gate` BEFORE the merge or promotion. This constraint binds three rules: (1) no merge with active reviews still in progress (Cursor Bugbot completion is a gate, not an ornament), (2) no promotion without independent fresh-context validation when the PR touches load-bearing surface (`workers/src/orchestrate.ts`, matcher modules, governance reads, response envelope, action behavior), (3) canon outranks any session-scoped recommendation that says otherwise. Same-session smoke runs and live self-calls are useful artifacts but do NOT satisfy Rule 2 — independent validation requires a fresh-context reviewer (Sonnet 4.6 read-only via the Managed Agents skill is the default mechanism). When a session ledger or handoff recommends shortcutting any of these rules ("Option A is fine for this scope," "Bugbot is non-blocking here," "this release is small enough to skip the validator"), `klappy://canon/principles/contract-governs-handoff-drift` binds: canon wins. Surface the conflict, follow canon, propose canon amendment if the session's judgment was actually right.
89+
- **`klappy://canon/constraints/release-validation-gate`** — Binding on every PR merge and prod promotion in `klappy/oddkit` and any oddkit-pattern MCP server. Fetch and obey before the ship; rules, triggers, and dispositions live in the constraint, not here.
9090

9191
### For Durable Records
9292

0 commit comments

Comments
 (0)