rehearsal-9 Task 6: Executor target rented-services (smoke allowlist + machinery + rented teardown belt + cycle freshness gate), offline pin, rehearsal-drive.md markers, then ARM the drive issue on the workstation queue #1490
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Blocks
Depends on
Reference
Matou/idss#1490
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Phase 9 (provision on founding) task 6 of 6. Spec:
docs/superpowers/specs/2026-09-15-183-phase-9-provision-on-founding-rehearsal-design.md. Plan (read the header, Global Constraints and plan-time inventory first — the Interfaces block below is how tasks learn each other's names):docs/superpowers/plans/2026-09-15-183-phase-9-provision-on-founding-rehearsal.md.Acceptance = every checkbox step below done, its verification commands green, one commit in the repo's voice. A blocked_by edge on this ticket names the task whose Interfaces it consumes.
Task 6: Executor target
rented-services, offline pins, docs, the drive issue, armFiles:
scripts/smoke-private-path.sh:99-100, 146, 1000(allowlist + refusal text;uses_droplet_machinery; teardownrented|rented-services)scripts/rehearsal-cycle.sh:431(rented|rented-services|device)scripts/tests/rehearsal-rented-services-target-test.sh(copy ofrehearsal-v2-fleet-target-test.sh, target renamed)docs/operator-app/rehearsal-drive.md:260-262(marker list current:rented-device | v2-fleet | local-brands | rented-services)STATUS.mdheader line at arm.Interfaces: Consumes Task 5's spec file name (
journey.rented-services.spec.tsderives from the target,smoke-private-path.sh:256). The drive is the test.Step 1: Offline pin first — write the test (copy v2-fleet's four checks; check 3 must show the FOUNDING slug claimed; check 4 the spec exists). Run
bash scripts/tests/rehearsal-rented-services-target-test.sh→ fails on check 1 (unknown --target).Step 2: Wire the three
smoke-private-path.shsites and the cycle's freshness gate. The teardown:elif [[ "$target" == "rented" || "$target" == "rented-services" ]]; thenat:1000(the box is released by the spec'sreleaseleg + afterAll;oc_rented_cleanupis the harness belt, exactlyrented's). Also the other"$target" == "rented"sites at:544, :621, :666, :843— read each; those that gate rented PREFLIGHT/announce apply torented-servicestoo (same box, same slug ownership); mirror them with the same||. Run the new test → 4/4; runscripts/tests/rehearsal-rented-target-test.shandrehearsal-v2-fleet-target-test.sh→ unchanged green;--dry-run --target rented-servicesprints the founding slug announce.Step 3: Docs —
rehearsal-drive.mdmarker list; one line under "The standing community" noting phase 9 is a FOUNDING target (own slug, no standing community).Step 4: Commit —
sandcastle: phase 9 — the rented-services executor target (allowlist, droplet machinery, rented teardown belt, gateway-image freshness) + its offline pin; rehearsal-drive.md marker list brought current.Step 5: The drive issue (mint at plan → tickets time, body carries): title
standing drive: PROVISION ON FOUNDING — journey.rented-services.spec.ts: Files placed on a RENTED gateway at the founding page, the founding's own Nextcloud proven (services-row → hand-off-card → sign-in → files-healthy → door → branded-login → oidc-admin → branded-chrome → release); GREEN is the only close; markers<!-- rehearsal-target: rented-services --><!-- rehearsal-confirm: 1 -->; the leg table; the expected-first-reds list from the spec; the three frames Ben eyeballs (artifacts/hand-off-files-card.png,artifacts/nextcloud/login.png, the admin frame fromoidc-admin); labelsstanding-drive,priority,no-triageuntil Tasks 1–6 close; nativeblocked_byon all six task tickets (forgejo_add_dependency, body{index, owner, repo}).Step 6: Arm (session, after Task 6's commit is on main and the workstation runner clone is at it): append the issue number to
REHEARSAL_DRIVE_QUEUEin the workstation's~/swarm/idss-env.sh(never leave the var empty — GOTCHAS: an empty queue var is not a pause); dropno-triage; STATUS header "phase 9 ARMED". Watch the first fire: thepick-files/place-fileslegs are the first new UI walked live;activationis the first suspect if the Nextcloud closure runs long.Ruled by agent under ADR 0174 — veto anytime. Session on bens-mac-04 (the standing-session drainer picked up this
ready-for-sessionticket here; the prompt preamble's "matou-workstation" is the generic template — the real host is bens-mac-04).What landed (Steps 1–5) — two-way door, offline-proven
The
rented-servicesexecutor target (phase 9).rented-servicesfounds on a wizard-rented gateway exactly as #1447'srenteddrive does (runRentedPrefix; the journey spec references noOC_E2E_DROPLET_IP), so it mirrorsrented's whole box lifecycle at every gating site rather than the harness-create path:scripts/smoke-private-path.sh: allowlist + refusal text (:98-101),uses_droplet_machinery(:146), pre-rent preflightoc_rented_preflight(:544), gateway-image-staleness park #656 (:621), dry-run announce (:666),oc_rented_certs_arm(:843), and the wizard-rent teardown beltoc_rented_cleanupbydroplet-ip.txt(:1000).:760oc_droplet_createEXCLUSION —&& "$target" != "rented-services". This is the one site the ticket's== "rented"list did not name (it's a!=site). I read it and mirrored it anyway: without it a wizard-rent target would harness-create a second, unused droplet beside the wizard's (double spend + leak). The spec's "exactly as #1447's rented drive" and the plan's Global Constraint require it. Noted here as the one deviation from the ticket's explicit site list — a two-way door, revertible.scripts/rehearsal-cycle.sh:431: gateway-image freshness rebuild joinsrented|rented-services|device.swarm-identity's*)case sends every founding target toREHEARSAL_SLUG_FOUNDING(#1401).Proof (offline): new
scripts/tests/rehearsal-rented-services-target-test.sh4/4 (target accepted + joineduses_droplet_machinery;--driverefused beside it; unknown target still rejected by name; the FOUNDING slug claimed, never the standing one;journey.rented-services.spec.tson disk). Regression-green and unchanged:rehearsal-rented(25),v2-fleet(4),device(21),local-archive(8),local-brands(6),vm-mode(7),rehearsal-queue-test.sh.bash -nclean on both scripts.Docs (
docs/operator-app/rehearsal-drive.md): marker list brought current (rented-device | v2-fleet | rented-services | local-brands) + a note that phase 9 is a FOUNDING target (own slug, no standing community).Drive issue #1491 (Step 5) was already minted at plan→tickets time and its body is complete (markers
rehearsal-target: rented-services+confirm: 1, the 19-leg table, expected-first-reds, the three frames Ben eyeballs, labelsstanding-drive/priority/no-triage, nativeblocked_byon all six task tickets). It is now blocked only by this ticket.Commits:
97705cb6(target + pin + docs),084fe3bd(STATUS).Why human — Step 6 (arm) is not done
The arm (Step 6) must append #1491 to
REHEARSAL_DRIVE_QUEUEin matou-workstation's~/swarm/idss-env.sh— ruling 4's carrier ("the workstation's rented executor rail"). This session cannot do it:idss-env.shis intentionally DISARMED and records GOTCHAS 53 ("one standing drive, ONE host; matou-workstation = the rented/founding carrier; never point this at a number a peer already drives"). Host env files are per-host, hand-maintained, "never in a repo"; bens-mac-04 has no SSH door to matou-workstation. Arming bens-mac-04's own queue instead would reassign the carrier against ruling 4 and against the drive-exclusive host registry — a spend + host-assignment decision, not a clean two-way door.pick-files/place-filesUI legs; a GREEN closes #1491 only once its screenshots are eyeballed (ruling 4). This is the founding-live-green executor frontier a one-shot session does not run.The arm, for a matou-workstation session/operator: with
97705cb6on the workstation's clone, append1491toREHEARSAL_DRIVE_QUEUEin~/swarm/idss-env.sh(never leave the var empty — an empty queue var is not a pause), dropno-triagefrom #1491, set the STATUS header to "phase 9 ARMED", and watch the first fire (activationis the first suspect if the Nextcloud closure runs long).Routing this
ready-for-human(not leftready-for-session) so it doesn't loop back onto a wrong/DISARMED host: the residue is a host-pinned arm + operator spend, best placed by hand or re-pinned to a matou-workstation session.Step 6 (arm) done from the laptop, 2026-09-15 —
1491appended toREHEARSAL_DRIVE_QUEUEin matou-workstation~/swarm/idss-env.sh(after the closed #1447; backup inenv-backups/),no-triagedropped andready-for-agentadded on #1491. The executor ticks every 2 min; the gateway-image freshness gate rebuilds the snapshot first if stale. Closing — this ticket was the last open blocker on #1491.