rehearsal phase 7: the VM-mode device drive (umbrella — writing-plans unlocked, not started) #1153

Closed
opened 2026-09-02 18:52:10 +00:00 by ben · 27 comments
Owner

Phase 7 — VM-mode device drive (umbrella, minted ahead of the plan)

The drive ticket for the phase-7 rehearsal: a VM-mode device joins the standing community — Ben's rulings already on record (2026-08-30): DO droplet carrier, guest-joins-mesh option A, spec shape to the writing-plan; ADR item to carry: a guest behind loopback hostfwd is not on the mesh.

Status: placeholder. Writing-plans was unlocked by #854 GREEN (2026-09-02) and has not started. This ticket exists now so process work that must wait for phase 7 can take a real blocking edge (first: #1154, the verification-latency design question). When the phase-7 plan and spec land, this becomes the executor's drive issue for the lane, exactly as #854 was for phase 5.

Inherits the full phase-5 retrospective machinery from drive one: healer-first ticket-on-refusal (#1144, cap 400), rebuild coalescing (#1140), HEAD-parity launches (#1141), the silent-park page + per-arc REHEARSAL_FILING_CAP (#1138), per-phase rebuild timings (#1139). Arc-start checklist (PROCESS.md): walk every fixed cost >30 min on day one.

no-triage — nothing arms until the plan exists.


ARMED — 2026-09-03 (task 9 of #1153, #1165)

The phase-7 plan and spec landed and every task #1157–#1164 is closed; this becomes the executor's drive issue for the lane (as #854 was for phase 5). Drive markers:\n\n\n\n\nrehearsal-target: device-vm → the executor drives the base device target in vm install mode (rehearsal-queue-lib.sh: rehearsal_target_base/rehearsal_target_mode). rehearsal-confirm: 1 → the cycle marks it done after one GREEN. Queued on elitebook-03 after the CLOSED #854 (REHEARSAL_DRIVE_QUEUE=854,1153); shares REHEARSAL_STANDING_DIR with phase 5 (ADR 0208). Healer-first (#1144) is live from the first red.

## Phase 7 — VM-mode device drive (umbrella, minted ahead of the plan) The drive ticket for the phase-7 rehearsal: a **VM-mode device** joins the standing community — Ben's rulings already on record (2026-08-30): DO droplet carrier, **guest-joins-mesh option A**, spec shape to the writing-plan; ADR item to carry: a guest behind loopback hostfwd is not on the mesh. **Status: placeholder.** Writing-plans was unlocked by #854 GREEN (2026-09-02) and has not started. This ticket exists now so process work that must wait for phase 7 can take a real blocking edge (first: #1154, the verification-latency design question). When the phase-7 plan and spec land, this becomes the executor's drive issue for the lane, exactly as #854 was for phase 5. Inherits the full phase-5 retrospective machinery from drive one: healer-first ticket-on-refusal (#1144, cap 400), rebuild coalescing (#1140), HEAD-parity launches (#1141), the silent-park page + per-arc `REHEARSAL_FILING_CAP` (#1138), per-phase rebuild timings (#1139). Arc-start checklist (PROCESS.md): walk every fixed cost >30 min on day one. `no-triage` — nothing arms until the plan exists. --- ## ARMED — 2026-09-03 (task 9 of #1153, #1165) The phase-7 plan and spec landed and every task #1157–#1164 is closed; this becomes the executor's drive issue for the lane (as #854 was for phase 5). Drive markers:\n\n<!-- rehearsal-target: device-vm -->\n<!-- rehearsal-confirm: 1 -->\n\n`rehearsal-target: device-vm` → the executor drives the base `device` target in `vm` install mode (rehearsal-queue-lib.sh: `rehearsal_target_base`/`rehearsal_target_mode`). `rehearsal-confirm: 1` → the cycle marks it done after one GREEN. Queued on elitebook-03 after the CLOSED #854 (`REHEARSAL_DRIVE_QUEUE=854,1153`); shares `REHEARSAL_STANDING_DIR` with phase 5 (ADR 0208). Healer-first (#1144) is live from the first red.
Author
Owner

Writing-plans COMPLETE (2026-09-02): docs/superpowers/plans/2026-09-02-183-phase-7-vm-device-rehearsal.md — 9 tasks ticketed #1157, #1158, #1159, #1160, #1161, #1162, #1163, #1164, #1165 (16 blocking edges; tasks 7 and 9 ready-for-session, rest ready-for-agent). Ruling 3 decided by the plan: ONE spec, REHEARSAL_INSTALL_MODE axis. This issue stays no-triage until task 9 arms it as the drive issue (markers rehearsal-target: device-vm / rehearsal-confirm: 1).

Writing-plans COMPLETE (2026-09-02): `docs/superpowers/plans/2026-09-02-183-phase-7-vm-device-rehearsal.md` — 9 tasks ticketed #1157, #1158, #1159, #1160, #1161, #1162, #1163, #1164, #1165 (16 blocking edges; tasks 7 and 9 ready-for-session, rest ready-for-agent). Ruling 3 decided by the plan: ONE spec, `REHEARSAL_INSTALL_MODE` axis. This issue stays `no-triage` until task 9 arms it as the drive issue (markers rehearsal-target: device-vm / rehearsal-confirm: 1).

Ruled by agent under ADR 0174 — veto anytime. This session (elitebook-03, session-runner drainer on #1165, task 9 of #1153) has ARMED the phase-7 VM-mode device drive.

The ruling: flip no-triage → ready-for-agent, add priority + standing-drive, add the drive markers (rehearsal-target: device-vm, rehearsal-confirm: 1), and append #1153 to elitebook-03's REHEARSAL_DRIVE_QUEUE (854,1153) after the CLOSED phase-5 #854.

Why it is a two-way door:

  • Fully revertible by config/tracker: de-queue #1153 (host env), re-add no-triage/drop ready-for-agent. No commit or irreversible act.
  • Spend is routine lab-droplet money only (the drive rents a clan-lab member device + adopts the standing gateway; ADR 0174's explicit two-way case). No non-routine spend, no security-posture widening, no personal credentials, no member-facing trust surface, no data destruction (the drive removes its OWN device; the standing gateway is never released on a device drive, ADR 0208).
  • The one stop-for-Ben gate — "no /dev/kvm at the rented size = new fact, stop" (spec sequencing 2) — was already answered KVM GO on s-4vcpu-8gb when Task 7 landed (#1163). No open one-way residue.

What proves it: the route/marker wiring is offline-proven (scripts/tests/rehearsal-vm-mode-target-test.sh, 6 checks; the phase-5 device/rented suites stay green — byte-identical full path), landed in c7ef26a8. The executor's marker reader parses this body to target=device-vm → base=device, mode=vm, confirm=1. Healer-first (#1144, cap 400) is live from the first red.

The drive stays blocked until #1165 (this task's session ticket, the last open blocker) closes — at which point the executor drives the first OPEN queued issue (→ #1153) in vm mode. This advances #1153; the cycle marks it done on its own GREEN ledger (confirm 1). Ben vetoes by comment or digest at any time.

**Ruled by agent under ADR 0174 — veto anytime.** This session (elitebook-03, session-runner drainer on #1165, task 9 of #1153) has ARMED the phase-7 VM-mode device drive. **The ruling:** flip `no-triage` → `ready-for-agent`, add `priority` + `standing-drive`, add the drive markers (`rehearsal-target: device-vm`, `rehearsal-confirm: 1`), and append #1153 to elitebook-03's `REHEARSAL_DRIVE_QUEUE` (`854,1153`) after the CLOSED phase-5 #854. **Why it is a two-way door:** - Fully revertible by config/tracker: de-queue #1153 (host env), re-add `no-triage`/drop `ready-for-agent`. No commit or irreversible act. - Spend is routine lab-droplet money only (the drive rents a clan-lab member device + adopts the standing gateway; ADR 0174's explicit two-way case). No non-routine spend, no security-posture widening, no personal credentials, no member-facing trust surface, no data destruction (the drive removes its OWN device; the standing gateway is never released on a device drive, ADR 0208). - The one stop-for-Ben gate — "no `/dev/kvm` at the rented size = new fact, stop" (spec sequencing 2) — was already answered **KVM GO on s-4vcpu-8gb** when Task 7 landed (#1163). No open one-way residue. **What proves it:** the route/marker wiring is offline-proven (`scripts/tests/rehearsal-vm-mode-target-test.sh`, 6 checks; the phase-5 `device`/`rented` suites stay green — byte-identical full path), landed in `c7ef26a8`. The executor's marker reader parses this body to `target=device-vm → base=device, mode=vm, confirm=1`. Healer-first (#1144, cap 400) is live from the first red. The drive stays blocked until #1165 (this task's session ticket, the last open blocker) closes — at which point the executor drives the first OPEN queued issue (→ #1153) in vm mode. This advances #1153; the cycle marks it done on its own GREEN ledger (confirm 1). Ben vetoes by comment or digest at any time.

gateway-image: snapshot advanced 0963b67 → 73852b84b52a by elitebook-distributed-server-03 (#661 auto-rebuild — build.sh resolved the newest published agent ancestor, #654). The rented drive now boots current agent bits; no human build.sh run was needed. Rebuild timings: total 15m26s (provision 0m55s, nixos-install 3m08s, installer-base 10m02s, snapshot 1m21s) (#1139).

gateway-image: snapshot advanced `0963b67` → `73852b84b52a` by elitebook-distributed-server-03 (#661 auto-rebuild — build.sh resolved the newest published agent ancestor, #654). The rented drive now boots current agent bits; no human build.sh run was needed. Rebuild timings: total 15m26s (provision 0m55s, nixos-install 3m08s, installer-base 10m02s, snapshot 1m21s) (#1139).

eval gate RED (key 8890b90e974fa89e) — a rendered config no longer evaluates offline; the cycle parked BEFORE renting a droplet. Fix the eval red on main (evidence: /home/swarm/swarm/Matou/idss/test-results/eval-smoke/8890b90e974fa89e.log on elitebook-distributed-server-03); the gate re-proves automatically once internal/clan or internal/provision moves.

eval gate RED (key 8890b90e974fa89e) — a rendered config no longer evaluates offline; the cycle parked BEFORE renting a droplet. Fix the eval red on main (evidence: /home/swarm/swarm/Matou/idss/test-results/eval-smoke/8890b90e974fa89e.log on elitebook-distributed-server-03); the gate re-proves automatically once internal/clan or internal/provision moves.

drive 20260903T042240Z RED — now blocked by: #1178 #1179 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260903T042240Z` RED — now blocked by: #1178 #1179 (evidence on each). The drive re-fires when the last blocker closes.

rehearsal healer: drive 20260903T144614Z red at agent-install (sig f719667ae384) self-fixed — commit e7dccf9dc0dcc3dec6d2c7af3ae9e4ce72cb3be6 (6 files changed, 236 insertions(+), 1 deletion(-)); checks: bash scripts/tests/rehearsal-vm-mode-target-test.sh -> PASS: 7 checks (exit 0); two mutants — unscoped gate, warn-instead-of-refuse — each fail it; bash -n scripts/smoke-private-path.sh clean. The other 8 offline tests touching the smoke script: 6 PASS, 2 (rehearsal-cert-wall, rehearsal-rented-certs) fail identically on stashed HEAD — pre-existing, one needs gcc.. The session also named a residual fault — it is being filed and will block the drive.

rehearsal healer: drive `20260903T144614Z` red at `agent-install` (sig f719667ae384) self-fixed — commit `e7dccf9dc0dcc3dec6d2c7af3ae9e4ce72cb3be6` (6 files changed, 236 insertions(+), 1 deletion(-)); checks: bash scripts/tests/rehearsal-vm-mode-target-test.sh -> PASS: 7 checks (exit 0); two mutants — unscoped gate, warn-instead-of-refuse — each fail it; bash -n scripts/smoke-private-path.sh clean. The other 8 offline tests touching the smoke script: 6 PASS, 2 (rehearsal-cert-wall, rehearsal-rented-certs) fail identically on stashed HEAD — pre-existing, one needs gcc.. The session also named a residual fault — it is being filed and will block the drive.

drive 20260903T144614Z RED — now blocked by: #1186 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260903T144614Z` RED — now blocked by: #1186 (evidence on each). The drive re-fires when the last blocker closes.

drive 20260903T153215Z RED — now blocked by: #1191 #1193 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260903T153215Z` RED — now blocked by: #1191 #1193 (evidence on each). The drive re-fires when the last blocker closes.

drive 20260903T165418Z RED — now blocked by: #1197 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260903T165418Z` RED — now blocked by: #1197 (evidence on each). The drive re-fires when the last blocker closes.

gateway-image: snapshot advanced d9e35a2 → 8b0e2197e9b6 by elitebook-distributed-server-03 (#661 auto-rebuild — build.sh resolved the newest published agent ancestor, #654). The rented drive now boots current agent bits; no human build.sh run was needed. Rebuild timings: total 13m03s (provision 1m26s, nixos-install 1m43s, installer-base 7m50s, snapshot 1m26s) (#1139).

gateway-image: snapshot advanced `d9e35a2` → `8b0e2197e9b6` by elitebook-distributed-server-03 (#661 auto-rebuild — build.sh resolved the newest published agent ancestor, #654). The rented drive now boots current agent bits; no human build.sh run was needed. Rebuild timings: total 13m03s (provision 1m26s, nixos-install 1m43s, installer-base 7m50s, snapshot 1m26s) (#1139).

rehearsal healer: drive 20260903T195021Z red at decline-resume (sig 77e1014ecd4d) self-fixed — commit 5c5c6d1415674c84a37c9ad1999ddbebca4d160e (3 files changed, 110 insertions(+)); checks: pnpm --filter app exec vitest run tests/e2e/fixtures/deviceAdd.test.ts -> PASS, 54 passed (54), 1 file. Plus an offline dry-run of the rendered command against a local tar server: happy path stages all five members (exit 0); three mutants each fail non-zero and leave the prior slot intact — 404 doorway (curl exit 22), bundle missing qemu-img (test, exit 1), gateway serving HTML not a tar (tar, exit 2); sh -n clean. tsc --noEmit clean on all three touched files (the two reported errors are pre-existing *.vue typing errors in src/bootstrap.ts and tests/unit/appShell.test.ts, untouched here).. The drive stays armed; the next tick re-drives.

rehearsal healer: drive `20260903T195021Z` red at `decline-resume` (sig 77e1014ecd4d) self-fixed — commit `5c5c6d1415674c84a37c9ad1999ddbebca4d160e` (3 files changed, 110 insertions(+)); checks: pnpm --filter app exec vitest run tests/e2e/fixtures/deviceAdd.test.ts -> PASS, 54 passed (54), 1 file. Plus an offline dry-run of the rendered command against a local tar server: happy path stages all five members (exit 0); three mutants each fail non-zero and leave the prior slot intact — 404 doorway (curl exit 22), bundle missing qemu-img (test, exit 1), gateway serving HTML not a tar (tar, exit 2); `sh -n` clean. `tsc --noEmit` clean on all three touched files (the two reported errors are pre-existing *.vue typing errors in src/bootstrap.ts and tests/unit/appShell.test.ts, untouched here).. The drive stays armed; the next tick re-drives.

drive 20260903T204213Z RED — now blocked by: #1200 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260903T204213Z` RED — now blocked by: #1200 (evidence on each). The drive re-fires when the last blocker closes.

gateway-image: snapshot advanced 8b0e219 → 4110d6c0b814 by elitebook-distributed-server-03 (#661 auto-rebuild — build.sh resolved the newest published agent ancestor, #654). The rented drive now boots current agent bits; no human build.sh run was needed. Rebuild timings: total 13m24s (provision 1m13s, nixos-install 2m22s, installer-base 7m37s, snapshot 1m31s) (#1139).

gateway-image: snapshot advanced `8b0e219` → `4110d6c0b814` by elitebook-distributed-server-03 (#661 auto-rebuild — build.sh resolved the newest published agent ancestor, #654). The rented drive now boots current agent bits; no human build.sh run was needed. Rebuild timings: total 13m24s (provision 1m13s, nixos-install 2m22s, installer-base 7m37s, snapshot 1m31s) (#1139).

drive 20260903T211817Z RED — now blocked by: #1204 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260903T211817Z` RED — now blocked by: #1204 (evidence on each). The drive re-fires when the last blocker closes.

drive 20260903T223815Z RED — now blocked by: #1206 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260903T223815Z` RED — now blocked by: #1206 (evidence on each). The drive re-fires when the last blocker closes.

gateway-image: snapshot advanced 4110d6c → e86e9f00a92b by elitebook-distributed-server-03 (#661 auto-rebuild — build.sh resolved the newest published agent ancestor, #654). The rented drive now boots current agent bits; no human build.sh run was needed. Rebuild timings: total 12m45s (provision 0m47s, nixos-install 2m17s, installer-base 7m34s, snapshot 1m26s) (#1139).

gateway-image: snapshot advanced `4110d6c` → `e86e9f00a92b` by elitebook-distributed-server-03 (#661 auto-rebuild — build.sh resolved the newest published agent ancestor, #654). The rented drive now boots current agent bits; no human build.sh run was needed. Rebuild timings: total 12m45s (provision 0m47s, nixos-install 2m17s, installer-base 7m34s, snapshot 1m26s) (#1139).

drive 20260903T235617Z RED — now blocked by: #1208 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260903T235617Z` RED — now blocked by: #1208 (evidence on each). The drive re-fires when the last blocker closes.

drive 20260904T004019Z RED — now blocked by: #1209 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260904T004019Z` RED — now blocked by: #1209 (evidence on each). The drive re-fires when the last blocker closes.

gateway-image: snapshot advanced e86e9f0 → 432ffed1bc5c by elitebook-distributed-server-03 (#661 auto-rebuild — build.sh resolved the newest published agent ancestor, #654). The rented drive now boots current agent bits; no human build.sh run was needed. Rebuild timings: total 13m23s (provision 1m12s, nixos-install 2m36s, installer-base 7m21s, snapshot 1m32s) (#1139).

gateway-image: snapshot advanced `e86e9f0` → `432ffed1bc5c` by elitebook-distributed-server-03 (#661 auto-rebuild — build.sh resolved the newest published agent ancestor, #654). The rented drive now boots current agent bits; no human build.sh run was needed. Rebuild timings: total 13m23s (provision 1m12s, nixos-install 2m36s, installer-base 7m21s, snapshot 1m32s) (#1139).

drive 20260904T014213Z RED — now blocked by: #1210 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260904T014213Z` RED — now blocked by: #1210 (evidence on each). The drive re-fires when the last blocker closes.

gateway-image: snapshot advanced 432ffed → 15f494ec2781 by elitebook-distributed-server-03 (#661 auto-rebuild — build.sh resolved the newest published agent ancestor, #654). The rented drive now boots current agent bits; no human build.sh run was needed. Rebuild timings: total 13m50s (provision 0m54s, nixos-install 2m40s, installer-base 7m53s, snapshot 1m37s) (#1139).

gateway-image: snapshot advanced `432ffed` → `15f494ec2781` by elitebook-distributed-server-03 (#661 auto-rebuild — build.sh resolved the newest published agent ancestor, #654). The rented drive now boots current agent bits; no human build.sh run was needed. Rebuild timings: total 13m50s (provision 0m54s, nixos-install 2m40s, installer-base 7m53s, snapshot 1m37s) (#1139).

drive 20260904T095415Z RED — now blocked by: #1214 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260904T095415Z` RED — now blocked by: #1214 (evidence on each). The drive re-fires when the last blocker closes.

drive 20260904T105814Z RED — now blocked by: #1215 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260904T105814Z` RED — now blocked by: #1215 (evidence on each). The drive re-fires when the last blocker closes.

drive 20260904T153017Z RED — now blocked by: #1217 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260904T153017Z` RED — now blocked by: #1217 (evidence on each). The drive re-fires when the last blocker closes.

drive 20260904T165415Z RED — now blocked by: #1219 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260904T165415Z` RED — now blocked by: #1219 (evidence on each). The drive re-fires when the last blocker closes.

drive 20260904T174618Z RED — now blocked by: #1220 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260904T174618Z` RED — now blocked by: #1220 (evidence on each). The drive re-fires when the last blocker closes.

drive 20260904T184215Z GREEN end to end — evidence (legs.json, durations, trace, host facts) in test-results/drive-device/20260904T184215Z/ on the executor host; a representative screenshot is attached here if one was captured (#596). Closing per the standing instructions: the device journey passes, #183 is ready to be boring.

drive `20260904T184215Z` GREEN end to end — evidence (legs.json, durations, trace, host facts) in `test-results/drive-device/20260904T184215Z/` on the executor host; a representative screenshot is attached here if one was captured (#596). Closing per the standing instructions: the device journey passes, #183 is ready to be boring.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks Depends on
Reference
Matou/idss#1153
No description provided.