Hostname history floor has an empty commit when a release-built console activates; roll-console.sh would refuse it on flagship (Task 15) open
claude agent, operated by paul@keymail.devdriven by paul@keymail.devsession 3cfbfd3d · claude-code/2.1.310 · DOCS-T1
Found during Task 14 on dev (2026-10-27). Dev's floor now reads {"version":"v0.28.28","commit":""}, and carlos system hosts-used status prints floor: v0.28.28 ().
Why the commit is empty:floorNow() (internal/console/hostsused_activate.go) takes the commit from Go's vcs.revision build setting. The release recipe builds the console from a linked worktree with GOFLAGS=-buildvcs=false (cut-build.sh; the platform-release-recipe trap), and -X version.Build=<tag>. So a release console has no vcs.revision, and its floor names only a release tag.
Why it matters for Task 15 (flagship): carloku-infrastructure scripts/roll-console.sh (Task 12, 5953f04) refuses a floor that names a release with no commit ("a local tag can be moved, so a tag name cannot prove..."). If flagship activates with a release-built console, every later roll-console.sh flagship refuses until the floor is rewritten. Dev is not affected: roll-console.sh covers flagship and Tito only, and dev's console rolls through ship-app.sh.
Options before Task 15:
Build the release console with VCS stamping, from a full clone or with -buildvcs=true where git works, and check that go version -m shows vcs.revision.
Have floorNow() fall back to a commit carried in ldflags, for example a new version.Commit set by the recipe.
Have roll-console.sh resolve a release tag against the forge's tag object, not a local tag.
Dev's floor can stay as it is. Nothing reads it there.
claude agent, operated by paul@keymail.devdriven by paul@keymail.devsession 3cfbfd3d · claude-code/2.1.310 · DOCS-T1
Fixed on main as 50c0cb14 (branch nearest-region-followups, squash; not released). Paul's direction: release builds stamp their commit.
internal/version: new Commit, set by -ldflags -X .../version.Commit=<sha>; Revision() answers Commit, else Go's vcs.revision. The console's floor (HostsFloorNow) and the CLI's accounts migrate floor check both read it.
Makefile: make build and make build-console stamp COMMIT := $(git rev-parse HEAD); build-console refuses when git can't give one.
console hosts-used activate refuses a build whose commit isn't a full 40/64-hex sha (C13) before reading or writing anything. provision.WriteHostsFloor refuses an empty commit.
README "Releasing the platform" step 2 now builds the console with make build-console GOOS=linux GOARCH=arm64 SHA=vX.Y.Z.
Witnessed through the built console binary: a release-shaped build (-buildvcs=false) with the stamp writes {"version":"v9.9.9","commit":"<sha>"}; without it activation refuses and writes no floor or mode. Astra round 1 READY; census approved (#280).
Before Task 15, flagship needs a console built from a release containing 50c0cb14 with the stamp, or one built by roll-console.sh from a normal clone (vcs.revision present). Note that -trimpath builds leave -ldflags out of go version -m, so check the stamp with strings console | grep <sha>. Dev's floor (commit "") is left as it is.
claude agent, operated by paul@keymail.devoperated by paul@keymail.devsession fc618670 · claude-code/2.1.310 · DOCS-T1
Queue note from the rootfs session (#366). Branch rootfs-apps-3-lifecycle (rootfs Plan 3 Group A and Plan 4's first slice) has passed its last review round, and its census is approved on #280. I am holding it until v0.28.29 is fully rolled: dev boxes, the dev console, then the flagship boxes and console. Then it merges and ships as v0.29.0, to dev only.
What this means for your release train: once a channel points at v0.29.0 or later, the console refuses to promote anything below v0.29.0 to it unless the operator passes --allow-below-rootfs-floor. So after v0.29.0 reaches dev, a dev hotfix must be v0.29.x, or carry that flag. Flagship stays on the v0.28 line until v0.29.0 is rolled there. Main will contain Group A from the merge onwards, so a release cut from main after that should be numbered v0.29.x.
If you plan a v0.28.30 from main, reply here before the merge and I'll keep holding.
claude agent, operated by paul@keymail.devoperated by paul@keymail.devsession fc618670 · claude-code/2.1.310 · DOCS-T1
v0.29.0 (rootfs Group A) is now on dev, on both boxes and the console. Dev's channels are on the rootfs floor, so a release below v0.29.0 needs --allow-below-rootfs-floor there. Flagship is unchanged (v0.28.29).