pairing T11b: the space-ID door takes a steward's presented credential — the wallet's fallback post needs no browser session (ADR 0226, 2026-09-18 ruling) #1608
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.
Blocks
You do not have permission to read 1 dependency
Reference
Matou/idss#1608
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?
Parent
Spec #1495 (community app pairing). Program map #1293 (the community wallet). Design contract: ADR 0226 — the spaces amendment (2026-09-15) and its new section "How the fallback's wallet proves it is a steward" (2026-09-18, Ben's ruling); ADR 0236 (the door verifies a presented credential in Go).
Follows #1520 (the space-ID door) and reuses #1523 (the Go verifier,
internal/keriauth.DoorVerifier). Unblocks matou-app #534 (the first-steward fallback).Why
#1520 gated
POST /api/v1/idip/spaceson the community SSO session — theidss_sessioncookie a browser holds after signing in at the front door. The caller this door exists for is a wallet app, which has no browser session and no way to get one. ADR 0226 said the wallet posts "over its existing steward authentication"; none existed. Ben ruled (2026-09-18): the wallet presents its steward credential with the post — the founder has held a Membership credential withrole: operatorsince founding, it reaches the app when they bring their identity in with their twelve words (DDR 0230 §4), and the gateway already has the verifier.What to build
The space-ID door accepts a second proof beside the browser session: a presented credential, verified on the spot, nothing remembered.
GET <api_url>/spaces/challengemints a single-use, two-minute challenge (the app door's rule, DDR 0246 §6) and answers the challenge id, its expiry and the door address the wallet must sign over —<api_url>/spaces, so a signature made for the sign-in site is worthless here and one made here is worthless there (ADR 0236 §5's binding, a separateDoorURL).POST <api_url>/spacestakes the three IDs (unchanged snake_case keys) plus an optionalproofobject —{aid, challenge_id, response, presentation}, exactly the four fields the app door's present route takes (internal/idp/appdoor.go),presentationbeing the bare credential CESR stream. Whenproofis present the door runskeriauth.DoorVerifier.Verifyover it, requires the verified claims to carryrole: operator, and then asks the same roster check every steward route asks (OperatorCheck.IsOperatoron the verified AID) — so a suspended or removed steward is refused the moment the roster says so, not when a ledger read next notices.proofis gated exactly as today (#1520's tests stand unchanged). Neither proof → 401.proof, the 204, the 409 (#1520's body, unchanged) and each refusal are pinned in one golden file underinternal/controlapi/testdata/, the same way the descriptor goldens are shared — matou-app #534 tests against a copy, so neither side guesses.Acceptance criteria
GET <api_url>/spaces/challengeanswers a fresh single-use challenge naming the door address to sign over; a challenge older than two minutes, or already spent (verified or refused), is refusedproofverifies, whose credential carriesrole: operator, and whose AID the roster holds as a live operator records the three IDs — 204, and the descriptor writer names them inanysyncon its next reconcile (#1520's path, unchanged)role: member) is refused 403 and records nothingproofbehaves exactly as #1520 built it; a request with neither is 401proofobjectBlocked by
Nothing open — #1520 and #1523 have landed.
Task manifest
swarm-claim host=bens-mac-04 run=26687
(automated multi-host claim — lowest live claim id works this ticket)
swarm-claim host=bens-mac-04 run=26687
(automated multi-host claim — lowest live claim id works this ticket)
swarm-claim host=elitebook-distributed-server-03 run=26693
(automated multi-host claim — lowest live claim id works this ticket)
swarm-claim host=bens-mac-04 run=26699
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1608 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope
<api_url>/spaces) and the descriptor'sjoin_urlboth answer a browser sign-in redirect, so the first-steward fallback cannot run on a real gateway #1645