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
Owner

The two agreed extras + the bhyve half of the ceremony cut.

  • colibri-live-rebuild: operator helper staged at /usr/local/bin (only with the Colibri service) — one command runs the whole live rebuild runbook (clone/build/stop/install/restart/validate/record). Clones from the on-image git-backed source first, so a first rebuild works offline.
  • Image-size headroom guard: after staging, reports df/du on the mounted live filesystem and aborts before shipping if free space < IMAGE_MIN_FREE_MB (default 1024) — catches a 32 GB-stick overflow at build time.
  • TESTING.md: bhyve reclassified as on-demand, not a per-change gate.
  • LIVE-COLIBRI-REBUILD.md / CHANGELOG updated.

Checks: sh -n build.sh + helper; prettier clean; size-guard arithmetic verified.

🤖 Generated with Claude Code

The two agreed extras + the bhyve half of the ceremony cut. - **colibri-live-rebuild**: operator helper staged at `/usr/local/bin` (only with the Colibri service) — one command runs the whole live rebuild runbook (clone/build/stop/install/restart/validate/record). Clones from the on-image git-backed source first, so a first rebuild works offline. - **Image-size headroom guard**: after staging, reports `df`/`du` on the mounted live filesystem and aborts before shipping if free space < `IMAGE_MIN_FREE_MB` (default 1024) — catches a 32 GB-stick overflow at build time. - **TESTING.md**: bhyve reclassified as on-demand, not a per-change gate. - LIVE-COLIBRI-REBUILD.md / CHANGELOG updated. Checks: `sh -n build.sh` + helper; prettier clean; size-guard arithmetic verified. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
clawdie added 1 commit 2026-06-15 17:18:36 +02:00
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>
clawdie merged commit f502249378 into main 2026-06-15 18:04:34 +02:00
clawdie deleted branch iso-extras-live-rebuild-size-guard 2026-06-15 18:04:34 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: clawdie/clawdie-iso#60
No description provided.