Skip to content

docs(site): state the shape a tutorial keeps and what a shown request proves - #919

Open
jeremi wants to merge 2 commits into
mainfrom
docs/style-guide-tutorial-shape
Open

docs(site): state the shape a tutorial keeps and what a shown request proves#919
jeremi wants to merge 2 commits into
mainfrom
docs/style-guide-tutorial-shape

Conversation

@jeremi

@jeremi jeremi commented Sep 7, 2026

Copy link
Copy Markdown
Member

Rules the two BReg tutorial rewrites in #918 needed and the style guide did not yet state.

  • A tutorial keeps a command or a line to check on every screen; inventories go to reference, models to explanation, and a public quickstart the reader knows is a fair shape benchmark.
  • A request shown on a page was sent as written to a running instance; a body inferred from a schema is a guess.
  • When a change alters what a command prints, every page quoting that command is in scope.
  • The generated CLI reference is draft on the unreleased docset, so current pages send readers to --help instead of linking into it.
  • Writing review gains a seventh question that measures shape.

Vale and markdownlint pass. Prose only, no page content changed.

… proves

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 7, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-07T17:41:09.582765Z b955ead New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7787ed6513

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/site/AGENTS.md
@jeremi
jeremi enabled auto-merge (squash) September 7, 2026 17:35
@jeremi
jeremi disabled auto-merge September 7, 2026 17:35

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b955ead8ca

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

- For keyboard shortcuts, use backticks: `Ctrl+C`. Inline HTML, including `<kbd>`, fails the markdownlint gate (MD033).
- Show output only if you ran the command and read what came back. An unobserved transcript is a claim without evidence, and Principle 2 applies to it exactly as it applies to prose. If you cannot run the command, write a sentence for what happens instead: "the command prints the key ID and exits 0".
- Never invent a banner, a log line, a progress message, or a version string. If nobody has seen the software print it, it is not output.
- A request the page shows was sent as written, at that path and with that body, to a running instance that answered with the status the page names. A body inferred from a schema is a guess: the envelope, the field casing, and the query parameters are exactly what a schema does not tell you.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Permit substitutions in replayed request examples

For any request containing the required <placeholder>, example.com, or fake token from lines 145-146, the literal request shown cannot have been sent “as written” to a running instance. This makes the new verification rule impossible to satisfy without either exposing real values or making a false replay claim; require the displayed request shape and body to have been tested while allowing clearly documented substitutions for redacted or reader-supplied values.

Useful? React with 👍 / 👎.

- Link into another page's section when the reader wants that section and not the page: a procedure they were sent to perform, a definition they were sent to check. Link to the page itself when they need its context to make sense of the part. `check-built-links` resolves every fragment against the built page, so a renamed heading fails the build rather than dropping the reader silently at the top.
- Link to upstream standards bodies first, then to mirrors or summaries.
- Pin links to code to a release tag (`v0.8.3`) or a commit SHA, never a branch, when the claim depends on the code state.
- The generated CLI reference under `reference/cli/` is `draft: true` on the unreleased docset and is published from release archives only, so a current page must not link into it: `check-built-links` fails the build. Send the reader to `<command> --help` instead.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Anchor the CLI publication claim in repository evidence

This adds factual source-repository assertions about the generated pages' draft state, archive-only publication, and the exact failure behavior of check-built-links, but provides no evidence anchor for any of them. Because this sentence becomes binding guidance for all current pages, an implementation or publication change can leave authors following a stale rule without the evidence check detecting it; cite the relevant metadata and archive/link-check implementation, or mark the unsupported part with TODO[evidence] and weaken it.

AGENTS.md reference: docs/site/AGENTS.md:L27-L30

Useful? React with 👍 / 👎.

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