rehearsal-7 Task 9: Executor target + the drive issue goes live #1165

Closed
opened 2026-09-02 19:05:07 +00:00 by ben · 2 comments
Owner

Task 9 of 9 — phase-7 VM-mode device rehearsal. Plan (READ ITS Global Constraints + Plan-time inventory first): docs/superpowers/plans/2026-09-02-183-phase-7-vm-device-rehearsal.md. Spec: docs/superpowers/specs/2026-08-29-183-phase-7-vm-device-rehearsal-design.md (RULED). Drive issue: #1153. Say "task 9 of #1153" in commits — NEVER "closes".

Task 9: Executor target + the drive issue goes live

Files: Modify scripts/smoke-private-path.sh / executor lib: --target device honors REHEARSAL_INSTALL_MODE=vm via a device-vm queue entry
(reporter marker rehearsal-target: device-vm); tracker: #1153 (already
minted as the umbrella) gets the drive markers (rehearsal-target: device-vm,
rehearsal-confirm: 1), priority, and loses no-triage ONLY at arm time;
elitebook queue append. STATUS.md phase-7-armed lead in the landing commit.

Interfaces: Consumes all. The drive is the test.

  • Step 1: Target wiring + reporter marker (offline: route/marker tests).
  • Step 2: Arm: queue append on elitebook-03, #1153 labels flipped, STATUS updated. Healer-first (#1144) is live from the first red.
> Task 9 of 9 — phase-7 VM-mode device rehearsal. Plan (READ ITS **Global Constraints** + **Plan-time inventory** first): `docs/superpowers/plans/2026-09-02-183-phase-7-vm-device-rehearsal.md`. Spec: `docs/superpowers/specs/2026-08-29-183-phase-7-vm-device-rehearsal-design.md` (RULED). Drive issue: #1153. Say "task 9 of #1153" in commits — NEVER "closes". ### Task 9: Executor target + the drive issue goes live **Files:** Modify `scripts/smoke-private-path.sh` / executor lib: `--target device` honors `REHEARSAL_INSTALL_MODE=vm` via a `device-vm` queue entry (reporter marker `rehearsal-target: device-vm`); tracker: **#1153** (already minted as the umbrella) gets the drive markers (`rehearsal-target: device-vm`, `rehearsal-confirm: 1`), `priority`, and loses `no-triage` ONLY at arm time; elitebook queue append. `STATUS.md` phase-7-armed lead in the landing commit. **Interfaces:** Consumes all. The drive is the test. - [ ] Step 1: Target wiring + reporter marker (offline: route/marker tests). - [ ] Step 2: Arm: queue append on elitebook-03, #1153 labels flipped, STATUS updated. Healer-first (#1144) is live from the first red.
Author
Owner

Task 9 is COMPLETE — closing so the executor's dependency gate on #1153 opens (this was the last open blocker; the tick already reads driving #1153 (target=device, mode=vm, confirm=1)).

Step 1 landed by the elitebook session-runner (c7ef26a8: the rehearsal_target_base/_mode map, executor exports, smoke --target device-vm fold + mode validation — offline suites green). Step 2 armed by the same session, ruled two-way under ADR 0174 on #1153: markers, labels (no-triage→ready-for-agent+priority+standing-drive), elitebook REHEARSAL_DRIVE_QUEUE=854,1153, STATUS armed lead. This session verified the arm end to end on the host and performs the close. First VM-mode drive fires on the next 2-minute tick.

Task 9 is COMPLETE — closing so the executor's dependency gate on #1153 opens (this was the last open blocker; the tick already reads `driving #1153 (target=device, mode=vm, confirm=1)`). Step 1 landed by the elitebook session-runner (`c7ef26a8`: the `rehearsal_target_base/_mode` map, executor exports, smoke `--target device-vm` fold + mode validation — offline suites green). Step 2 armed by the same session, ruled two-way under ADR 0174 on #1153: markers, labels (`no-triage`→`ready-for-agent`+`priority`+`standing-drive`), elitebook `REHEARSAL_DRIVE_QUEUE=854,1153`, STATUS armed lead. This session verified the arm end to end on the host and performs the close. First VM-mode drive fires on the next 2-minute tick.
ben closed this issue 2026-09-03 03:49:23 +00:00

Close-report — task 9 of #1153 DONE (both steps landed + armed). Ruled by agent under ADR 0174, veto anytime.

Step 1 — target wiring + reporter marker (offline-proven), commit c7ef26a8:

  • New pure map in scripts/lib/rehearsal-queue-lib.sh — rehearsal_target_base/rehearsal_target_mode: device-vm→(device,vm), every other target→(itself,full). One axis, never a forkable second target (#720/#851 one-spec discipline).
  • scripts/rehearsal-executor.sh exports the base target AND the derived REHEARSAL_INSTALL_MODE from the rehearsal-target marker (a full marker stays byte-identical to phase 5 — no mode exported before).
  • scripts/smoke-private-path.sh accepts --target device-vm (folds into the SAME device machinery + journey.device.spec.ts + standing community + carrier), validates the mode by name (a bogus REHEARSAL_INSTALL_MODE reds at second 0 — the cannot-fail check), and derives OC_E2E_DEVICE_MODE from REHEARSAL_INSTALL_MODE so the carrier and journey provably run ONE mode (deviceAdd.ts assertCarrierModeAgrees reds at leg 1 if they diverge).
  • New offline test scripts/tests/rehearsal-vm-mode-target-test.sh (6 checks). Proof: rehearsal-vm-mode-target 6 · rehearsal-queue 5 · rehearsal-device-target 20 · rehearsal-rented-target 24 · rehearsal-drive-log 10 · device-evidence-order 11 — all GREEN; phase-5 device/rented paths byte-identical.

Step 2 — arm (commit 73852b84, STATUS phase-7-armed lead):

  • #1153: drive markers added (rehearsal-target: device-vm, rehearsal-confirm: 1); labels flipped no-triage → ready-for-agent + priority + standing-drive; ADR 0174 ruling posted.
  • elitebook-03 host env: REHEARSAL_DRIVE_QUEUE=854,1153 (after the CLOSED #854), REHEARSAL_DRIVE_ISSUE=1153 (backed up: idss-env.sh.bak-1165-*).
  • Executor checkout (/home/swarm/swarm/Matou/idss) pulled to the armed HEAD 73852b84.
  • End-to-end route verified against the live tracker + armed env: queue pick → #1153 → REHEARSAL_DRIVE_TARGET=device, REHEARSAL_INSTALL_MODE=vm, confirm=1; the only open blocker was this ticket.

Two-way-door justification (ADR 0174): routine lab-droplet spend only; fully revertible (de-queue + re-label); 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" — was already answered KVM GO on s-4vcpu-8gb (Task 7, #1163).

Closing this session ticket unblocks #1153; the executor then drives it in vm mode on its next tick (healer-first #1144 live from the first red). This advances #1153 — its own GREEN ledger (confirm 1) marks it done, per the standing machinery.

**Close-report — task 9 of #1153 DONE (both steps landed + armed). Ruled by agent under ADR 0174, veto anytime.** **Step 1 — target wiring + reporter marker (offline-proven), commit `c7ef26a8`:** - New pure map in `scripts/lib/rehearsal-queue-lib.sh` — `rehearsal_target_base`/`rehearsal_target_mode`: `device-vm`→(`device`,`vm`), every other target→(itself,`full`). One axis, never a forkable second target (#720/#851 one-spec discipline). - `scripts/rehearsal-executor.sh` exports the base target AND the derived `REHEARSAL_INSTALL_MODE` from the `rehearsal-target` marker (a `full` marker stays byte-identical to phase 5 — no mode exported before). - `scripts/smoke-private-path.sh` accepts `--target device-vm` (folds into the SAME `device` machinery + `journey.device.spec.ts` + standing community + carrier), validates the mode by name (a bogus `REHEARSAL_INSTALL_MODE` reds at second 0 — the cannot-fail check), and derives `OC_E2E_DEVICE_MODE` from `REHEARSAL_INSTALL_MODE` so the carrier and journey provably run ONE mode (`deviceAdd.ts` `assertCarrierModeAgrees` reds at leg 1 if they diverge). - New offline test `scripts/tests/rehearsal-vm-mode-target-test.sh` (6 checks). Proof: `rehearsal-vm-mode-target` 6 · `rehearsal-queue` 5 · `rehearsal-device-target` 20 · `rehearsal-rented-target` 24 · `rehearsal-drive-log` 10 · `device-evidence-order` 11 — all GREEN; phase-5 `device`/`rented` paths byte-identical. **Step 2 — arm (commit `73852b84`, STATUS phase-7-armed lead):** - #1153: drive markers added (`rehearsal-target: device-vm`, `rehearsal-confirm: 1`); labels flipped `no-triage` → `ready-for-agent` + `priority` + `standing-drive`; ADR 0174 ruling posted. - elitebook-03 host env: `REHEARSAL_DRIVE_QUEUE=854,1153` (after the CLOSED #854), `REHEARSAL_DRIVE_ISSUE=1153` (backed up: `idss-env.sh.bak-1165-*`). - Executor checkout (`/home/swarm/swarm/Matou/idss`) pulled to the armed HEAD `73852b84`. - End-to-end route verified against the live tracker + armed env: queue pick → **#1153 → REHEARSAL_DRIVE_TARGET=device, REHEARSAL_INSTALL_MODE=vm, confirm=1**; the only open blocker was this ticket. **Two-way-door justification (ADR 0174):** routine lab-droplet spend only; fully revertible (de-queue + re-label); 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" — was already answered KVM GO on s-4vcpu-8gb (Task 7, #1163). Closing this session ticket unblocks #1153; the executor then drives it in vm mode on its next tick (healer-first #1144 live from the first red). This advances #1153 — its own GREEN ledger (confirm 1) marks it done, per the standing machinery.
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.

Reference
Matou/idss#1165
No description provided.