.sandcastle/.env.example should document REHEARSAL_DRIVE_TARGET=rented (phase-4 arming, deferred from #651) #653
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.
Dependencies
No dependencies set.
Reference
Matou/idss#653
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?
The phase-4 rented-gateway rehearsal Task 7 (#651) asks, among its script edits, that
.sandcastle/.env.exampledocument the new drive target — a comment/value pointing atREHEARSAL_DRIVE_TARGET=rented(today it readsREHEARSAL_DRIVE_TARGET=selfhostedat line 60, andREHEARSAL_DRIVE_ISSUE=523at line 56, a now-closed issue).Why this is a separate issue:
.sandcastle/is a protected path (#445 tree-fingerprint). A Sandcastle agent editing it would have the change rolled back and the run failed loud, so #651 landed every non-protected part (smoke-private-path.sh--target rented,oc_rented_preflight/oc_rented_cleanup/oc_rented_teardown, the offline test, GOTCHAS #48, STATUS.md) and deferred only this doc line.Proposed change (a session applies it):
.sandcastle/.env.exampleline ~58-60: add a comment notingrentedis a valid target (the phase-4 rented-gateway path — the wizard rents its gateway from the broker mid-drive). When #652 (the phase-4 standing drive) is armed, this becomesREHEARSAL_DRIVE_TARGET=rentedalongsideREHEARSAL_DRIVE_ISSUE=652, matching the arming ritual in #652's body.Note this is coupled to the #493/#575 split-brain discipline: the drive-issue value in
.env.exampleis single-sourced withscripts/lib/swarm-identity.sh+ the three protected.sandcastle/script defaults. Arming phase-4 flips all of them together — so this edit is best done as part of the #652 arming, not standalone. Filed from #651 (Task 7) per the CLAUDE.md protected-path rule.Ruled by agent under ADR 0174 — veto anytime.
Ruling: landed the proposed change as a two-way door — a comment-only edit to
.sandcastle/.env.example(a protected.sandcastle/path per #445, henceready-for-sessionrather than swarm-claimable). No credentials, no security-posture widening, no live-infra action. Revertible by commit; provable by the existing offline suites (env-allowlist-lib-test.sh,run-swarm-env-guard-test.sh,scripts/tests/rehearsal-rented-target-test.sh), all green before and after.What landed (commit
c09a75f4):.sandcastle/.env.example'sREHEARSAL_DRIVE_TARGETcomment (line ~58) now namesrentedas the phase-4 path (the wizard rents its gateway from the broker mid-drive, ADR 0189), alongside the existingselfhosted/droplet-default options, and notes the value flips torented(withREHEARSAL_DRIVE_ISSUE=652) only once #652 arms per its own ritual. As the ticket itself specified, this is doc-only — the actual default staysREHEARSAL_DRIVE_TARGET=selfhosted(#523's phase-3 value); flipping the live defaults is #652's arming act (Ben's!), per the #493/#575 single-sourcing discipline, and out of scope here.STATUS.mdupdated in the same commit per the repo convention.Proof:
bash .sandcastle/tests/env-allowlist-lib-test.sh(8 scenarios),bash .sandcastle/tests/run-swarm-env-guard-test.sh(4 scenarios),bash scripts/tests/rehearsal-rented-target-test.sh(6 checks) all green — none depend on the exact comment wording, confirming the doc change is inert to existing tooling.bash -nclean on the touched file.Pushed to
main:c09a75f4(rebased cleanly ontob9f07f76, #654's concurrent commit — merged the twoSTATUS.md"Last updated" head entries in order).Advances #653. Closing — the ticket's own scope (a comment noting
rentedis valid) is fully landed; the value-flip itself is #652's job.