IDIP gate never sees credentials issued to an app-approved (presented) member — restricted services stay hidden after a panel issuance #2031
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#2031
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 happened
On Whakatōhea Demo (2026-09-30) a steward issued Emiliana (
ECmHlukToBzkeA50N9Z5GPy-AXZVymQF7WJwz43DtLX-,emi.tairea) the Administrator and Researcher credentials from the control panel. The panel showed both as issued, but her members Portal showed none of the restricted services: Calendar and Surveys (restricted tocommittee:administrator) and Data collections (restricted tocommittee:researcher).Cause
For a member the gate knows only as a presented holder (app-approved, ADR 0235 d.6, #1887), the gate reads the held-credential set from the presented row:
keria.GateRoster.presentedStandingreturnsp.Committees(internal/keria/gateroster.go:120). The app door fills that row from the one credential shown at sign-in, which is Membership (internal/idp/appdoor.go:517,Committees: id.Claims.Komitis).Credentials issued afterwards are separate ACDCs. The bridge hands them to the credential directory (ADR 0291,
from=seat-backfill), and nothing in the gate reads that directory. SoStandinganswersheld = [], andIdipGateDecider.deciderefuses every restricted service with "restricted — holds no opening credential".GET /api/v1/me/doorsomits the doors.Live evidence (box
/var/lib/idss/keria/roster.json+idss-control-planejournal):credential directory: credential recordedforENaaUg_8…andEEQqje4…(holder ECmHluk…): the issuance landed.idip roster: presented holder recordedfor the same AID. The row was rewritten, andcommitteesis stillnull.administrators(presented Administrator, ADR 0289) does not list her. That list is written only when a holder presents Administrator at the panel door.Only anchored-roster members (
RosterEntry.Held, written byAnchorCredentialIssuance) ever carry credentials to the gate. On an IDIP community every app-approved member is presented-only, so no credential issued from the panel opens a restricted service for them.Fix (Ben, 2026-09-30: build it)
The gate's held set for a presented holder is the credential directory's live credentials for that AID: their definition slugs, each checked against the witnessed ledger on the read, the same liveness ADR 0291's directory already applies. Consequences:
credschema.HoldsAdministrator(held, …)then sees it;Not chosen: folding every held credential into the presented row at sign-in. That goes stale for any issuance or revocation between sign-ins.
Acceptance criteria
researchercredential in the credential directory is allowed at a service restricted tocommittee:researcher, and the door appears inGET /api/v1/me/doors.Demo hand-state to undo once this is live
Calendar, Surveys and Data collections were opened to all members by hand (config repo commit
eecb22c; the restricted matrix is kept at tagbefore-open-all-2026-09-30). Restore that matrix after the fix reaches the demo, then check Emiliana's Portal.Built on
session/gate-reads-credential-directory→ PR #2033 (a8c5db35). Tests green (keria, directory, controlapi, control-plane). RunningHeldByover the demo's realdirectory.jsonreturns Emiliana's administrator + researcher copies. Still owed: merge, the release reaches the demo, restore the matrix from config tagbefore-open-all-2026-09-30, then check her Portal live.PR #2033 MERGED → main
eb674e1c(Ben, 2026-09-30). The GOTCHAS entry is #387 because main took #386 first. Still owed: a release carryingeb674e1creaches the demo, restore the matrix from config tagbefore-open-all-2026-09-30, check Emiliana's Portal live, then close.Closed 2026-10-21 (Ben's ruling): folded into the drive checklist #2055 — the live proof this ticket still owed is now a checklist item there, to be carried by the next drives on the latest versions. A proof that fails on the drive becomes a NEW ticket; this one is not reopened.