ruling owed: a member approved in the app cannot be issued Administrator (or any credential) from the control panel — every steward act records against a roster row they do not have #1978
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#1978
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 is wrong
A member approved in the community app is in the community ledger but has no row in the gateway's roster (ADR 0235 d.3 retired the roster as standing; #1886/#1931 made the Members list read the ledger). Every steward act the panel offers on a member still records against the roster row, so for these members:
keria: no such member in the roster.GET /api/v1/idip/members/{aid}/credentials→ 409 (Registry.HeldCredentials→ErrNoSuchMember).KomitiCredentialDriver.grant→issueCredential,app/src/lib/komitiCredentials.ts), THEN records it (anchorGrant→POST /api/v1/idip/credentials/{slug}/issue→Registry.AnchorCredentialIssuance→ErrNoSuchMember→ 409). The credential exists in the ledger; the gateway never records it; the panel says "didn't finish issuing — nothing was half-granted", which is false; and the panel cannot revoke it afterwards, because revoke looks the SAID up in the roster's held list.Registry.Holders), the last-Administrator floor (countLiveHeld), suspend / re-admit / remove records, and promotion (Registry.Promote— ADR 0286's own context names this one).So today Ben cannot issue Administrator to an app-approved member from the control panel — the thing ADR 0286 exists for.
Evidence (Whakatōhea Demo, 2026-09-28, release
1bcd6615)/var/lib/idss/keria/roster.json:members= the founder (+ one archived row);presented= three app-door holders (ben-3/Tairea,ben-2/ben,engie/Engie Matene). Two of the three ledger holders have nomembersrow.GET /api/v1/idip/members/<aid>/credentials→ 409 at 22:41:57Z, 22:42:01Z, 22:47:31Z (Ben opening an app-approved member's credentials). The founder's own read → 200, and his own Administrator issuance →issue204 +confirm-receipt204 at 22:37:22Z.EExc8YE…fLshowskeria: no such member in the roster.Stopgap already landed with this ticket's filing
The panel now knows whether the roster carries the holder (
IdipRosterPanel.inRoster) and, when it does not, reads nothing against the roster, offers no Issue, and says "‹name› was approved in your community app. The control panel can't issue or revoke their credentials yet — do it from your community app." That stops new orphaned credentials. It does not give Ben the act.Why human
One-way-door ruling — where a steward act on a roster-less member is recorded decides what the gateway believes about who holds Administrator, which is what opens the control panel (sign-in trust; ADR 0255's rule that these go to Ben first).
Options
A — the ledger is the record (recommended). The S4i held list, the holders list and the last-Administrator floor are read from the community ledger through the unlocked seat (the same
ledgerMembers()read the Members list already uses; a committee ACDC carries its slug ina.committee). The gateway'sissue/revoke/confirm-receiptrecords become a projection the panel writes when there is a row to write to, and never a precondition. Nothing new grants access: a holder's panel access stays what the bridge verifies at sign-in from the credentials they present (ADR 0235 d.6). This is ADR 0282 d.8 applied to credentials the way #1931 applied it to the member list.B — record against the presented row.
PresentedRowgains a held list and every roster-keyed registry function (AnchorCredentialIssuance,AnchorCredentialRevocation,ConfirmReceipt,HeldCredentials,Holders,HeldSlug,HeldHolder,countLiveHeld) reads both. Smaller, but it writes steward-recorded state onto a row ADR 0235 d.6 defines as verifier-attested only, and it must be decided whether those records feed sign-in claims (if they do, the gateway's own bookkeeping grants panel access without the member presenting anything).C — materialise a roster row at first act. Reverses ADR 0235 d.3.
Proposed default ruling: A, with B's bookkeeping explicitly NOT feeding claims if any of it is kept.
Also to settle in the same ruling
administratorclaim). Unproven — needs one live check with a second identity.Related
ADR 0286 (context paragraph + d.1/d.6/d.10), ADR 0235 d.3/d.4/d.6, ADR 0282 d.8, #1886, #1931, #1951, #1956 (the contract phase must not land before this — an app-approved administrator is otherwise impossible).
Update 2026-09-28 — what is now built, and what the code says about access
Built on
session/member-credentials-names-admin-card(not yet on main), on Ben's word ("there was a card to add a credential to a members credential panel. I should be able to add a administrator credential from there"): for a member with no roster row the panel reads held credentials from the community ledger through the unlocked seat, an issue/revoke is complete when the ledger holds it, nothing is posted to the roster, and the last-live Administrator floor counts roster + ledger. No orphan, nono such member in the roster. That is option A for issue / revoke / held. Suspend, re-admit, remove and promote still record against the roster and still refuse for these members.The "unproven" item is now answered from the code — it does NOT work. An Administrator (or any committee credential) held by a member who joined through the app opens nothing at the gateway:
keriauth.DoorVerifier.VerifyPresentationsplits the presentation into one ACDC + its issuance event, andidp.identityFromVerdictsetsKomitisonly when THAT credential carries acommitteeclaim. The member presents their Membership, soKomitisis empty.appDoor.recordPresentedwrites that empty set as the presented row'sCommittees.controlapi/idip_gate.go,service == AdminService) and every restricted service readGateRoster.Standing→presentedStanding→p.Committees. Empty →HoldsAdministrator(held, op)is false unless the legacyrole: operatoris on their Membership.committeesfield at all.The gateway cannot look the credential up itself: the witnessed ledger carries SAIDs and seals, not who holds what — it needs the credential's bytes from someone.
The ruling now owed (sign-in trust)
How does the gateway come to read a committee credential an app-door member holds?
1 — the panel hands the gateway the credential it just issued, and the gateway verifies it (recommended first). At issue, the steward bundle posts the ACDC + issuance event; the gateway runs the SAME legs the door runs (SAIDs recompute, issuer + schema on the trust list, issue seal on the witnessed ledger, no revoke seal), records
{said, slug}against the holder AID, and re-checks the SAID's standing on the ledger at every gate read — so a revocation from the panel OR the app closes the door. Nothing is believed on a steward's say-so; the ledger is. All inside this repo, no app release. Does not cover a credential issued from the app.2 — the app presents every credential it holds at sign-in. The door verifies each and gathers the slugs. Covers credentials issued anywhere and is ADR 0235 d.6 as written ("what they present"). Needs a matou-app release and a multi-credential presentation format at the bridge.
Proposed default: 1 now, 2 as the follow-up — they compose (both end in a ledger-verified SAID on the holder's record).
Until one lands, the issue dialog tells the steward that a credential issued to an app-door member opens nothing yet.
Option 3 — Ben's proposal (2026-09-28): the control-panel door ASKS for the Administrator credential
"cant the gateway just ask for and check only the administrator credential and any member that has an administrator credential get access?"
The app-door protocol already works this way in shape: the door's ask names the credential it wants by schema (
appdoor.goSchemas, thes=parameter;defaultAppSchemas()= Membership), and the app presents the held credential that matches (matou-appfrontend/src/lib/signin/credential.tschooseCredential). The gateway verifies what is presented against the witnessed ledger (keriauth.DoorVerifier.VerifyPresentation) and nothing is stored as a grant.What it takes:
rec.descriptor.Service == panelServiceName), ask for Administrator as well as Membership; verify each; open the panel on a verified, livecommittee: administrator; re-check that SAID's standing on every refresh so a revoke — from the panel or the app — closes the door.chooseCredentialreturns the FIRST held credential of the asked schema, and Administrator shares the committee schema with every komiti credential — a member holding Finance and Administrator could present Finance.Two points for the ruling:
This supersedes option 2 (present everything) for the panel and is cleaner than option 1 on trust: the member proves it themselves at each sign-in and the gateway keeps no record that could go stale. Option 1 remains the way to get access on a live community before the app release.
Ruled and built (gateway side) — ADR 0289, Ben 2026-09-28
Ben took option 3 further and ruled it: the control panel's door asks for the Administrator credential issued by the community's own identity, and opens on it alone. An administrator need not be a community member as far as the gateway is concerned. ("yes build it".)
Built on
session/member-credentials-names-admin-card(not yet on main):credential: "administrator",cred=on the code), committee schema first;POST /api/v1/idip/roster/presented-administrator, bearer-gated);Accepted consequences, recorded in the ADR: suspending a member does not close the control panel (revoke Administrator to close it — the Membership card says so); a non-member administrator gets the panel and no service.
What this ticket still holds
Issue / revoke / held for roster-less members are done (the ledger is their record).
Owed elsewhere
cred=, the credential card on the approve screen, and the no-credential screen — ticket linked below.cred=.matou-app ticket: Matou/matou-app#683
Closed 2026-10-21 (Ben's stale sweep): ruled and built — PR #1984 (
session/member-credentials-names-admin-card, ADR 0289 + DDR 0288) merged to main8dd2fa05; the control panel's door asks for the Administrator credential.