Skip to content

Commit da18113

Browse files
committed
chore(scripts): witness the generated copies of the 12966/4997 measurement sentence in check:future-spec-major
From protocol 18 on, gen:spec-changes projects step 18's semantic entries into the per-major 17 -> 18 record and the aggregate record (spec-changes.json, two copies) and gen:upgrade-guide renders them into the Protocol 17 -> 18 section (protocol-upgrade-guide.md, one copy). The registry.ts measurement entry's evidence sentence travels with them, so its "@objectstack/spec 4997" count is quoted three more times. Two kind 'measurement' ledger entries with the same witness regex and exact covers counts; the matcher, the path scope and the recorded rationale are unchanged. Claude-Session: https://claude.ai/code/session_01LAi5BVvQNiYzepSAcsoFLK Co-authored-by: Claude <noreply@anthropic.com>
1 parent 23e9e30 commit da18113

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

‎scripts/check-future-spec-major.mjs‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,29 @@ const QUOTATION_EXEMPTIONS = Object.freeze([
347347
'The same recorded evidence sentence, in the registry that carries the '
348348
+ 'semantic entry above. A count, not a version.',
349349
},
350+
{
351+
file: 'packages/spec/spec-changes.json',
352+
major: 4997,
353+
kind: 'measurement',
354+
covers: 2,
355+
witness: /controls objectstack 12966 and @objectstack\/spec 4997 on the same corpus/,
356+
why:
357+
'The generated copies of that same semantic entry\'s evidence sentence: '
358+
+ '`gen:spec-changes` projects step 18\'s semantic entries into the '
359+
+ 'per-major 17 → 18 record and into the aggregate record, once each, '
360+
+ 'from protocol 18 on. A count, not a version.',
361+
},
362+
{
363+
file: 'docs/protocol-upgrade-guide.md',
364+
major: 4997,
365+
kind: 'measurement',
366+
covers: 1,
367+
witness: /controls objectstack 12966 and @objectstack\/spec 4997 on the same corpus/,
368+
why:
369+
'The generated copy of that same semantic entry\'s evidence sentence: '
370+
+ '`gen:upgrade-guide` renders step 18\'s semantic entries into the '
371+
+ 'Protocol 17 → 18 section from protocol 18 on. A count, not a version.',
372+
},
350373
{
351374
file: 'docs/adr/0021-analytics-dataset-semantic-layer.md',
352375
major: 6526,

0 commit comments

Comments
 (0)