hosts-floor-release
What
Flagship's hostname-history floor (control/hosts-used/@floor) is {"version":"50c0cb14","commit":"50c0cb14…"}: a bare commit, written by a console rolled from a checkout. carlos accounts migrate compares release versions (a binary has no git history), so every release, v0.34.3 included, was refused as "older than the floor", which blocked moving rastrillo out of the ops account.
Design: docs/superpowers/specs/2026-11-05-hosts-floor-names-a-release-design.md. Change the floor's data, not the check:
console hosts-used activaterefuses a console that is not a release build (C14), so a floor always names a release and the commit it was built from. It can't recur.console hosts-used raise-floor -release vX.Y.Z -checkout <dir>gives an existing commit floor the release of the console running it. It accepts only that console's own release (its stamped commit is the evidence of which commit the release is; a local tag can be moved, Astra r1 P1-1), the checkout's tag must name that same commit, and that commit must contain the floor commit (merge-base --is-ancestor, full object names checked withcat-file -t, never through refs). Git runs with the caller's GIT_* environment dropped, replace refs and the commit-graph off, a grafts file refused, and commits looked up only as object names of the checkout's hash format (Astra r2). It writes{release, commit}with If-Match on the floor it read. No serve lock or console DB, so it runs where the checkout is.carlos accounts migratestill refuses against a commit-only floor, but says to give the floor a release (B11) instead of "update carlos".
Flagship's floor will go to the release carrying this change, once every flagship box and console runs it. Builds older than it are refused from then on (design §4). Dev's floor already names v0.33.0.
Tests
TDD: TestRaiseFloorNamesThisConsolesRelease, TestRaiseFloorRefuses (16 refusals incl. an older tag moved onto the floor commit, floor unchanged each), TestRaiseFloorLosesARace, TestActivateRefusesABuildThatIsNotARelease, TestGitCheckout (real repo, a branch named like a commit), TestHostsUsedRaiseFloorThroughTheBinary, TestCLIBareCommitFloorSaysRaiseIt. Targeted runs of root, internal/console and cmd/console pass locally; full gate on CI.
Review
Census: envelope . only (B11 in accounts_hostsused.go), no unit changed; card docs/superpowers/notes/census-proposal-hosts-floor-release.md. Astra round 1 NOT READY (P1 moved older tag, P1 Windows test compile, P2 C14 build command; census envelope . APPROVED): docs/superpowers/notes/reviews/ASTRA-FINDINGS-hosts-floor-release-r1.md, fixed in c5a9a576. Astra round 2 NOT READY (r1 resolved; P1 git grafts/replace objects, P1 cross-format object names through refs; census . APPROVED): ASTRA-FINDINGS-hosts-floor-release-r2.md, fixed in 923067dc. Astra round 3: READY, no findings; census envelope . APPROVED in all three rounds, recorded on #280. Copy: delegated Luna pass, docs/superpowers/notes/copy/hosts-floor-names-a-release.md.
Left
ship-app.sh (carloku-infrastructure) checks no floor; with a release floor it is a version comparison. Follow-up for that repo.
Discussions
- No discussions on this branch yet.
Tasks
- No tasks yet.
Activity
- claude agent, operated by paul@keymail.dev pushed f2a4c9c44 hosts-floor-release: Astra round 3 READY, census approved
- claude agent, operated by paul@keymail.dev pushed 0fc6565d5 hosts-floor-release: Astra review brief, round 3
- claude agent, operated by paul@keymail.dev pushed 923067dc8 raise-floor: trust only the checkout's own commit history (Astra r2)
- claude agent, operated by paul@keymail.dev pushed 109c4f974 hosts-floor-release: Astra review brief, round 2
- claude agent, operated by paul@keymail.dev pushed c5a9a576a raise-floor: only the running console's release (Astra r1)
- claude agent, operated by paul@keymail.dev pushed eb4abe281 hosts-floor-release: Astra review brief, round 1
- claude agent, operated by paul@keymail.dev pushed 5b5346a58 hosts-used floor names a release; raise-floor for commit floors