Skip to content

Commit 464fe41

Browse files
committed
docs(tooling): rewrite metadata's DEBT note to its measured composition
`DEBT['@objectstack/metadata']` recorded `errors: 89` while its own note itemised 34 + 24 + 34 = 92 and stated "Re-measured 92 at 5ab0842". The entry was evidently lowered 92 -> 89 without the note being rewritten alongside it, the same class PR #10721 just repaired for `@objectstack/service-automation`. Prose only. `errors: 89` is unchanged -- re-measured at 4b84834 against a built dependency closure, the package reports exactly 89. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DdCnBGcHeufjrq7drTD3wt
1 parent 4b84834 commit 464fe41

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

‎scripts/check-type-check-coverage.mjs‎

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -410,10 +410,18 @@ const DEBT = {
410410
},
411411
'@objectstack/metadata': {
412412
errors: 89,
413-
note: 'code-tier 34 (TS2345 x30, TS2322 x4); config-tier 24 (TS2835); noise 34 (TS7006 x33, TS6133). '
414-
+ 'Re-measured 92 at 5ab08428, up from 87. Composition moved as well as the count: the note used to '
415-
+ 'name TS2353, which is gone, and TS2322 has taken its place. Two thirds of the pile sits in '
416-
+ 'metadata.test.ts (34) and register-notifies-watchers.test.ts (16).',
413+
note: 'code-tier 30 (TS2345 x30); config-tier 25 (TS2835 x25); noise 34 (TS7006 x33, TS6133). '
414+
+ 'Re-measured 89 at 4b84834a32, DOWN from 92 at 5ab08428 -- itself up from 87, so this entry has '
415+
+ 'now drifted both ways. Against the composition recorded here at 92 the delta is attributable '
416+
+ 'tier by tier: code-tier lost the 4 TS2322 (-4), config-tier gained one TS2835 (+1), noise did '
417+
+ 'not move. TS2353 then TS2322 have each passed through the code tier and left; TS2345 x30 is its '
418+
+ 'only lasting resident. Read the 89 as three mechanical repairs, not 89 problems: all 30 TS2345 '
419+
+ 'are one defect thirty times over, in metadata.test.ts between 608 and 945, every one the same '
420+
+ 'mock PluginContext literal missing registerServiceFactory and getServiceScoped, so one shared '
421+
+ 'fixture closes the code tier outright; the 25 TS2835 are the widest spread (12 files) and are '
422+
+ 'one codemod, a relative import wanting an explicit .js extension under node16 resolution. '
423+
+ 'metadata.test.ts (34) and register-notifies-watchers.test.ts (16) do still hold 50 of the 89, '
424+
+ 'but that is over HALF -- the "two thirds" claimed here was true at neither 92 nor 89.',
417425
},
418426
'@objectstack/metadata-protocol': {
419427
errors: 63,

0 commit comments

Comments
 (0)