Skip to content

Docs: a callout is recognised by its shape, not by one exact phrase - #48

Merged
andyroberts2 merged 1 commit into
mainfrom
docs/callout-marker-and-readme-typos
Aug 27, 2026
Merged

Docs: a callout is recognised by its shape, not by one exact phrase#48
andyroberts2 merged 1 commit into
mainfrom
docs/callout-marker-and-readme-typos

Conversation

@andyroberts2

Copy link
Copy Markdown
Owner

main is red: the README rename in 1f17347 turned the two load-bearing callouts into **Important** and **See**, and TestTheKnownLoadBearingLinesAreMarkedInPlace grepped for the literal marker load-bearing documentation.

The test change

calloutsIn now recognises a callout two ways — the class's own marker, or a bold blockquote lead-in that names an issue in this repository. The two properties the suite can actually decide are that the line is visibly called out and that the decision behind it is reachable; both hold for the renamed callouts, whichever word they open with. The exact wording of the lead-in is prose, and checking it made an editing pass a test failure.

It is eased, not disabled. Verified on a scratch copy: stripping the #16 link from the Headless Sync callout, or deleting the never-list callout, still fails the test.

The README

Four typos from the same edit that no test can see: an dbuilds, doesn't pushe, the Does obsync fi your use case? heading, and trailing whitespace on five wrapped lines. No prose was otherwise rewritten.

Verification

go test -race ./..., go vet ./... and gofmt -l all clean, run in golang:1.25-bookworm as a non-root user.

Not addressed here

The same commit deleted the body of the Headless Sync warning — the conflict-copies explanation, the pointer to docs/operations.md#when-something-else-is-writing-the-vault, and "Never cut this warning" — along with the "Nothing is published yet" and "Status" sections. No test covered that body, so this PR neither restores it nor hides its absence; the warning is now its headline sentence alone.

🤖 Generated with Claude Code

The README's two load-bearing callouts were renamed to **Important** and
**See** in 1f17347, and TestTheKnownLoadBearingLinesAreMarkedInPlace went
red: it grepped for the literal marker "load-bearing documentation".

What §11 asks of one of these lines is that it stand in front of the reader
visibly and that the decision behind it be reachable. Both are still true of
the renamed callouts, and both are things the suite can decide. The exact
wording of the lead-in is not, so calloutsIn now recognises a callout two
ways: the class's own marker, or a bold blockquote lead-in naming an issue
in this repository. An editing pass over a document's prose is no longer a
test failure; deleting the callout, or the ticket in it, still is.

Also fixes four typos the suite cannot see, in the same README edit:
"an dbuilds", "doesn't pushe", the "Does obsync fi your use case?" heading,
and trailing whitespace on five wrapped lines.

Co-Authored-By: Claude Opus 5 <[email protected]>
@andyroberts2
andyroberts2 merged commit 4a126dc into main Aug 27, 2026
4 checks passed
@andyroberts2
andyroberts2 deleted the docs/callout-marker-and-readme-typos branch August 27, 2026 15:11
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.

1 participant