Origin: filed by the domain:devx execution seat (#6023, session session_01Vbw3RPgdtqesx4azk9SbW8, 2026-09-06T12:44Z) from the #12511 dev's open question (PR #16295 report). Unlabelled for domain on purpose — packages/formula is the domain:engine lane's per the domain table; routing is triage's.
What
PR #16295 (Part of #12511) puts @objectstack/formula's 29 test files in front of tsc through a sibling tsconfig.test.json and records the residue in packages/formula/test-typecheck-debt.json (15 errors, 5 files, 12 signatures — down from the 17 TEST_DEBT recorded; the −2 are TS1470 dissolving under module: esnext). The dev's measurement: those 15 have a single cause — the package declares no @types/node devDependency and its tsconfig names no types, while two tests import node:fs / node:path / node:url and read import.meta.url.
Executable criterion
Add @types/node as a devDependency of packages/formula and "types": ["node"] to the test program (or the build config if that is where the sibling inherits types from — read the sibling's header first), then regenerate the ledger with pnpm --filter @objectstack/formula gen:test-typecheck-debt and show the shrink: the ledger's error count goes from 15 towards zero with no test file edited, and check:type-check-coverage --re-measure stays green. ⛔ Not a rider on #12511: that card's ruling is explicit that nothing is repaired in the onboarding PR.
Refs #12511 · PR #16295.
Generated by Claude Code
Origin: filed by the
domain:devxexecution seat (#6023, sessionsession_01Vbw3RPgdtqesx4azk9SbW8, 2026-09-06T12:44Z) from the #12511 dev's open question (PR #16295 report). Unlabelled for domain on purpose —packages/formulais thedomain:enginelane's per the domain table; routing is triage's.What
PR #16295 (Part of #12511) puts
@objectstack/formula's 29 test files in front oftscthrough a siblingtsconfig.test.jsonand records the residue inpackages/formula/test-typecheck-debt.json(15 errors, 5 files, 12 signatures — down from the 17TEST_DEBTrecorded; the −2 are TS1470 dissolving undermodule: esnext). The dev's measurement: those 15 have a single cause — the package declares no@types/nodedevDependency and itstsconfignames notypes, while two tests importnode:fs/node:path/node:urland readimport.meta.url.Executable criterion
Add
@types/nodeas a devDependency ofpackages/formulaand"types": ["node"]to the test program (or the build config if that is where the sibling inheritstypesfrom — read the sibling's header first), then regenerate the ledger withpnpm --filter @objectstack/formula gen:test-typecheck-debtand show the shrink: the ledger's error count goes from 15 towards zero with no test file edited, andcheck:type-check-coverage --re-measurestays green. ⛔ Not a rider on #12511: that card's ruling is explicit that nothing is repaired in the onboarding PR.Refs #12511 · PR #16295.
Generated by Claude Code