Repository navigation
Conversation
…nternal-doc pointer (#255) docs/loop.md is a maintainer doc in the end-user directory; it moves to docs/internal/LOOP.md and joins AGENTS.md's maintainer list. docs/HTTP-API.md loses the parenthesis that carried 0.3.0 history and pointed at docs/internal/KNOWN-PITFALLS.md (#254). src/docs-audience.test.ts guards documentation rules 1 and 2. Closes #255
…ADRs, and docs/ subdirectories Also mark docs/internal/LOOP.md as superseded by DELIVERY.md, since AGENTS.md now lists it for agents.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #255
This PR also fixes the bug in #254. That issue stays open; close it by hand after merge.
End-user docs no longer point at maintainer docs, and a test now enforces documentation rules 1 and 2.
docs/loop.mdmoves todocs/internal/LOOP.mdand joins the maintainer/agent list inAGENTS.md. Its paths are repo-root paths, so they stay correct. A new line at its top, and itsAGENTS.mdentry, say it is history and that DELIVERY.md replaces it, so an agent does not follow its stage instructions.docs/HTTP-API.mddrops the parenthesis with the 0.3.0 history and thedocs/internal/KNOWN-PITFALLS.mdpointer. The sentence before it already says renew, release and exec answer403, so users lose nothing they need.src/docs-audience.test.tschecks more than the triage proposed. It catches every link form intointernal/(inline, angle-bracket, reference-style, HTML, backticked), "ADR" and "decision record" in any case, and internal doc names in any case. It also covers.markdownand.MDfiles and subdirectories ofdocs/.Checklist
src/docs-audience.test.ts, the triage tests from docs/HTTP-API.md names docs/internal/KNOWN-PITFALLS.md #254 and docs/loop.md is an agent doc in the end-user docs directory #255. They failed on the repro branch and pass now:pnpm exec vitest run --project unit src/docs-audience.test.ts, 4 passed.pnpm checkgreen after rebasing on main: 2780 unit tests and 84 e2e tests passed.Review
Spec review: 7 findings, 3 fixed. Code review: 8 findings, 7 fixed.
Rejected:
docs/internal/, and those shapes missed reference-style, angle-bracket and HTML links..md("see KNOWN-PITFALLS") passes — the stems are ordinary words (testing, events, safety), so matching them would flag plain prose.Written by an agent.