Skip to content

Commit 02b1bdc

Browse files
committed
fix(verify): drop gen:test-typecheck-debt — zero residue declares no generator
`check:merge-driver` requires every manifest generator to carry a merge disposition in `scripts/regen-artifacts.mjs`, and #14062's note there refuses to invent one for a ledger that does not exist. The pairing is 1:1 across all 30 sibling configs: 16 with a `test-typecheck-debt.json` declare the generator, 14 without one declare nothing. `check:test-typecheck` is what names the project, and it stays. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01D47qPfEWVPmhguWgBZCi5N
1 parent c7d5e1d commit 02b1bdc

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

packages/verify/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@
2323
"dev": "tsc -w",
2424
"test": "vitest run",
2525
"typecheck": "tsc --noEmit && pnpm check:test-typecheck",
26-
"check:test-typecheck": "tsx ../../scripts/check-test-typecheck.mts --self-test && tsx ../../scripts/check-test-typecheck.mts --package packages/verify --project tsconfig.test.json",
27-
"gen:test-typecheck-debt": "tsx ../../scripts/check-test-typecheck.mts --update --package packages/verify --project tsconfig.test.json"
26+
"check:test-typecheck": "tsx ../../scripts/check-test-typecheck.mts --self-test && tsx ../../scripts/check-test-typecheck.mts --package packages/verify --project tsconfig.test.json"
2827
},
2928
"dependencies": {
3029
"@objectstack/core": "workspace:*",

packages/verify/tsconfig.test.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,18 @@
4343
// 10 files ever gains is red on arrival. 14 of the 30 sibling configs are in
4444
// that same state. This layer also holds ZERO `@ts-expect-error` directives
4545
// (grepped with a positive control -- the same grep hits `packages/spec/src`),
46-
// so no pin was silently dead here; what the gap cost was the other half. The `@objectstack/verify` TEST_DEBT entry in
46+
// so no pin was silently dead here; what the gap cost was the other half.
47+
//
48+
// ⛔ AND THEREFORE NO `gen:test-typecheck-debt` SCRIPT EITHER. That pairing is
49+
// 1:1 across all 30 sibling configs -- 16 with a ledger declare the generator,
50+
// 14 without one declare nothing -- and it is enforced rather than stylistic:
51+
// `check:merge-driver` requires every manifest generator to carry a merge
52+
// disposition in `scripts/regen-artifacts.mjs`, and #14062's note on that file
53+
// refuses to invent one for a ledger that does not exist. Measured here: adding
54+
// the script alone reds that gate ("generator(s) with NO recorded merge
55+
// disposition: gen:test-typecheck-debt [@objectstack/verify]"). If this layer
56+
// ever measures non-zero, the ledger, the generator and its regen-artifacts row
57+
// arrive together, in that one PR. The `@objectstack/verify` TEST_DEBT entry in
4758
// `scripts/check-type-check-coverage.mjs` graduates in this same PR: it recorded
4859
// TS2835 x3 for three extension-less `./harness` imports, and with those three
4960
// given their `.js` the gate re-measured the entry at 0 ("TEST_DEBT records 3,

0 commit comments

Comments
 (0)