Skip to content

Commit 5db4407

Browse files
committed
docs(spec): de-hardcode four-status prose in liveness test titles and generator comment
Part of #13483 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Mciyv38maJ6HYVMiaM26T1
1 parent 44bd1a1 commit 5db4407

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎packages/spec/scripts/liveness/build-state-counts.mts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ const rows = foldStateCounts(Object.keys(types), Object.fromEntries(
113113
// The header's rule is that a RED gate is not fatal here — the gate is red
114114
// precisely when this artifact needs rewriting. This failure is the exception,
115115
// and it is the same exception the unparseable report above already carves out:
116-
// there is nothing to rewrite. The fold that produced `rows` reads four status
116+
// there is nothing to rewrite. The fold that produced `rows` reads the published status
117117
// names and drops everything else, so writing now would publish an understated
118118
// `classified` — and the gate's freshness leg would then compare those bytes
119119
// against a re-render of the SAME understated fold and call it current. A stale

‎packages/spec/scripts/liveness/check-liveness.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,7 @@ describe('check:liveness — an unrecognized ledger `status` (#13083)', () => {
907907
// real statuses are the entire population today, so an unmutated run must be
908908
// green AND must show neither heading. "Exits 0" alone would also be satisfied
909909
// by a guard wired to nothing.
910-
it('stays GREEN on the real ledgers, where every status is one of the four', () => {
910+
it('stays GREEN on the real ledgers, where every status is one of the published names', () => {
911911
const { status, output } = runGate();
912912
expect(status, output).toBe(0);
913913
expect(output).not.toContain('whose `status` is not one of');

‎packages/spec/scripts/liveness/readme-table.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ describe('reconcileStateCountTotals — the fold must not lose a property', () =
405405
classified: { object: 50, field: 66 },
406406
};
407407

408-
it('stays quiet when every property sits in one of the four published columns', () => {
408+
it('stays quiet when every property sits in one of the published columns', () => {
409409
expect(reconcileStateCountTotals(HONEST)).toEqual([]);
410410
});
411411

0 commit comments

Comments
 (0)