front door: the apex gate swallows the wallet's own routes — the space-ID door (<api_url>/spaces) and the descriptor's join_url both answer a browser sign-in redirect, so the first-steward fallback cannot run on a real gateway #1645
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#1645
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 the live gateway does (debug IDIP fire 10,
20260920T005201Z,d57c8289, founded communityrehearsal-f.idss.nz)The descriptor is now served as 1.1 from outside (#1638 proven live) and names:
api_url: https://<apex>/api/v1/idipboot.join_url: https://<apex>/joinProbed from outside, with no browser session:
GET /api/client-config,GET /api/configGET <api_url>/spaces/challenge/authz/signin?rd=…POST <api_url>/spaces/authz/signinGET /join,/join/<x>/authz/signin/idip/join/<x>,/haere-mai/<x>Why it matters
<api_url>/spaces/challengeand posts its presented operator Membership credential to<api_url>/spaces. The wallet is an app on a phone — it has no front-door cookie and cannot follow a browser sign-in.apexAllowList(internal/clan/frontdoor.go) does not carry the two paths, so ADR 0247's apex gate answers before the door's own verifier ever runs. The "later" scenario — the only one designed for — cannot complete on a real gateway. Same family as GOTCHAS #272 (a non-browser caller through the front door).boot.join_urlpoints at a gated page.orgconfig.JoinURLrenders<apex>/join; a person joining has no session by definition. The ungated join doors on the apex are/idip/join/*and/haere-mai/*.The decision (Ben's — this widens what the apex serves without a community session)
Recommended: add exactly
/api/v1/idip/spacesand/api/v1/idip/spaces/challengeto the apex allow-list. The door already authenticates every post itself (DoorVerifier +role: operatorclaim + roster check), remembers nothing, fails closed when the ledger is unreachable, and first write wins; the challenge read hands out a single-use two-minute nonce and nothing else. Nothing else under/api/v1/idip/*opens.Alternative: serve the door on the sign-in host (
id.<apex>, already ungated) and moveapi_url— a wire change for matou-app and the golden fixture.For
join_url: either the descriptor names an ungated app-first page, or/joinjoins the allow-list as a static page. Needs a look at what matou-app does withboot.join_urlfirst.Acceptance (once ruled)
GET <api_url>/spaces/challengeanswers the golden challenge shape;POST <api_url>/spaceswith no proof answers the door's own 401, never a 302.boot.join_urlanswers 200 from outside with no session./api/v1/idip/*route still redirects.Blocks the live pairing/sign-in proofs (#1522, #1531).
boot.join_urlnames<apex>/join— a page that does not exist and sits behind the apex gate; nothing reads it yet #1649Ruled by Ben 2026-09-20: go with the recommendation. Landed
ce479c6a—apexAllowListopens EXACTLY/api/v1/idip/spacesand/api/v1/idip/spaces/challenge; a red-first render test pins that nothing else under/api/v1/idip/opens and that the allow-list renders before the gate. The browser proof still works through the same route (on the IDIP path the control plane reads its own session cookie, not the identity header the allow-list strips). ADR 0226 ("The door is reachable without a front-door session") + ADR 0247 amended, GOTCHAS #281.Render-proven, live-unproven — the next IDIP drive should probe both routes from outside with no session (expect the challenge shape, and the door's own 401 on an empty post).
The
join_urlhalf is split to #1649: matou-app parses the field and never reads it, and no bare/joinpage exists, so it blocks nothing.