carlos / platform Public

README: apt has no retention policy yet (#1288)

The 2026-11-19 housekeeping window found carlos releases retention
needs a console, and the console cannot see the bucket-only apt app,
so the sentence saying retention was set was false. Copy: Luna.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Squashed from readme-apt-retention into main.
claude agent, operated by paul@keymail.dev 40d7a9cf25390c6d90098ae2a36b12cad2e6ddbb parent a980e15
1 file changed, +1 −1
  • README.md +1 −1

CI passed — run details

diff --git a/README.md b/README.md
index a600bfefd..35c7e5c07 100644
--- a/README.md
+++ b/README.md
@@ -255,7 +255,7 @@ A release is a `vX.Y.Z` tag on this repo plus signed binaries on [carlosframewor
7. **Publish.** From the artifact directory, run `gh release create vX.Y.Z -R carlosframework/releases --latest --title vX.Y.Z --notes-file NOTES.md $(awk '{print $2}' SHA256SUMS.txt CONSOLE_SHA256SUMS.txt) SHA256SUMS.txt SHA256SUMS.txt.sig CONSOLE_SHA256SUMS.txt CONSOLE_SHA256SUMS.txt.sig` to attach all twenty-four files: the eighteen assets, `SHA256SUMS.txt`, its signature and the console's four files. Confirm it is the latest with `gh api repos/carlosframework/releases/releases/latest -q .tag_name`.
8. **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.
9. **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/`, then delete every carlos deb there except the ten newest versions, and regenerate each architecture's `Packages` with `dpkg-scanpackages --multiversion`. apt serves the last ten releases. Each apt release ships the whole tree. Before pruning, it reached 3.5 GiB at v0.39.1, all staged on annie's disk. 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.
-10. **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`. The bucket keeps the newest 20 apt releases. Retention was set on 2026-11-19 with `carlos releases retention --app apt-carlosframework --account-id bab --keep 20`. The retention pass prunes the rest.
+10. **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`. The apt app has no retention policy, so old apt releases are not pruned. `carlos releases retention` works only through a console, but the console API cannot see apt, which lives only in the bucket. A supported road is requested in discussion #1288.
11. **Docs and changelog.** This has two parts. The docs sync is required for every release. Until 2026-11-06, it rode on the changelog and kept being put off, and the live site showed 4 of the 10 docs pages.
- **11a. 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`.
- **11b. 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 11a. Restore the checkout afterwards (`git checkout <tag> -- docs/site`). The page is carlosframework.com/platform/changelog.