feat(iso): colibri-live-rebuild helper + image-size guard; bhyve on-demand #60

Merged
clawdie merged 1 commit from iso-extras-live-rebuild-size-guard into main 2026-06-15 18:04:34 +02:00

1 commit

Author SHA1 Message Date
Sam & Claude
79c34c29ea feat(iso): colibri-live-rebuild helper + image-size guard; bhyve on-demand (Sam & Claude)
The two agreed extras, plus the bhyve half of the ceremony cut.

- colibri-live-rebuild: new operator helper staged at /usr/local/bin (only with
  the Colibri service) that runs the whole live rebuild runbook in one command —
  clone/update a build checkout, optional --ref, build release binaries, stop the
  daemon, install binaries + rc.d, clear stale socket/pid, restart, validate
  `colibri status`, and record /var/db/colibri/live-rebuild.json. Clones from the
  on-image git-backed source first, so a first rebuild works offline.
- Image-size headroom guard: after staging, report df/du on the mounted live
  filesystem and abort before shipping if free space is under IMAGE_MIN_FREE_MB
  (default 1024) — catches a 32GB-stick overflow at build time.
- TESTING.md: bhyve reclassified as an on-demand lane, not a per-change gate
  (cheap gates = sh -n + staging smoke + cargo test).
- LIVE-COLIBRI-REBUILD.md / CHANGELOG updated.

Stacked on PR #58 (release-gate branch). Checks: sh -n build.sh + helper;
prettier clean; size-guard arithmetic verified.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-15 17:17:16 +02:00