release recipe: publish the changelog from the tag plus main's two files
Final review: 10a syncs from the release tag, which predates the changelog 10b lands, so 10b now overlays changelog.json and changelog-links.json from main onto the tag before syncing. The 10a and 10b items now nest under step 10.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+2
−2
README.md+2 −2
CI cancelled — superseded by a newer push — run details
Intent
Attributed to this commit: 151 g CO₂e (18,136,277 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on design-docs-site, never backward from it. A turn that produced more than one commit books all of its tokens to the last one, and a concurrent session on this branch can add to the same figure. Some of it was priced using the shared default rate, because no model-specific factor row exists yet for at least one model involved. The Carbon view has the repo total, which is never derived from this attribution.
diff --git a/README.md b/README.md| index 26aeaf4bd..ad6fc2197 100644 |
| --- a/README.md |
| +++ b/README.md |
| @@ -256,8 +256,8 @@ A release is a `vX.Y.Z` tag on this repo plus signed binaries on [carlosframewor |
| 8. **apt.** Download the live tree, `apps/bab/apt-carlosframework/releases/<last>/site.tar.gz` from the flagship bucket, and unpack it. Add the two debs under `pool/main/c/carlos/`, and regenerate each architecture's `Packages` with `dpkg-scanpackages --multiversion`. Delete `Release`, `InRelease` and `Release.gpg`, then rebuild `Release` with `apt-ftparchive release`, passing Origin and Label `CARLOS`, Suite and Codename `stable`, the architectures and the component. Write it outside the tree first, or it lists itself. Sign `InRelease` and `Release.gpg` with the SSM key `/carlos/apt-signing-key` in a throwaway `GNUPGHOME`, set `latest.txt` to the tag, and check both signatures with `gpgv` against the tree's own keyring. |
| 9. **Ship apt.** Ship the directory and let `carlos ship` build the tarball. A hand-made tar with a leading `./` entry took apt down once. With `AWS_PROFILE=keymail` and `CARLOS_DEPLOYMENT_BUCKET` set to the flagship bucket, run `carlos ship -app apt-carlosframework -account-id bab -kind static -version vX.Y.Z-1 site/`, then `carlos promote -app apt-carlosframework -account-id bab vX.Y.Z-1 canary/apt` with `CARLOS_RELEASE_KEY` from SSM `/carlos/release-key` set for that one command. The channel is the literal `canary/apt`. |
| 10. **Docs and changelog.** Two parts. Part a is owed every release, whatever else is: until 2026-11-06 the docs sync rode on the changelog and kept being put off, and the live site showed 4 of the 10 docs pages. |
| - - **10a. Docs.** In `carlosframework/website`, run `node hack/sync-docs.mjs <checkout>` with the platform checkout at the release tag, then `npm run check`. Open and merge the PR, and ship the site the way its AGENTS.md describes. Check that carlosframework.com/docs/ lists every page in `docs/site/nav.json`. |
| - - **10b. Changelog.** In a full checkout of `main`, with `gh` and `amadan` signed in, run `git fetch origin --tags '+refs/amadan/closed/*:refs/amadan/closed/*'`, then `go run ./cmd/changelog`. Map each of the new release's bullets to the branches behind it in `docs/site/changelog-links.json`, keyed by the bullet's bold lead, and run it again. Land `docs/site/changelog.json` and the links file on a branch, then sync and ship them as in 10a, in the same ship when both are ready. The page is carlosframework.com/platform/changelog. |
| + - **10a. Docs.** In `carlosframework/website`, run `node hack/sync-docs.mjs <checkout>` with the platform checkout at the release tag, so the site shows only released behaviour, then `npm run check`. Open and merge the PR, and ship the site the way its AGENTS.md describes. Check that carlosframework.com/docs/ lists every page in `docs/site/nav.json`. |
| + - **10b. Changelog.** In a full checkout of `main`, with `gh` and `amadan` signed in, run `git fetch origin --tags '+refs/amadan/closed/*:refs/amadan/closed/*'`, then `go run ./cmd/changelog`. Map each of the new release's bullets to the branches behind it in `docs/site/changelog-links.json`, keyed by the bullet's bold lead, and run it again. Land `docs/site/changelog.json` and the links file on a branch. The release tag predates them, so publish them by syncing from a detached checkout of the tag with just those two files taken from `main`: `git checkout --detach <tag> && git checkout origin/main -- docs/site/changelog.json docs/site/changelog-links.json`, then `node hack/sync-docs.mjs <checkout>` and ship as in 10a. Restore the checkout afterwards (`git checkout <tag> -- docs/site`). The page is carlosframework.com/platform/changelog. |
| 11. **Self-host template.** In `carlos/opentofu` on amadan, on a branch from `main`, run `scripts/bump-carlos vX.Y.Z`. It checks the signature on the release's `SHA256SUMS.txt` and rewrites the hosts' pin and checksum in `modules/region/cloud-init.sh.tftpl`. Then compare the release's "For operators" notes, and any change under `infra/modules/region-host/`, with the template: a new required `host.env` key, a changed `carlos bootstrap`, or an IAM or bucket change that a new host needs goes in the same branch. Run `scripts/check`, then land it with `amadan branch merge carlos/opentofu <branch> -squash -expect <full sha> -message "<subject>"` once CI is green. Note the landed commit. |
| 12. **Self-host guide.** In `carlosframework/website`, move every pin on `src/platform/self-host/index.html` together: the CLI version in the prerequisites, the console `release_url`, the `ok vX.Y.Z` that `/healthz` returns, and the template commit after `git checkout --detach`. Copy changes go through copy review. Merge the PR and ship the site the way its AGENTS.md describes. This can be the same ship as step 10. Check carlosframework.com/platform/self-host/ shows the new version and commit. |