Development record
The tree holds four hand-written longest-run counters for backtick or tilde runs: termsafe's private longestBacktickRun (internal/termsafe/prose.go), internal/core/history/reconstruct_render.go, internal/core/capture/promote.go's codeSpan, and the override fence writer in internal/core/rules (landing with the cut-2 installer branch). The one-canonical-primitive principle forbids a third copy; each is correct today, and each is allowlisted in the code-span canonical test rather than routed through one helper.
issueopenminoriss-2610140739284100
The tree holds four hand-written longest-run counters for backtick or tilde runs: termsafe's private longestBacktickRun (internal/termsafe/prose.go), internal/core/history/reconstruct_render.go, internal/core/capture/promote.go's codeSpan, and the override fence writer in internal/core/rules (landing with the cut-2 installer branch). The one-canonical-primitive principle forbids a third copy; each is correct today, and each is allowlisted in the code-span canonical test rather than routed through one helper.
Frontmatter
| id | iss-2610140739284100 |
|---|---|
| type | issue |
| lifecycle | open |
| severity | minor |
.abcd/work/issues/open/iss-2610140739284100-four-longest-run-counters-want-one.md
open on GitHub ↗ · commit history ↗