rehearsal: provision the swarm substrate to drive the droplet target — the #378 cycle run by the swarm #380
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.
Depends on
Reference
Matou/idss#380
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?
Part of the #183 rehearsal ratchet. #377 proved the substrate cannot run the LOCAL-GUEST drive (no kvm, no init, below the 6144 floor) and confirmed ADR 0132's boundary. The droplet target is a different animal: no local guest, floor = 2048 MiB (the container's observed 4.4 GiB clears it), payload =
control-plane+dashboardonly. With #379 landed, the remaining distance to a swarm-driven #378 cycle is provisioning, not architecture.Blocked by #379 (the unconditional
systemctlgate refuses in the container today).Provisioning checklist (the container/runner the drive jobs use)
nix develop .#e2eworks in the container (brings xvfb-run; nix 2.35.1 already present per #377 host facts)pnpm approve-buildsinapp/+ reinstall (pnpm denies its postinstall by design)pnpm --filter app exec playwright install chromiumcontrol-plane,dashboard) +OURCLOUD_PAYLOAD_DIR— the staleness gate refuses a payload older than the newest tree commit, so the job must rebuild or refresh itOURCLOUD_BROKER_URL,DIGITALOCEAN_ACCESS_TOKEN(already in.sandcastle/.envon the workstation perscripts/lib/rehearsal-droplet.sh:17),REHEARSAL_DRIVE_ISSUE=378.claude/skills/clan-lab/clan-labin the job's checkout, and the workstation's SSH key registered on the DO account (rehearsal-droplet.sh:39)Then: the declaration
When the checklist holds and a droplet
--dry-runpasses from the substrate, flipping #378 toready-for-agentis the declaration of readiness (Ben's call, per #378's lifecycle). The first drives are EXPECTED to red at the pairing frontier until #368 lands — that red is the ratchet working: the reporter (#373) files/blocks, blockers close, the cycle re-drives. A swarm that can run this drive is the swarm running e2e.Explicitly out of scope
standup-privatelanding) and still needs one KVM-capable, ≥6144-MiB host — the droplet journey branches to own-VPS at S4 and cannot substitute.Evidence trail: #377 comment 5152, #378 comment 5188.
Parked (Ben's ruling, 2026-08-10): the cycle runs on the host cron.
scripts/rehearsal-executor.shon matou-workstation's crontab is #378'sexecutor — DO/broker secrets stay on the workstation host, outside the swarm
containers. Labelling
no-triage.This ticket stays as the swarm-native alternative if the loop ever wants it:
its checklist is current, and #377's re-scoped run will land the
browser/electron items in the container anyway. Re-arm by flipping
ready-for-agent— nothing here blocks the ratchet.Closing as superseded (Ben, 2026-08-23).
The 2026-08-10 ruling that parked this — the cycle runs on a host cron, DO/broker secrets stay outside the swarm containers — has since been entrenched rather than eroded:
rehearsal-env.shis host-scoped; two boxes drive two standing drives).The one thing that changed since filing —
--target rentedneeds no/dev/kvm— doesn't move the secrets argument: a swarm-native executor puts a DigitalOcean token and the broker claim secret inside a sandbox worker, which is a security-posture widening (ADR 0174 one-way door), not a convenience. ADR 0132's "a slice, not CI" ruling stands.Re-open if the host crons are ever retired. The narrower, posture-neutral ask — registering the executor in dev-factory's host registry so it gets the same backstop/observability as
healer/triage— is a dev-factory ticket, not this one.ben referenced this issue2026-09-30 05:06:58 +00:00