Skip to content

docs: add outputs.md, every file a run writes and the shape of each audience - #306

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

goldbarth merged 1 commit into
mainfrom
docs/outputs

Conversation

@goldbarth

Copy link
Copy Markdown
Owner

Follows #302 and #304, which left the output list in cli.md and the stable surfaces "file names" and "renderings" pointing there until this page existed.

  • Why: what a run writes was spread over cli.md (a list of the files), the README (one sentence), architecture.md (the shape of each file and why the model does not decide it) and versioning.md (where a breaking change stands), and the shape of each audience was specified only in chartula-evals. A user could not see what a file would look like before paying for a run.
  • docs/outputs.md is the one home for the output files and the shape of each audience: a table of every output, what it is written from and when; why Chartula decides the structure and the model only the wording (The output format is left to the model #96); then each audience with its groups as a table, the reason for their order, the entry, and a real example.
  • Technical: Changed, Added, Fixed in Common Changelog's order, no Removed because no fact marks a removal; the CHANGELOG.md heading (version without v, the tag's date, never today's), what stays verbatim, and that a re-run replaces its section; the release notes as the same text without the heading, with the draft rules left to github.md.
  • Customer: the four groups by what the reader has to do, labels.actionRequired, the bold label and **Breaking:** in its place; release-<tag>.md with each front matter field, its source and when it is left out, the file name rule, and that the page is written with --no-publish too.
  • Product: one ### Other heading, why the model sorts nothing into themes, breakingProminent, no file, only rendered when named, and outside the 1.0 promise.
  • Short sections on changelog.json and the run record say what each is for and link their schema pages, which stay the reference.
  • A release with nothing to say is described as the code does it: no model call, the bare heading in CHANGELOG.md, empty release notes, no customer page. The evals template asks for a notice there instead; this page describes what exists.
  • Examples are real: technical and customer are excerpts of the gpt-6-sol run on ServiceDeskLite v1.9.0 from the model comparison (the run costs-and-checks.md already shows; GroundedFactsFactory, RenderingComposer, the composers and the prompts are unchanged since that build, except a visibility change in feat!: make preview free: show the facts and what generate would send, without a model call #292). Product is a new run on the same release with the comparison's settings, on 2026-10-01, 22,533 tokens.
  • Moved here and replaced by a link: the output list and the re-run sentence in cli.md; the two paragraphs "Every audience that has a written shape gets a file" and "The structure of a rendering is not the model's" in architecture.md, which keeps the code path (GroundedFactsFactory, RenderingComposer, the writers); the per-rendering breaking list in versioning.md, now one sentence.
  • Links: versioning.md's rows "File names" and "The technical and customer renderings" point here; getting-started.md and the README short start link here; the README index gets an Outputs row under "Understanding the output".
  • Code comments: GroundedFactsFactory.cs and CustomerPage.cs name docs/outputs.md next to the evals templates they implement. The comments in ChangelogPromptBuilder.Prompts.cs keep pointing to chartula-evals only, because they cite the rubric and the wording rules, which this page does not hold.

Verified:

  • Every structural rule on the page was run with the binary from main against a scratch repository and local GitHub and model stubs on 127.0.0.1, all three audiences: group order, **Breaking:** first, action-required under "What needs action", no reference for a commit without a pull request, ### Other for product, the tag date of an annotated and a lightweight tag, the front matter fields.
  • The release with nothing to say was run the same way: no model request reached the stub, CHANGELOG.md got ## 1.2.0 - 2026-09-09 alone, no release-v1.2.0.md, empty renderings in changelog.json.
  • Every relative link and anchor in all Markdown files of the repository resolves (script, with a negative test).
  • dotnet build without warnings; only two doc comments changed in code.

Tests: none, documentation only.

@goldbarth goldbarth self-assigned this Oct 1, 2026
@goldbarth
goldbarth merged commit 0c54028 into main Oct 1, 2026
4 checks passed
@goldbarth
goldbarth deleted the docs/outputs branch October 1, 2026 13:28
goldbarth added a commit that referenced this pull request Oct 1, 2026
Follows #306, which documented the empty release as it is, and #307,
which joined the Launch milestone after it.

- **Why:** "Now: the launch" lists every open issue of the Launch
milestone, each as what it changes for a user. #307 was missing, so the
page no longer named the whole launch scope.
- **One line, in the page's wording:** what a user gets (a release with
nothing for developers says so in `CHANGELOG.md` and its release notes),
what it replaces (an empty heading and empty notes), and the link. It
stands with the other code changes, above the documentation point.
- **No known limitation names it,** so the line names none.

**Verified:**
- The open issues of the Launch milestone are #210, #211, #226 and #307
(GitHub API), and the page now links each of them.

Tests: none, documentation only.
goldbarth added a commit that referenced this pull request Oct 1, 2026
… user page (#313)

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 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.
goldbarth added a commit that referenced this pull request Oct 1, 2026
…d writes (#323)

Follows #318, which gave ADR 0003 its record of the provider-host
refusal (#235), and #306, which made `outputs.md` the home of what each
file holds.

- **Why:** SECURITY named the line between repository content and the
operator's credentials as the part worth protecting, but did not say
where that line runs or link the decision that draws it. A reporter
could not tell from it what a run sends to the model provider, what it
writes to GitHub, or what a published `changelog.json` holds, which is
what decides whether a finding crosses the line.
- **"The trust boundary"** links ADR 0003 and states its four rules in a
sentence each: endpoints and credential variable names from the
environment only, no credential from a file and no value in any output,
`https` except on this machine, and the other provider's API host
refused. A way around any of them is in scope.
- **"What a run sends and writes"** gives each destination one bullet
and links its home instead of restating it: the model provider (what a
fact holds, how often it is sent, the `title-only` depth, the local
server), GitHub (`github.md`'s table), and the disk (`changelog.json`
without descriptions, the run record that keeps them locally).
- **Scope** gains one line for pull request text that steers the model:
a known limitation, linked to the README; it becomes in scope when it
makes Chartula send a credential, run a program or publish elsewhere.

**Verified:**
- Each rule against the code: `ChartulaConfiguration` (what the
environment is read for), `EndpointUrl` (`https` except loopback),
`ProviderHost`, `EndpointNotice` and `doctor` (variables named, values
never).
- What reaches the model against `GroundedFactsFactory` (the statement
per fact) and `ThoroughFaithfulnessChecker` (facts and rendering); what
reaches GitHub against `GitHubPullRequestReader` and
`GitHubReleaseNotesWriter`.
- Private vulnerability reporting is enabled on the repository, so the
report link works.
- Every relative link and anchor in all Markdown files of the repository
resolves (script, with a negative test).

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