Skip to content

Commit e37d01c

Browse files
thymikeeclaude
andcommitted
chore(gates): drop scripts/ export exemptions the production gate no longer reads
The production-exports config hides every scripts/ finding through ignoreFindings, so the per-symbol entries for resolveVitestMaxWorkers, readTestScope, ownedTestFiles and the help-conformance *_SAMPLE constants were redundant. The base check:fallow run does not need them either. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 0f2361a commit e37d01c

1 file changed

Lines changed: 3 additions & 18 deletions

File tree

‎.fallowrc.json‎

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -337,30 +337,15 @@
337337
"GatedKeysAreResolverKeys"
338338
]
339339
},
340-
{
341-
// resolveVitestMaxWorkers is consumed by vitest.config.ts — a tool config outside --production analysis.
342-
"file": "scripts/lib/vitest-concurrency.ts",
343-
"exports": ["resolveVitestMaxWorkers"]
344-
},
345-
{
346-
// Mutation-lane seam: readTestScope is consumed by vitest.mutation.config.ts, a tool config outside --production analysis.
347-
"file": "scripts/mutation/test-scope.ts",
348-
"exports": ["readTestScope"]
349-
},
350-
{
351-
// Mutation-lane completeness gate: ownedTestFiles enumerates the whole derived ownership map, which only the assertion in ownership.test.ts consumes — a production consumer would defeat the point.
352-
"file": "scripts/mutation/ownership.ts",
353-
"exports": ["ownedTestFiles"]
354-
},
355340
{
356341
// ADR 0010 shared-hint pin: the facade re-export's only consumer is src/__tests__/is-argument-surface-parity.test.ts, which asserts the daemon and CLI `is` surfaces raise the SAME hint text. The constant is live inside the package (predicates.ts raises it); a production consumer of the re-export would defeat the point, since it exists so neither surface copies the string.
357342
"file": "packages/selectors/src/index.ts",
358343
"exports": ["IS_PREDICATE_USAGE_HINT"]
359344
},
360345
{
361-
// Help-benchmark conformance seams: helpTopicIds feeds the topic-coverage gate, and the *_SAMPLE constants feed the bench sample producers (scripts/__tests__/help-conformance-sample-producers.ts); every consumer is a test-tree file outside --production analysis.
362-
"file": "{src/cli/parser/cli-help.ts,scripts/help-conformance-sample-outputs.mjs}",
363-
"exports": ["helpTopicIds", "PRIVATE_AX_RECOVERY_SAMPLE", "DEVICE_CLAIM_IN_USE_SAMPLE"]
346+
// Help-benchmark conformance seam: helpTopicIds feeds the topic-coverage gate, whose consumer is a test-tree file outside --production analysis.
347+
"file": "src/cli/parser/cli-help.ts",
348+
"exports": ["helpTopicIds"]
364349
},
365350
{
366351
// #1458: getSessionCommandKind's former production consumer (the session.ts if-chain) was replaced by SESSION_COMMAND_HANDLER_IMPLS, which encodes command-kind groupings directly via shared handler references instead of a kind lookup. The accessor and its SessionCommandKind classification remain covered by daemon-command-registry.test.ts, a test-tree file outside --production analysis.

0 commit comments

Comments
 (0)