founding v2: NOTHING is triggered until Build it — the address is only checked and the VPS is only chosen; the claim and the rent move to create-community #1404
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#1404
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?
Access moved to the head of the Infrastructure layer (
db0f5ebd, Ben's ruling2026-09-11), which put it after Address in the walk. It used to come before.
That reordering introduced a leak the old order made impossible:
<slug>.idss.nzwith the broker —a real reservation in the broker's registry (
broker.Registry.Claim, ADR 0049).public face.
Orchestrator.ChoosePrivate(internal/founding/access.go) setsd.Address = nil. That is correct and stays (Ben's ruling 2026-09-11: theprivate path ignores the address, and
handoff.goreadsDraft.Address.Hostto build the portal URL — a private community must not be handed an
https://address a loopback VM never answers at).will never point it anywhere, and the draft no longer even records that it
exists.
This is the machine-side leak ADR 0189 ruling 5 ("abandonment releases") exists
to prevent, on the names side. ADR 0114 governs name issuance; a claim with no
holder and no record is exactly what neither record intends.
Why it could not happen before
Under the old order — Access, then Address — choosing private advanced straight
to Review and the Address step was never shown, so no claim was ever made. Every
"the Address step was skipped" comment in
internal/founding/privatepath.go(lines 59, 209, 530, 887, 982) is written against that assumption; they are still
correct about the draft, and now misleading about the broker.
What this should do
ChoosePrivatecallsthe broker's release/unclaim for the reserved subdomain before it drops the
record, and an already-released or never-claimed name is a no-op, not a fault.
If the broker has no release for a name reservation (it has one for rentals),
that is the first thing to build.
answer, not a transaction: a broker that refuses the release leaves the choice
recorded and the failure honest and retriable (the ADR 0189 amendment for #756
set the pattern — a release that did not land is owed, not forgotten).
ChoosePrivate's ownsummary says "going public is a later step". If a private community is
expected to take its claimed name public later, the right answer may be to
KEEP the reservation and record it somewhere the hand-off cannot read as a
live address. State which, and why, in the ticket before building.
Acceptance
reservation held in the broker's registry for that slug (or holds it
deliberately, per the ruling in item 3 — whichever is decided).
walk.
failure surfaced, and the release owed.
it unreachable, so it has never been covered.
swarm-claim host=matou-dev-server-01 run=22172
(automated multi-host claim — lowest live claim id works this ticket)
swarm-claim host=elitebook-distributed-server-03 run=22172
(automated multi-host claim — lowest live claim id works this ticket)
Ruled by Ben, 2026-09-11 — nothing is triggered until the operator asks to BUILD
So, in v2:
Nothing is reserved.
create-community, the "Build it" act at the end of the stack)is the first thing in founding that touches the outside world: it claims the
name and rents the box, in that order.
This supersedes the fix this ticket proposed
There is no abandoned reservation if there is no reservation. The private-path
leak described above cannot happen once the claim moves to the build — by then
the operator has already chosen private, and a private community claims nothing.
So the work here changes shape: not "release the claim when private is
chosen", but "defer both side effects to the build". The three options in the
original body (release / refuse-honestly / hold deliberately) are moot.
What this needs
broker.Registry.Claim(broker/internal/broker/broker.go:263)claim-checks and reserves in one act — the reservation is authoritative and
mints the claim-time secret (ADR 0135). There is no availability-only path, so
the broker needs one, and it must be honest that availability is a snapshot,
not a hold.
Orchestrator.CreateCommunity(
internal/founding/preview.go:152) is today a soft-phase closer that touchesnothing external. It becomes the act that claims
<slug>.idss.nzand calls thebroker's rent with the size and region the operator chose.
RentServer'sexisting claim-before-rent ordering (ADR 0189 rulings 4/5) moves with it.
that checked available can be taken before the build runs; a chosen size or
region can be unavailable by then. The build must fail in place with the
draft intact and a route back to pick another name or size — never a dead end,
and never a half-built community (ADR 0047's "no half-rented server" applied to
the whole act).
IP and lands S5" — no longer holds: there is no IP at S4a, because nothing was
provisioned.
data-action="rent"and its "Rent this server" copy become achoice, not a purchase, and the line under it — "You will receive an invoice
from Mātou after your first month" — belongs with the act that actually commits
the community to the bill. DDR 0190 and ADR 0189 both need amending.
applying to rentals after the build, and stop applying to the soft phase,
where there is now nothing held to release.
Open — needs Ben
v1 shares these screens.
FoundingAccess.vueandFoundingAddress.vuearethe v1 wizard's screens too. Either v1 keeps rent-in-flow and the two surfaces
branch, or v1 moves with v2. v1 is being retired when v2 is finished, so the
cheap answer is probably "move both and let v1 follow", but it is a ruling, not
an assumption.
Note
Today's leak partly self-heals: an unredeemed reservation lapses on a TTL (#754),
so an abandoned name frees itself eventually. That is a mitigation, not the fix —
and this ruling removes the leak outright rather than tidying after it.
founding: choosing the PRIVATE path abandons a claimed <slug>.idss.nz reservation — Access moving after Address made the claim reachableto founding v2: NOTHING is triggered until Build it — the address is only checked and the VPS is only chosen; the claim and the rent move to create-communityBuild reference — v2 as built still rents at S4a and reserves at S5
FoundingRentCard.vue(action="rent", shared by S4a and the dialog) →FoundingAccess.vue:369 rentServer→access.go:479 RentServerclaims and rents NOW.The fake mirrors it (
founding.ts:3282 rentServerrecordsbrokerIPat once).FoundingAddress.vue:272 claimSubdomain→access.go:678reserves.foundingStack.ts sectionResponse('connect')reads "Arrives ready — rented when you build it".
So:
claim-subdomainon v2 = the broker's new check-only endpoint (a snapshot, not ahold — say so in the reason);
rent-serveron v2 records{preset, region}onAccessChoiceand NO ip;CreateCommunity(preview.go:152) claims, then rents (theRentServerbody moves there), and fails IN PLACE with the draft intact when the namewent or the size is gone. The fake follows:
rentServerrecords the choice,createCommunitymintsbrokerIP.PlannedDevice.priceand the invoice line belong tothe Confirm/Build screen, not the card.
Proposed default ruling on the open v1 question (ADR 0174 — veto anytime)
Both surfaces move; v1 follows v2 (v1 retires).
FoundingAccess.vue/FoundingAddress.vueare shared, so one implementation, no branch by surface. Revertible by a commit,
provable by the rented drive's
wizard-rent/claimlegs moving aftercreate.Broker change ⇒
deploy-pendingafter landing (deployed-service tree).Ruled by agent under ADR 0174 — veto anytime. The default above stands: one implementation, both surfaces (there is only the page now), the claim and the rent move into
create-community; the S4a card records{preset, region}and the Connect row already says "Arrives ready — rented when you build it". Two-way: a commit reverts it; the rented drive'swizard-rent/claimlegs prove it. Relabelledready-for-agent; the broker half landsdeploy-pending(deployed-service tree).swarm-claim host=matou-dev-server-01 run=22593
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1404 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope
journey.rented-device.spec.tson the standing rented community: Overview → Add a device → place → rent → the box calls in → the device card → remove → reap; GREEN is the only close #1400