docs(typescript): the converted-file ledger reads 233 for engine/segment.ts #2531

Merged
jaylouisw merged 1 commit from docs/1124-0517 into main 2026-11-24 05:38:25 +00:00
Owner

What was untrue

docs/TYPESCRIPT.md said engine/segment.ts is 236 lines. The line above the table states the rule the number is supposed to follow: "Line counts are wc -l on the converted file, so they include the annotations." At this tree wc -l engine/segment.ts is 233.

Evidence

  • wc -l engine/segment.ts ? 233 (HEAD 7703e18b).
  • 53bee0cf (#2483) added the file at 236 lines and the doc row recorded that.
  • bf367cdc (#2504) changed engine/segment.ts: the file-local interface MemberSuspension was replaced by import type { MemberSuspension } from './lag' (plus the comment rewrite), a net -3 lines. That commit added the engine/lag.ts | 710 row and left the segment row still reading 236, so the ledger disagreed with the file it pins.
  • engine/link.ts (243) and engine/lag.ts (710) still match wc -l, so only this row had drifted.

The change

  • The table row now reads 233.
  • The template paragraph keeps the conversion arithmetic (130 ? 236, net 106) because that is a fact about 53bee0cf, and says why today's reading is 233: #2504 moved the MemberSuspension shape into engine/lag.ts and imported it here. Reflowed to the page's width.

Docs-only; no engine, test or catalogue file touched.

Guards

  • node scripts/syntax-check.js � 562 files (553 JS, 9 TS), all OK (unchanged).
  • docs-show-commands � 7 passed, 0 failed (89 forms / 178 commands / 114 refusals; unchanged).
  • no-form-help-key � 81 passed, 0 failed (unchanged).
  • help-completeness � 8 passed, 0 failed (16 show commands; unchanged).
  • docs-cli-transcript 9, doc-citations 11 � both green.
## What was untrue `docs/TYPESCRIPT.md` said `engine/segment.ts` is **236** lines. The line above the table states the rule the number is supposed to follow: "Line counts are `wc -l` on the converted file, so they include the annotations." At this tree `wc -l engine/segment.ts` is **233**. ## Evidence - `wc -l engine/segment.ts` ? `233` (HEAD `7703e18b`). - `53bee0cf` (#2483) added the file at 236 lines and the doc row recorded that. - `bf367cdc` (#2504) changed `engine/segment.ts`: the file-local `interface MemberSuspension` was replaced by `import type { MemberSuspension } from './lag'` (plus the comment rewrite), a net **-3** lines. That commit added the `engine/lag.ts | 710` row and left the segment row still reading 236, so the ledger disagreed with the file it pins. - `engine/link.ts` (243) and `engine/lag.ts` (710) still match `wc -l`, so only this row had drifted. ## The change - The table row now reads **233**. - The template paragraph keeps the conversion arithmetic (130 ? 236, net 106) because that is a fact about `53bee0cf`, and says why today's reading is 233: #2504 moved the `MemberSuspension` shape into `engine/lag.ts` and imported it here. Reflowed to the page's width. Docs-only; no engine, test or catalogue file touched. ## Guards - `node scripts/syntax-check.js` � 562 files (553 JS, 9 TS), all OK (unchanged). - `docs-show-commands` � 7 passed, 0 failed (89 forms / 178 commands / 114 refusals; unchanged). - `no-form-help-key` � 81 passed, 0 failed (unchanged). - `help-completeness` � 8 passed, 0 failed (16 `show` commands; unchanged). - `docs-cli-transcript` 9, `doc-citations` 11 � both green.
docs(typescript): the segment.ts row reads 233 lines, as wc -l does (#2504 shortened it)
All checks were successful
CI / Server smoke and Docker build (pull_request) Successful in 29s
CI / Typecheck (pull_request) Successful in 29s
PR rebase / Rebase onto main and arm auto-merge (pull_request) Successful in 15s
CI / Test (Node 22) (pull_request) Successful in 1m2s
CI / Test (Node 24) (pull_request) Successful in 1m5s
CI / Arm auto-merge (pull_request) Successful in 6s
172525074d
forgejo-actions scheduled this pull request to auto merge when all checks succeed 2026-11-24 05:28:52 +00:00
jaylouisw deleted branch docs/1124-0517 2026-11-24 05:38:33 +00:00
Sign in to join this conversation.
No description provided.