broker: stop TTL-reaping rented community gateways — keep release-owed retries and rehearsal TTLs (amends ADR 0189 ruling 1) #2202
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.
Dependencies
No dependencies set.
Reference
Matou/idss#2202
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?
What
Ben ruled 2026-11-19: a rented community gateway is never destroyed because its lease lapsed. The broker's reaper (
Rentals.Reap,broker/internal/broker/rentals.go, run every 5 min fromcmd/broker/main.go) destroys every unreleased rental whoseExpireshas passed — so a founder who closes the operator app for more than the 24h default TTL (ADR 0189 ruling 1) loses their gateway, mid-founding or after. Stop that.Ruling (Ben, 2026-11-19 — this amends ADR 0189 ruling 1)
ReleaseOwed, #756 — the member already gave it up and the provider refused the destroy) is still retried every pass.idss-gateway-rehearsal-*/ rehearsal host this repo's own drives rent is still reaped on lapse — the same classscripts/rental-reap.shis already allowed to destroy. Real-community rentals are reported, never deleted (that sweep already behaves this way; the broker now matches it).Release, not the TTL.idss-rental-expires-<epoch>tag and the renew heartbeat stay — the lease is still the record of "is anyone still here", it just no longer kills the box.Why
The founder may legitimately step away for longer than a day (registrar DNS, #2184/#2186; a weekend). Until operator email is verified (ticket filed alongside this one) there is no way to reach a founder whose box was reaped, and nothing in the app explains it. Ben accepts the cost: an abandoned box with no heartbeat bills until the monthly manual sweep.
Task manifest
The same commit amends ADR 0189 (an Amended 2026-11-19 note under ruling 1 citing this ticket), updates
STATUS.md, and touches anydocs/architecture/diagram that encodes the TTL reap.broker/**is a deployed-service tree: once merged this goesdeploy-pendinguntil the broker install carries it.Related: ADR 0189, #741, #756, #758,
scripts/rental-reap.sh, #2184, #2186.Siblings filed together from the #2184/#2186 design interview (Ben, 2026-11-19): #2202 (no TTL reap), #2203 (verify the operator email at S2), #2204 (congratulations + 30-day invoice email, blocked by #2203).
swarm-claim host=matou-dev-server-01 run=67383
(automated multi-host claim — lowest live claim id works this ticket)
⏩ independent reviewer for #2202 — verdict
unauthenticatedreview JSON
close-report for #2202 — status
success✅ close-report gates passed — every claim verified against the pushed worker branch
sandcastle/worker/20261119145335-2652841(pre-land — the host promotes it tomainonly after its post-run verify, #193/#283); issue closed.envelope