Skip to content

docs(claude-code): link the statusline segment details instead of restating them - #3576

Merged
max-sixty merged 1 commit into
mainfrom
statusline-help-in-docs
Jul 24, 2026
Merged

max-sixty merged 1 commit into
mainfrom
statusline-help-in-docs

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

The ## Statusline section of claude-code.md paraphrased three facts that the wt list statusline reference already owns:

Fact claude-code.md said src/cli/list.rs says
Pace maths "1.4× the pace that would exactly fill that window, coloured by how much of it would be spent locked out at the cap" "2.9× the pace that would exactly fill that window… colour deepens with severity as the forecast lockout grows"
Link degradation "clickable links where the terminal supports them, plain text where it doesn't" "Both links are OSC 8, which a terminal that doesn't support them discards"
CI fetch latency "runs it in the background… 1–2 second CI fetch invisible" "reach the network for a second or two, so it fits a statusline the host renders in the background"

#3568 removed the near-verbatim copies from this section but left these paraphrases behind, which is arguably the worse state: two wordings of one fact drift apart independently, and a reader can't tell whether they're the same claim or two different ones.

What stays

The cut isn't to zero. The page shows an example line, so it needs enough gloss for a reader to parse the line in front of them — a bare pointer would make the section a stub. It keeps one sentence naming what the stdin JSON contributes, with "how the links behave" folded into the pointer that was already there.

The latency clause also stays, though it is the third duplicated fact. Without it the opening paragraph only restates the command name, and it is the one "why" that justifies the settings.json block below it.

Side effect

This leaves the OSC 8 wording in src/cli/list.rs as the single home for the link behaviour. A precise term earns its place in an exhaustive --help reference and grated on an end-user integration page — so the jargon was really a symptom of the fact living in two places.

Docs-only. Mirrors regenerated by test_docs_are_in_sync; zola build clean (14 pages, anchors resolve).

This was written by Claude Code on behalf of Maximilian Roos

🤖 Generated with Claude Code

…tating them

The statusline section paraphrased three facts the `wt list statusline`
reference already owns: the pace multiplier and its colouring, how the CI and
dev-server links degrade, and the CI fetch latency. Paraphrase is worse than a
verbatim copy here — two wordings of one fact drift apart, and a reader can't
tell whether they're the same claim.

The page keeps what a reader needs to parse the example line in front of them
and to turn the statusline on; "how the links behave" folds into the pointer
that was already there. The latency clause stays: it's the one "why" that
justifies the setup below it.

This leaves the OSC 8 wording in `src/cli/list.rs` as the single home for the
link behaviour, where the precise term belongs.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@max-sixty
max-sixty merged commit 4549715 into main Jul 24, 2026
38 of 39 checks passed
@max-sixty
max-sixty deleted the statusline-help-in-docs branch July 24, 2026 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants