fix(quality): enumeration guard sees naming, not comments — F1/F2/F3 from 20155
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
F1 (demonstrated defect): surface 2 was a regex over raw YAML text, so a commented-out ci.yml invocation still counted as enumerated — #1017's own failure mode reproduced inside the fix, in the most common disable path there is. Comment lines are now skipped before matching; needles n8/c4 pin both polarities (a comment is not enumeration; a comment naming an absent path raises no false stale-enumeration). The residual trailing- comment limit is documented where the grep lives. F2 (structural): the guard was link [0] of the six-hop pnpm chain it guards, so severing that chain silenced guard and guarded together. ci.yml now invokes it directly from the sanitization step too — reachable from both surfaces it audits, so either path alone keeps one instrument running. F3 (vocabulary): failure line and header said 'reachable'; F1/F2 prove the guard measures NAMING. It now says 'enumerated' everywhere, matching the success line. Needles: 14 passed / 0 failed. Real tree: population 44, enumerated 25, excluded (signed) 19, surfaces 38, unchanged — F2's line adds redundancy, not membership. F1 demo replayed against the fix: commenting out test-install-migration.sh now fails loud (UNENUMERATED, rc=1). Written-by: pepper (sb-it-1-dt) Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01NsKce8iZuSuRnu3gVMCBKB
This commit is contained in:
co-authored by
Claude Fable 5
parent
f7dd57bc10
commit
1cc41f9813
@@ -41,6 +41,11 @@ steps:
|
||||
# (Constitution + dispatcher + each RUNTIME.md slice). See DESIGN §7 / R9.
|
||||
- bash packages/mosaic/framework/tools/quality/scripts/check-resident-budget.sh --self-test
|
||||
- bash packages/mosaic/framework/tools/quality/scripts/check-resident-budget.sh
|
||||
# Test-membership guard (#1017): also first link of test:framework-shell.
|
||||
# Invoked from BOTH surfaces it audits (F2, PR #1018) — the guard is link
|
||||
# [0] of the pnpm chain, so severing that chain would silence it together
|
||||
# with everything it guards; this direct line keeps one instrument running.
|
||||
- bash packages/mosaic/framework/tools/quality/scripts/check-test-enumeration.sh
|
||||
|
||||
# Blocking gate (#791): a framework upgrade must never write or delete an
|
||||
# operator-owned path. The HARD GATE proves an unanticipated operator sentinel
|
||||
|
||||
Reference in New Issue
Block a user