Skip to content

Commit 860c077

Browse files
committed
fix(tooling): record the bare-root verdict for the ObjectQL double-limit gate
REFUSE-UNSPELLABLE: the gate walks packages/ but admits *.test.ts only (2696 of 5161, 52%). packages/** is the only spellable claim and covers 2465 non-test files the gate never opens; every narrower glob collapses to packages//.test.ts and covers 0 of 2696. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015ahemw8RcTgqtxrj15PEZx
1 parent da89cf7 commit 860c077

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

scripts/pm/bare-root-worklist.mjs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,21 @@ const TRIAGE = new Map([
206206
verdict: 'REFUSE-UNSPELLABLE',
207207
why: 'test files only, 2510 of 4903 (51%)',
208208
}],
209+
['check:objectql-double-limit SCAN_ROOT packages', {
210+
verdict: 'REFUSE-UNSPELLABLE',
211+
why: 'test files only — the walk admits `*.test.ts` and nothing else, 2696 of 5161 (52%), the '
212+
+ 'same file-KIND filter as its check:where-matcher and check:examples-live-imports '
213+
+ 'neighbours above and refused alike. Measured rather than assumed, in both directions: the '
214+
+ 'only spellable claim, `packages/**`, covers all 2696 test files AND all 2465 non-test '
215+
+ 'files under the root, so it would name this gate for 2465 files it never opens — the '
216+
+ 'costlier error, since a find double can only land in a test file. Nothing narrower is '
217+
+ 'spellable: every glob form of the real population collapses to a malformed '
218+
+ 'double-separator prefix (`packages/**/*.test.ts` -> `packages//.test.ts`) that hintCovers '
219+
+ 'matches against 0 of 2696, so a narrow declaration would not be a precise hint but a live '
220+
+ 'hint covering nothing. No narrower SUBTREE exists either — the corpus is spread over 28 '
221+
+ 'second-level directories, and 274 of the 2696 sit outside any `src` segment, so even the '
222+
+ 'check:runner-env-posture `src`-segment shape would be false here as well as uncollapsible',
223+
}],
209224
['check:i18n-coverage EXAMPLES_DIR examples', {
210225
verdict: 'REFUSE-UNSPELLABLE',
211226
why: 'one named config file per child directory — 3 of 238 (1.3%)',

0 commit comments

Comments
 (0)