Skip to content

docs: split versioning.md into the promise for users and releasing.md for maintainers - #304

Merged
goldbarth merged 1 commit into
mainfrom
docs/versioning-releasing
Sep 30, 2026
Merged

goldbarth merged 1 commit into
mainfrom
docs/versioning-releasing

Conversation

@goldbarth

@goldbarth goldbarth commented Sep 30, 2026 •

Copy link
Copy Markdown
Owner

Follows #302, which made cli.md the reference the stable surfaces now link to.

  • Why: docs/versioning.md mixed a user's question (what may change, and when) with a maintainer's procedure (how a release is made), promised breaking changes "under their own heading", which no rendering does, and named "Public API" as a surface Chartula does not have. It is split: versioning.md for users, docs/development/releasing.md for maintainers.
  • versioning.md keeps the scheme, what "preview" (the label in the version) and "alpha" (the phase in prose) mean, the three exit criteria for 1.0.0, and what a breaking change costs after it. "Public API", the quick reference and the numbered sections go; the release assets move to install.md, where they already are, by link.
  • A concrete list of stable surfaces, each with its reference: CLI commands, options, defaults and exit status; configuration keys and their environment form; changelog.json and the run record by their schemaVersion; the file names; and the structure of the technical and customer renderings. The wording inside an entry and the product rendering are named as not covered, with the reason, so a tool knows to read groups and fields and not match entry text.
  • Breaking changes as the renderings show them, from GroundedFactsFactory.cs and RenderingComposer.cs: technical, first in its group with Breaking:; customer, under "What needs action", the first group, with Breaking:; product, first when categories.breakingProminent is on, without a marker.
  • releasing.md takes the procedure, in six steps, and adds what it missed: the version bump as its own build: pull request (filtered out as internal, so it never reaches its own notes); preview before generate; the settings the notes were generated with, which override the model chartula.yaml pins; reading the flags before publishing, since the draft does not mark them; committing CHANGELOG.md through a pull request as written, with the one hand edit to the note at its top, and only that file (the rest is ignored); the pull request description, with docs: add the changelog Chartula generated for 0.1.0-preview.3 #280 as the example.
  • A finding in release.yml, documented, not changed: the workflow starts only for tags matching v*-preview*, so a v1.0.0 tag would build nothing. releasing.md says the 1.0.0 release has to widen the trigger first.
  • Left for 3.1: the stable surfaces "file names" and "renderings" link to cli.md#chartula-generate until docs/outputs.md exists.
  • README: Releasing joins the "Working on Chartula" index, and the Versioning row says what the page covers now.

Verified:

  • Every rule was checked against the code or the workflow it names: the version check and the tag trigger in release.yml, the trigger and the run in install.yml, the ignore rules in .gitignore, the version sources in the csproj, the group order and markers in Core/Generation, and that a build: title is dropped as internal (a real preview on v0.1.0-preview.3 lists build: bump version to 0.1.0-preview.3 #253 as dropped).
  • The settings in step 4 are those the note in CHANGELOG.md records for 0.1.0-preview.2 and 0.1.0-preview.3, and docs: add the changelog Chartula generated for 0.1.0-preview.3 #280 describes the run.
  • Every relative link and anchor in all Markdown files of the repository resolves (script, with a negative test).

Tests: none, documentation only.

@goldbarth goldbarth self-assigned this Sep 30, 2026
@goldbarth
goldbarth merged commit f93ee87 into main Sep 30, 2026
4 checks passed
@goldbarth
goldbarth deleted the docs/versioning-releasing branch September 30, 2026 16:22
goldbarth added a commit that referenced this pull request Oct 1, 2026
…udience (#306)

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 (#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 #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.
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.

2 participants