Skip to content

docs: add glossary.md, and link its terms on their first use in every user page - #313

Merged
goldbarth merged 1 commit into
mainfrom
docs/glossary
Oct 1, 2026
Merged

goldbarth merged 1 commit into
mainfrom
docs/glossary

Conversation

@goldbarth

Copy link
Copy Markdown
Owner

Follows #306, after which every end-user page the glossary links exists.

  • Why: the pages use a handful of terms Chartula gives a precise meaning - fact, fact base, audience, rendering, claim, flag, the two checks, provenance, range, draft - and none of them was explained where a reader first meets it. Each page explained them in passing, or not at all.
  • docs/glossary.md has one entry per term, alphabetical so a term is found by name: what it means, an example where the term is not self-evident, and a link to the page that explains it in full, so the glossary restates nothing. Entries link each other where one term builds on another (a flag is a claim the checks could not back).
  • Every end-user page links each term on its first use in the text, the README and all of docs/ except docs/development/. Headings, code blocks, inline code and existing link texts are left alone, so a link never lands in a heading or inside another link.
  • One meaning per term. Three places used a term in a second sense and are reworded instead of linked: changelog-json.md called a change's breaking and user-visible fields "flags"; the README called the whole output "a draft" twice, where a draft is the GitHub release; versioning.md called 0.y.z "SemVer's range".
  • Left as they are, on purpose: install.md's "build provenance attestation" is GitHub's name for a different thing and is not linked; configuration.md and run-record.md already link "provenance" to its home in changelog-json.md, which is the page the glossary entry links too.
  • README: the glossary joins the "Reference" index.

Verified:

  • A script lists, for every end-user page, each glossary term it uses outside code; every one has a link to its entry, except the provenance cases above.
  • Every relative link and anchor in all Markdown files of the repository resolves (script, with a negative test).
  • Each definition was checked against the code or the page it links: the fact's fields against the fact base and changelog.json, the rule-based check against RuleBasedFaithfulnessChecker.cs, provenance against changelog-json.md, the draft against GitHubReleaseNotesWriter.cs, and the fact example against a stub run, where feat!: became a breaking Feature.

Tests: none, documentation only.

@goldbarth goldbarth self-assigned this Oct 1, 2026
@goldbarth
goldbarth merged commit 8816ca4 into main Oct 1, 2026
4 checks passed
@goldbarth
goldbarth deleted the docs/glossary branch October 1, 2026 14:09
goldbarth added a commit that referenced this pull request Oct 1, 2026
… a real example each (#314)

Follows #306 and #313: `outputs.md` is the home of what each output file
is for, and the glossary explains the terms, so the two schema pages can
stop doing either.

- **Why:** `changelog-json.md` and `run-record.md` opened on purpose,
publishing and `.gitignore` advice that `outputs.md` and
`costs-and-checks.md` also give, repeated enum values that live
elsewhere, and showed examples no run writes: the `changelog.json`
example had a literal `+` in `toolVersion`, and the run record example
was invented (`owner/repo`, a shortened hash).
- **`changelog-json.md` is the schema only.** The opening links
`outputs.md` for what the file is for; the field rows link their home
instead of repeating it (the title fallback, the seven categories,
visibility, breaking, linked issues, `llm.provider`, `thinking`).
- **New "The renderings"** says what a consumer gets: Markdown with a
`###` heading per group and one line per entry; no release heading and
no front matter, so the customer description is not in the file; an
empty string when the release has nothing for an audience; `<` escaped
as `\<`; the product rendering only here. Each was checked against
`RenderingComposer.cs`, `ReleasePipeline.cs` and the stub run of #306.
- **New "Reading it with `jq`"**, with two commands and their real
output, and the filters for breaking and user-visible changes.
- **#226 as a known issue**, with what the real files escape: `+`,
quotes, apostrophes, backticks, `<`, `>` and every non-ASCII character.
#226 names fewer; the run record of this PR shows all of them.
- **`run-record.md` is the schema only.** "What it is not" and "When it
is written" are gone: file naming, never published, `.gitignore`, and
committing it only in an evaluation repository moved to `outputs.md`
"The run record", which owns the output files. The flag rule is one
sentence for when a flag has a `pullRequest` and one for when it has
none. One sentence before the metrics table says that `rephrase` and
`faithfulnessCheck` count calls while `ruleBasedCheck` and
`thoroughCheck` count findings. The notes on older versions are
collected under Stability.
- **`changelog.json`'s history paragraph moved** from its intro to
`outputs.md` ("one file is one release notification"), next to the rest
of what the file is for.

**Verified:**
- Both examples are byte for byte what one real run wrote: `generate
--no-publish --tag v0.1.0-preview.3` on this repository with the binary
from `main`, `gpt-6-sol`, thinking disabled, on 2026-10-01 (17,904
tokens, no flags). The run record shows one of its six facts; everything
else is unchanged, and both blocks parse as JSON.
- The `jq` outputs are from the same file; `select(.breaking)` and
`select(.userVisible)` were run on it too.
- Every relative link and anchor in all Markdown files of the repository
resolves (script, with a negative test); the anchors other pages link
into (`#provenance`, `#change-entry`, `#stability`, `#facts`,
`#metrics`, `#schema`) are kept.

Tests: none, documentation only.
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