GeezerVison is showing github.com — VMs: declarative guest definitions (nixvirt / microvm.nix) + mutable carve-out list · Issue #5772 · developing-today/code
VMs: declarative guest definitions (nixvirt / microvm.nix) + mutable carve-out list #5772DescriptionVM track of the deployment-architecture epic (design: PR #5764 §6).
Current state (2026-11-04 inventory): virtualisation.libvirtd.enable = true in the laptop profile and zero guest definitions anywhere — no libvirt XML, no nixvirt, no virsh-managed domains in any repo. Seeds present: microvm.nix is a flake input with one defined VM (prometheus, qemu, 2 vCPU/1 GB, virtiofs /nix/store share) whose profile is commented out on amd (nixos/hosts/default.nix:30); the flake has lib.make-vm-configurations machinery (per-host vm_<host> NixOS variants).
Work:
- Evaluate nixvirt (declarative libvirt domains/networks/pools as Nix) vs flake-generated libvirt XML as the renderer for libvirt guests; record the pick and why in this issue. microvm.nix is the presumptive answer for ephemeral/agent-class guests — confirm or refute.
- Define the guest generation shape: {domain definition, disk image (flake-built), NixOS source rev}; data volumes attach to generations, never live inside them.
- Land the first declarative guests: bring
prometheus under generation discipline (enable the microvm profile deliberately or supersede it), plus one libvirt guest end-to-end if a real need exists — otherwise the renderer + a throwaway test guest that is defined, started, rolled back, and destroyed as the acceptance proof.
- Write the mutable carve-out list (starts empty): guests that may drift in data but not OS definition (DB hosts, lab stateful nodes), and the rule that full drift requires a named waiver with owner + reason.
Acceptance: at least one guest of each class (microVM, libvirt) can be defined/started/rolled back from flake state alone on a clean checkout; the carve-out list exists in the flake (even if empty) with the waiver rule stated; deploy vm:<name> integration is specced (implementation may ride the deploy tool's later target classes). Activitydeveloping-today commented on Nov 5, 2026 developing-today commented on Nov 5, 2026 agent-note:v1
task: 10178
lane: code-u
state: handed-off
summary: Task 10178 claimed by lane code-u; execution-lane assignment returned opencode, so this task is handed off to the opencode claimant per the worker runbook §1b. Issue #5772 is OPEN with no hard-stop labels on fresh check; claim labels synced (queue/claimed + work/assigned + status/in-progress).
next: opencode-claimant launches the bound opencode session for task 10178. developing-today commented on Nov 5, 2026 agent-note:v1
task: 10178
lane: code-u
state: handed-off
summary: Task 10178 re-claimed by lane code-u after the first opencode handoff's lease expired without a claimant launch; execution-lane assignment again returned opencode, so the task is handed off to the opencode claimant again per the worker runbook §1b. Issue #5772 remains OPEN, claim labels already in place from the first handoff.
next: opencode-claimant launches the bound opencode session for task 10178. dezren39 commented on Nov 5, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 17, 2026 agent-note:v1
state: triaged
task: 18368
lane: any-m
worker: repo-worker-code
Task 18368 (bulk-intake duplicate triage for issue #5772) revalidated fresh 2026-11-17:
Outcome: task 18368 completes as triaged, naming the existing triage and task 14378 as the follow-on. dezren39 commented on Nov 22, 2026
Agent note — picked up (task 14378, lane oc-code-04)
Fresh verification: #5772 is OPEN with no hard-stop labels. PR #9186 is MERGED (878f082); its steps 1/4/5 remain landed. There are no matching open PRs. #10083 is still OPEN, but its latest note says the reported build failure did not reproduce on clean main; that is not evidence the issue is closed.
The only remaining acceptance is the two lifecycle proofs on the shared AMD laptop (microVM profile switch/build/start/rollback and a nixvirt guest define/start/rollback/destroy). I will not run a system switch or guest lifecycle operation during this general scheduled lane because it can disrupt other workers. No host state changed.
Next: preserve this fresh state and park for a dedicated, safe host window; do not mark #5772 complete based on the merged desk-work slice. dezren39 commented on Nov 23, 2026 dezren39 commented on Nov 23, 2026
Agent note — picked up (task 14378, lane oc-code-03)
Fresh verification 2026-11-23: #5772 OPEN, no hard-stop labels (task/triage, status/parked, queue/parked, work/assigned); gate #10083 still OPEN (non-reproducing since 2026-11-18 triage, not cleared); no open PRs for #5772. Static deliverables from PR #9186 confirmed present (nixos/vm-guests/default.nix: renderer nixvirt/microvm.nix, empty carveOuts/waivers + waiverRule; discipline doc with deploy vm: spec). Worktree clean, no source changes. Host seat is amd, but this is a shared multi-lane scheduled run, so no nixos-rebuild switch or guest lifecycle ops here.
Next: park for a quiesced amd host window + fresh terminal disposition for #10083, then run the doc section 5 lifecycle proofs. Do not close #5772 on the desk-work slice. dezren39 commented on Nov 24, 2026
Agent note — picked up, revalidated, parked (2026-11-24, lane oc-code-07)
developing-today-fleet commented on Nov 26, 2026
Agent note — revalidated and parked (2026-11-26, lane code-f)
- Fresh status: VMs: declarative guest definitions (nixvirt / microvm.nix) + mutable carve-out list #5772 OPEN, no human hold labels. Gate id: cargo-fmt-check nix derivation unbuildable locally — zig 0.16 OptimizeMode has no 'small' member in the check closure #10083 is now CLOSED (fixed by style(id): cargo fmt pkgs/id with the pinned toolchain (#10083) #15361), so that dependency is cleared.
- PR vm-guests: renderer decision, guest registry + carve-out list, deploy vm: spec (#5772) #9186 remains the landed desk-work slice: renderer decision, guest registry/carve-out and waiver rules, and deploy vm: spec. The only remaining acceptance is the live AMD-host proof: microVM profile switch/build/start/rollback and nixvirt guest define/start/rollback/destroy, as specified in
doc/2026-11-12_vm-guests-generation-discipline.md §5.
- This is a scheduled shared-host lane, not a dedicated quiesced visit. The current AMD host reports load averages 8.70/14.11/13.12 on 16 CPUs, and the shared checkout contains extensive unrelated modifications. A NixOS switch or guest lifecycle operation is not safe to improvise here. No host or repository files were changed.
- Task 14378 checkpointed at
host-proof-pending and parked with an external ready condition: a dedicated, quiesced AMD host window. At that visit, rerun the section 5 proofs and record outputs here; do not close VMs: declarative guest definitions (nixvirt / microvm.nix) + mutable carve-out list #5772 before both proofs pass.
developing-today-fleet commented on Nov 26, 2026 Fresh recheck (2026-11-26): #5772 remains OPEN and the lifecycle proofs remain outstanding. Dependency #10083 is now CLOSED. The current machine is reachable and load is 6.73/7.71/9.29 on 16 CPUs, but the shared checkout has 237 modified/untracked paths from concurrent work; I made no host or repository changes and will not run NixOS switches or guest lifecycle operations in this state. Resume during a dedicated quiesced AMD host visit for the section 5 microVM and nixvirt proofs. developing-today-fleet commented on Nov 27, 2026
Fresh revalidation (2026-11-27, lane oc-code-08):
Parked for an external ready condition: a dedicated quiesced AMD host window with the shared checkout clear of concurrent modifications. Do not close #5772 until both §5 lifecycle proofs are recorded. dezren39 commented on Nov 28, 2026
Agent note — lane 1237-D verified park (alpha DRIVE 2026-11-28): host-proof remainder, not a Git-API slice.
- Read the issue body + all 63 comments firsthand this lane. VMs: declarative guest definitions (nixvirt / microvm.nix) + mutable carve-out list #5772 OPEN, labels task/triage, status/parked, queue/parked, work/assigned, epic/lab-cluster — no human hold label.
- Landed already: PR vm-guests: renderer decision, guest registry + carve-out list, deploy vm: spec (#5772) #9186 (renderer decision, guest registry / mutable carve-out list + waiver rule, deploy vm: spec). Dependency id: cargo-fmt-check nix derivation unbuildable locally — zig 0.16 OptimizeMode has no 'small' member in the check closure #10083 is CLOSED.
- Sole remaining acceptance is the live AMD-host proof in
doc/2026-11-12_vm-guests-generation-discipline.md §5: microVM profile enable/rebuild/start/rollback + nixvirt guest define/start/rollback/destroy on the host amd.
- That is a host operation, not repo code: it needs a dedicated quiesced AMD host window with the shared checkout clear of concurrent modifications. Prior firsthand rechecks stand unrebutted (2026-11-27: load 19.24/15.33/12.16 on 16 CPUs, 248 dirty shared-checkout paths). This lane runs Git-API-only from the sandbox — no clones/worktrees, no host access — so it cannot run the proof.
- Queue task 14378 parked 24h by this lane. Wake: a dedicated quiesced AMD host window opens → run both §5 lifecycle proofs, record evidence here, close VMs: declarative guest definitions (nixvirt / microvm.nix) + mutable carve-out list #5772.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|