Repository navigation
docs: add glossary.md, and link its terms on their first use in every user page - #313
Merged
Merged
Conversation
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.
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.
Follows #306, after which every end-user page the glossary links exists.
docs/glossary.mdhas 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).docs/exceptdocs/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.changelog-json.mdcalled 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.mdcalled0.y.z"SemVer's range".install.md's "build provenance attestation" is GitHub's name for a different thing and is not linked;configuration.mdandrun-record.mdalready link "provenance" to its home inchangelog-json.md, which is the page the glossary entry links too.Verified:
provenancecases above.changelog.json, the rule-based check againstRuleBasedFaithfulnessChecker.cs, provenance againstchangelog-json.md, the draft againstGitHubReleaseNotesWriter.cs, and the fact example against a stub run, wherefeat!:became a breakingFeature.Tests: none, documentation only.