rehearsal-3: executor target — --target selfhosted joins droplet (REHEARSAL_DRIVE_TARGET, default unchanged) #522
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
1 participant
Notifications
Due date
No due date set.
Blocks
Reference
Matou/idss#522
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 rehearsal phase 3 — gateway from home (spec
docs/superpowers/specs/2026-08-14-183-phase-3-home-gateway-rehearsal-design.md, plandocs/superpowers/plans/2026-08-14-183-phase-3-home-gateway-rehearsal.md).The plan section below is the work, verbatim; its Interfaces block names what neighbouring tasks consume — keep those names exact.
Global constraints (apply to every step)
CONTEXT.md) in ALL copy, comments,commit messages: founding, gateway, agent, install command,
enrollment code — never installer/daemon/token/join-key.
error with the real reason, never a silent skip or a made-up value.
install command is a doorway, not a kept tool (ADR 0028).
closes #NNN(or any close keyword) in commits or issue bodiesfor the standing drive issue family — say "advances #NNN". Even DESCRIBING a
close can auto-close (2026-08-10 lesson, twice).
STATUS.mdin the same commit(CLAUDE.md rule); the drive-issue minting commit (Task 9) carries the
STATUS + runbook update for the whole arc.
.sandcastle/.env(it forwards into worker containers);host-only secrets live in the executor's
rehearsal-env.sh(2026-07-11lesson).
Task 8: Machinery — the one
--target selfhostedadditionFiles:
scripts/smoke-private-path.sh(target enum + spec mapping)scripts/rehearsal-cycle.sh(target fromREHEARSAL_DRIVE_TARGET,default
droplet— zero behavior change until the env is set)scripts/lib/rehearsal-droplet.shONLY if the run-dir name ishardwired (
drive-droplet→ derive from target).Interfaces:
Consumes: the existing target plumbing (smoke-private-path.sh:62's enum,
rehearsal-cycle.sh:46's invocation).
Produces:
--target selfhosteddrivesjourney.selfhosted.spec.tswith thedroplet create/evidence/teardown machinery unchanged; executor behavior is
byte-identical until
REHEARSAL_DRIVE_TARGET=selfhostedis exported inrehearsal-env.shat arming time.Step 1: Add
selfhostedto the target enum; map it to the new spec;derive the run dir (
test-results/drive-selfhosted). Reject--drivewithit exactly as the droplet target does.
Step 2:
rehearsal-cycle.sh:target="${REHEARSAL_DRIVE_TARGET:-droplet}"and pass
--target "$target"; the GREEN-close comment text staysissue-number-generic (it already reads
REHEARSAL_DRIVE_ISSUE).Step 3: Dry-run both paths (
bash -n, then--target selfhostedagainst a missing spec fails loud pre-droplet); commit —
rehearsal: the executor can aim the drive at a target (selfhosted joins droplet, spec 2026-08-14).swarm-claim host=elitebook-distributed-server-03 run=5893
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #522 — status
success✅ close-report gates passed — every claim verified against main; closing.
envelope