GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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 #5772

New issue
Copy link
New issue
Copy link
Open
Open
VMs: declarative guest definitions (nixvirt / microvm.nix) + mutable carve-out list#5772
Copy link
Labels
epic/lab-clusterEpic: lab-cluster - all issues of this effort carry itpriority/normalOrdinary priority (the default)queue/parkedQueue task is parked (waiting on CI, time, or an event)status/parkedDeliberately paused with a recorded resume conditiontask/triageQueue packet kind: verify, reproduce, and route this itemwork/assignedQueue worker lifecycle state
Milestone
Lab cluster

Description

@dezren39
dezren39
opened on Nov 5, 2026
Issue body actions

VM 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).

Activity

Next
  1. developing-today commented on Nov 5, 2026

    @developing-today
    developing-todayBot
    on Nov 5, 2026 – with developing.today
    Contributor
    More actions

    CODE-1458

  2. dezren39
    added
    queue/queuedHas a queued queue task
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 5, 2026
  3. developing-today commented on Nov 5, 2026

    @developing-today
    developing-todayBot
    on Nov 5, 2026 – with developing.today
    Contributor
    More actions

    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.

  4. developing-today
    added
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    and removed
    queue/queuedHas a queued queue task
    on Nov 5, 2026
  5. github-actions
    assigned
    dezren39
    on Nov 5, 2026
  6. developing-today commented on Nov 5, 2026

    @developing-today
    developing-todayBot
    on Nov 5, 2026 – with developing.today
    Contributor
    More actions

    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.

  7. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off

    • Agent: queue worker (repo-worker-code), lane code-i
    • Session / ID: task 10178
    • Found via: queue claim
    • Task: handing task 10178 (issue VMs: declarative guest definitions (nixvirt / microvm.nix) + mutable carve-out list #5772) to the opencode execution lane; the laptop claimant launches the bound opencode session
    • Expectation: claimant drives task 10178 to a terminal state; parked 30 min to release this lane's claim
    • Links: issue VMs: declarative guest definitions (nixvirt / microvm.nix) + mutable carve-out list #5772
  8. dezren39
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    on Nov 5, 2026
  9. 141 remaining items

  10. dezren39
    removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 15, 2026
  11. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    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:

    • Issue VMs: declarative guest definitions (nixvirt / microvm.nix) + mutable carve-out list #5772 is OPEN, no hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit). It does NOT carry status/needs-triage — triage already happened.
    • Existing triage: task 10178 triage note 2026-11-05 (verified against main, scoped path recorded).
    • Implementation follow-on already landed in part: PR vm-guests: renderer decision, guest registry + carve-out list, deploy vm: spec (#5772) #9186 MERGED 2026-11-13 — steps 1/4/5 done (renderer decision: nixvirt for libvirt class, microvm.nix confirmed for ephemeral/agent guests; guest registry + empty mutable carve-out list with waiver rule; deploy vm: spec in doc/2026-11-12_vm-guests-generation-discipline.md).
    • Remaining work (steps 2-3, live guest acceptance proofs on amd) is already owned by task 14378, which is DEP-BLOCKED on issue id: cargo-fmt-check nix derivation unbuildable locally — zig 0.16 OptimizeMode has no 'small' member in the check closure #10083 — fresh-checked today: id: cargo-fmt-check nix derivation unbuildable locally — zig 0.16 OptimizeMode has no 'small' member in the check closure #10083 is still OPEN. No new follow-on is enqueued; a duplicate would compete with task 14378.
    • Labels left unchanged: status/blocked + queue/blocked + work/assigned on this issue belong to live task 14378, not to this duplicate triage.

    Outcome: task 18368 completes as triaged, naming the existing triage and task 14378 as the follow-on.

  12. dezren39
    removed their assignment
    on Nov 20, 2026
  13. dezren39 commented on Nov 22, 2026

    @dezren39
    dezren39
    on Nov 22, 2026
    MemberAuthor
    More actions

    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.

  14. dezren39
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    status/blockedQueue or user escalation state
    queue/blockedQueue or user escalation state
    on Nov 22, 2026
  15. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions
    • lane: agent-next-16-local (opencode/laptop), queue task 14378
    • verdict: revalidated fresh; no safe implementation step is available in this environment.
    • Fresh checks on 2026-11-23: issue VMs: declarative guest definitions (nixvirt / microvm.nix) + mutable carve-out list #5772 is OPEN; dependency id: cargo-fmt-check nix derivation unbuildable locally — zig 0.16 OptimizeMode has no 'small' member in the check closure #10083 is OPEN; fleet shell targets reports laptop and Codespace unreachable, with only local execution available.
    • Workspace is clean on main; no source changes made.
    • Resume condition: a fresh terminal disposition for id: cargo-fmt-check nix derivation unbuildable locally — zig 0.16 OptimizeMode has no 'small' member in the check closure #10083 and a reachable dedicated AMD host window for the disruptive microVM/nixvirt lifecycle proofs.
    • No owner decision or ownership handoff is required.
  16. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    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.

  17. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Agent note — picked up, revalidated, parked (2026-11-24, lane oc-code-07)

    • Fresh: VMs: declarative guest definitions (nixvirt / microvm.nix) + mutable carve-out list #5772 OPEN (updatedAt 2026-11-23), labels task/triage, status/parked, queue/parked, work/assigned, epic/lab-cluster; no hard stop. Gate id: cargo-fmt-check nix derivation unbuildable locally — zig 0.16 OptimizeMode has no 'small' member in the check closure #10083 OPEN (updatedAt 2026-11-24); its latest notes report the zig defect not reproducing on current origin/main and the remaining red as rustfmt drift — not cleared.
    • Static slice re-verified today: nix-instantiate --eval --strict nixos/vm-guests/default.nix exits 0 (renderer nixvirt/microvm.nix, guests.prometheus defined-not-enabled, empty carveOuts/waivers + waiverRule). microvm profile still commented out at nixos/hosts/default.nix:37.
    • Host: this lane is seated on amd, but load average is 15-18 with many concurrent lanes and 230 modified files from other work in the shared worktree — the opposite of the quiesced window the lifecycle proofs need. No nixos-rebuild switch or guest lifecycle op run; no host or source changes.
    • Parked pending a quiesced AMD host window plus a fresh terminal disposition for id: cargo-fmt-check nix derivation unbuildable locally — zig 0.16 OptimizeMode has no 'small' member in the check closure #10083, then run the doc section 5 microVM/nixvirt lifecycle proofs. Do not close VMs: declarative guest definitions (nixvirt / microvm.nix) + mutable carve-out list #5772 on the desk-work slice alone.
  18. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

    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.
  19. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

    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.

  20. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    Fresh revalidation (2026-11-27, lane oc-code-08):

    • VMs: declarative guest definitions (nixvirt / microvm.nix) + mutable carve-out list #5772 remains OPEN; labels are task/triage, status/parked, queue/parked, work/assigned, epic/lab-cluster (no human hold label).
    • Dependency id: cargo-fmt-check nix derivation unbuildable locally — zig 0.16 OptimizeMode has no 'small' member in the check closure #10083 is CLOSED, so that gate is cleared.
    • Remaining acceptance is still the live AMD host proof from doc/2026-11-12_vm-guests-generation-discipline.md §5: microVM profile switch/build/start/rollback and nixvirt guest define/start/rollback/destroy.
    • This scheduled run is not a quiesced host window: fleet shell targets says laptop/Codespace unreachable; local AMD host has 16 CPUs and load average 19.24/15.33/12.16. Shared /home/user/git/code checkout has 248 modified/untracked paths from concurrent work. I made no host or source changes and did not run disruptive lifecycle operations.

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    epic/lab-clusterEpic: lab-cluster - all issues of this effort carry itpriority/normalOrdinary priority (the default)queue/parkedQueue task is parked (waiting on CI, time, or an event)status/parkedDeliberately paused with a recorded resume conditiontask/triageQueue packet kind: verify, reproduce, and route this itemwork/assignedQueue worker lifecycle state

    Type

    No type

    Projects

    No projects

      Milestone

      • Lab clusterNo due date

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.