release recipe: the docs sync is its own step, every release
Step 10 becomes Docs and changelog: 10a syncs and ships the docs every release; 10b is the changelog. Docs site Plan 1 Task 3.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+3
−1
README.md+3 −1
CI failed — run details
diff --git a/README.md b/README.md| index 20709b6c0..26aeaf4bd 100644 |
| --- a/README.md |
| +++ b/README.md |
| @@ -255,7 +255,9 @@ A release is a `vX.Y.Z` tag on this repo plus signed binaries on [carlosframewor |
| 7. **Homebrew.** In `carlosframework/homebrew-tap`, bump `Formula/carlos.rb`: the version, the four url and sha256 pairs from the published `SHA256SUMS.txt`, and the `carlos vX.Y.Z` test string. Open a PR, check each hash against the sums file, and squash-merge it. |
| 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. **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, in `carlosframework/website`, run `node hack/sync-docs.mjs <checkout>` and ship the site the way its AGENTS.md describes. The page is carlosframework.com/platform/changelog. |
| +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. |
| 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. |