From 8acb6cc28ce5d163fa41358c7e66fe62b25d6e42 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 31 Aug 2026 08:39:56 +0000 Subject: [PATCH] fix(scripts): list the 17th error in @objectstack/formula's TEST_DEBT note The entry's per-code tally read TS2591 x6 + TS2345 x3 + TS2352 x3 + TS1470 x2 + TS2339 x2 = 16 above a field recording 17. Re-measured through the gate's own measureTestDebt at cc837dbfec with the package's closure built: it measures 17, so the count was right and the tally was one line short. The unlisted one is TS2739 x1 at src/cel-to-filter.test.ts(173,52), where the local ok() helper pins its second argument to the exact shape of the module-level VARS. COMPOSITION reads tier itemisations and never sums per-code tallies, so nothing mechanical read the gap. No count moves, no baseline moves. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01Pk26oZ12t5N1hwGW1m1MgC --- scripts/check-type-check-coverage.mjs | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/scripts/check-type-check-coverage.mjs b/scripts/check-type-check-coverage.mjs index 9952d97063..6443bb68a9 100644 --- a/scripts/check-type-check-coverage.mjs +++ b/scripts/check-type-check-coverage.mjs @@ -1087,7 +1087,18 @@ const TEST_DEBT = { + 'still import. One older claim is now false and is corrected rather than carried: ' + 'src/validate-visibility-predicates.test.ts held 10 of the 32 and reports none today.', }, - '@objectstack/formula': { errors: 17, note: 'TS2591 x6 (`process`), TS2345 x3, TS2352 x3, TS1470 x2, TS2339 x2. Re-measured 17 at 5ab08428, up from 12; the TS2591 half doubled, which is the missing `types:["node"]` again rather than five new defects.' }, + '@objectstack/formula': { + errors: 17, + note: 'TS2591 x6 (`process`), TS2345 x3, TS2352 x3, TS1470 x2, TS2339 x2, TS2739 x1. Re-measured 17 ' + + 'at 5ab08428, up from 12; the TS2591 half doubled, which is the missing `types:["node"]` again ' + + 'rather than five new defects. The TS2739 was inside that 17 from the start and simply went ' + + 'UNLISTED, so this tally read 16 over a field of 17 until #13631 re-measured 17 at cc837dbfec ' + + 'and restored it -- COMPOSITION reads tier itemisations and does not sum per-code tallies, so ' + + 'nothing mechanical read the gap. It is the only one of the 17 in `src/cel-to-filter.test.ts` ' + + '(173,52), where the local `ok()` helper pins its second argument to the exact shape of the ' + + 'module-level `VARS` and a partial context cannot satisfy it; the same file already carries a ' + + 'hand-widened copy of that helper (`filterOf`) written for exactly that reason.', + }, '@objectstack/verify': { errors: 3, note: 'TS2835 x3 -- `harness.host-resolution`, `harness.posture-only` and `harness.posture` each '