De-global cutover + coverage pin (engine-gated)
Goal
Move the 9 PROTOCOL rules off unconditional always-load so they load ONLY via the S3 banner per-state, and prove the window drops WITHOUT losing coverage. The @-include DECLARATION (skill-template.md §2) is preserved on every skill that consumes a moved rule — the reclassification is the fix, deleting the @-include is an operational-rule-leak.
Depends On (cross-plan)
BLOCKED-BY plans/workflow-engine-rework reversible-cutover (s-d343a923) — the cutover is the moment the engine drives /continue-roadmap so banners carry the rule slices.
Implementation Sketch
- Add
paths:scoping to each of the 9 PROTOCOL rules that removes them from unconditional harness always-load (the repo-controllable lever; the harness only conditionally loadspaths:-scoped rules). - Verify each consuming skill keeps its
## Rules consumed@-include DECLARATION intact (nooperational-rule-leak). - Measure the
/continue-roadmapserve-turn PROTOCOL-rule token reduction via the S1-extended probe. - Assert the COVERAGE PIN: each PROTOCOL rule is present at the state that needs it (paired positive test — e.g.
learning-ledgerpresent during a cure-cycle state,plan-read-disciplineduring a serve state).
Spec References
- S1 (
measure_invocation_cost.pyextension), S3 (the feeder). plans/workflow-engine-rework/content/reversible-cutover--s-d343a923.md(the engine drives/continue-roadmappost-cutover — the moment banners carry slices)..claude/rules/skill-template.md §2(@-include declaration preserved).
Work Items
- Add
paths:scoping to each of the 9 PROTOCOL rules removing them from unconditional always-load - Verify every consuming skill’s
@-include DECLARATION is preserved (nooperational-rule-leak) - Measure the serve-turn PROTOCOL-rule token reduction via the S1-extended probe (vs the S1 baseline)
- Assert the coverage pin — each PROTOCOL rule present at its needed state (paired positive tests)
Test strategy / acceptance
Pin: serve-turn PROTOCOL-rule tokens drop below the S1 baseline. Coverage pin (green): every PROTOCOL rule resident at the state that needs it. Negative pin: a rule removed from always-load AND absent from its state’s mapping fails coverage. ENGINE-GATED (needs the post-cutover engine driving /continue-roadmap).