feat(release): one release stream, one version, one page per version
CHANGELOG.archied.md and CHANGELOG.archie.md were two version streams that drifted: a release that moved both components had two numbers, two pages and two tags, and a reader had to visit two files to learn what shipped. The merged history holds 65 versions from 64 archied and 34 archie sections -- 33 that both components released, 31 only archied, one only archie -- so 98 published pages become 65. A version's date is the newest of its sections' dates, and a component whose own date differs carries it on its label, because the history has two dates and the merge must not invent one. `## [Unreleased]` is not a release: it gets no page, and it stays at the top of the file. A level-two heading is where the merge could silently drop a section, so the merge is verified by content rather than by the generator: section counts per source, the merged version set against the exact union, and every source `###` title present both as a substring and, after stripping the component prefix, as an identical heading. Counting `##` headings rather than releases overcounts by one here, which is how the empty `[Unreleased]` block was caught. - newsgen reads one file and writes `docs/news/<version>.md`, the index, the canonical `releases.json`, and `docs/news/redirects.json`. The redirect table is what keeps the retired `/news/<component>/<version>/` URLs alive; it is generated beside the pages so it cannot drift from them. - release.sh takes one `--version`, keeps commit and tag (the Woodpecker pipeline that will own them does not exist yet), and exits 3 when the commit set justifies no release, so a pipeline can finish green without tagging. - The consumers of the two files follow: the deploy workflow's tag gate and release-notes extraction, the zip contents, the update check's changelog links, the packaged-path note, the docs skill, and newsgen's tests. The per-component detail survives as labelled sections inside each release, so a reader still learns whether archied or the agent changed; what goes away is the separate numbers and the separate pages.
This commit is contained in:
134 files changed
+3189
-3241
No files matched your search
@@ -47,7 +47,7 @@ Verified on 2026-09-18:
|
||||
| `docs/architecture/*.md` | Focused target decisions, active review procedure, migration inventory | Read each file's status |
|
||||
| `docs/architecture/migration-decisions.md` | `OPEN` migration inventory constrained by approved decisions | Close a question only after code-grounded review |
|
||||
| `docs/archive/` | `HISTORICAL` material | Mine rationale and failure evidence |
|
||||
| `CHANGELOG.md`, `CHANGELOG.archied.md`, `CHANGELOG.archie.md` | Component release-note index and packaged runtime inputs | Keep gateway and agent-runtime entries separate; `internal/releaseannounce` parses version headings |
|
||||
| `CHANGELOG.md` | Release stream and packaged runtime input | One file holds every release; `internal/releaseannounce` parses version headings |
|
||||
| `tools/docsgen` | Current, partial generator in nested `tools` Go module | Treat its flags and tests—not planned PRD commands—as executable truth |
|
||||
| `docs/data/generated/contracts.json` | Current working-tree `GENERATED` output | Regenerate; never edit by hand |
|
||||
| `docs/` | Repository documentation only | Nothing builds, renders, or publishes it; Markdown is the artifact |
|
||||
@@ -119,15 +119,15 @@ Distinguish evidence strength:
|
||||
|
||||
## Maintain component changelogs
|
||||
|
||||
Keep gateway behavior in `CHANGELOG.archied.md` and agent-runtime behavior in
|
||||
`CHANGELOG.archie.md`; keep `CHANGELOG.md` as their index.
|
||||
`Dockerfile.archied` copies both component files to `/usr/share/archie/`, and
|
||||
Keep every release's notes in `CHANGELOG.md`; a release is one version, and
|
||||
the components' entries are labelled sections inside it.
|
||||
`Dockerfile.archied` copies it to `/usr/share/archie/`, and
|
||||
`internal/releaseannounce.changelogSection` parses a version heading.
|
||||
|
||||
Version-heading format is settled as of 2026-09-18: both component changelogs
|
||||
use `## [1.27.0]` with no `v` prefix, `changelogSection` searches for
|
||||
Version-heading format is settled as of 2026-09-18: the changelog uses
|
||||
`## [1.27.0]` with no `v` prefix, `changelogSection` searches for
|
||||
`## [<version>]`, and `.github/workflows/deploy.yml` gates each release tag with
|
||||
`grep -q "^## \[$ver\]" CHANGELOG.<component>.md`. The earlier
|
||||
`grep -q "^## \[$ver\]" CHANGELOG.md`. The earlier
|
||||
`vX.Y.Z`-vs-`X.Y.Z` contradiction involved `.gitea/workflows/deploy.yml`, which
|
||||
was dropped (`dd9bddc2 ci: build and push images to GHCR, drop the Gitea
|
||||
workflow`), so that question is `HISTORICAL`, not `OPEN`. The remaining guard is
|
||||
|
||||
Reference in new issue
Block a user