IDIP: the founder is never written to the roster, so the bridge refuses the operator's own sign-in — oidc-admin cannot green #1018
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#1018
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?
Failure
Drive
20260830T054243Z(targetidip, #788) went 19/20, red atoidc-admin(artifacts/legs.json,artifacts/verdict.jsonfirstRedLeg: oidc-admin). The KERI stack was healthy throughout —logs/droplet-keri.txthas the witness (BJ_Iittbw…, :5642), KERIA 0.4.0,keria-iurlsresolved, and the schema server on :7723 all up;logs/droplet-journal.txt:1139has the bridge listening (issuer=https://id.rehearsal-b.idss.nz clients=3).The founder answered the KERI challenge and the bridge then refused them for holding no membership credential. Its own words, from the page snapshot in
artifacts/journey.idip-IDIP-journey--133f0-ey-on-the-rehearsal-droplet/error-context.md:That is
ErrNoMembershipexactly (internal/idp/signin.go:122-125). The challenge itself passed —ErrChallengeFailedwould have worded it "That sign-in didn't verify against your key state" (internal/idp/signin.go:85).(The 120 s blind timeout that leg reported was a separate, presentation-layer defect in the drive's refusal probe; healed in
ddc5993a. That fix makes this refusal red in seconds with the bridge's line — it does not make the sign-in succeed.)Cause
The founder's operator ACDC is issued into KERI but never recorded in the control plane's roster, and the roster is the bridge's ONLY source of membership truth.
internal/idp/keri_verifier.go:105-122—Presentationanswers fromv.roster.Member(ctx, s.AID)alone;!ok→ErrNoMembership. The doc comment is explicit that it "does not parse the ACDC bytes a browser may present" — the roster IS the answer. So an ACDC that exists in the TEL but not in the roster buys nothing.app/src/lib/identityLegs.ts:389-418—runYourMembershipresolves the schema OOBI, creates the registry on the group AID and issues the founder's operator ACDC… and then returns. There is no roster write of any kind.app/src/lib/identityLegs.ts:226+(IdentityLegsConfig) andapp/src/components/founding/FoundingStandup.vue:823-858(buildIdentityDriver) — the driver is constructed withkeri,store,communityName,operator,membershipSchemaSaid,witnessLiveand the aliases. There is no roster port on it at all, so there is nothing to wire.The member path does this correctly, which is what makes the asymmetry legible:
app/src/lib/stewardApprove.ts:257-262— post-receipt,roster.anchorIssuance(aid, said)thenroster.confirmReceipt(said), movingwaiting → pending-issue → issued. Its own comment: "the member is active and the bridge now accepts them."internal/keria/adapter.go:87-102—JoinGate.SubmitProfileis the only writer ofRegistry.Join, and it is reached only from the invite-gated/idip/joinpage the founder never walks.So
identity-rowsgoing green (11 673 ms, all four rowsdone) is not evidence the operator is a member: it proves the ACDC issued, nothing about the roster. This is deterministic — it reds every IDIP drive atoidc-admin, and the leg-22 member sign-in behind it has never been reached.Suspected layer
Renderer-side identity stand-up (
app/src/lib/identityLegs.ts) plus the roster surface it needs to reach (internal/controlapi/idip_roster.go). Not the bridge, not KERI, not the droplet.What plugging it needs
Give
IdentityLegsDriverthe sameRosterAnchor-shaped portstewardApprove.tsalready defines, and haverunYourMembershiprecord the founder post-receipt —issueCredentialalready returns only after the group anchor is witnessed, so a returned SAID means the receipt landed.One ordering constraint to design around:
Registry.AnchorIssuancereturnsErrNoSuchMemberfor an AID it has never seen (internal/keria/registry.go:200-203), so the founder needs a Join first — and it must carryrole: operator, whichJoinGate.SubmitProfilecannot express (it hardcodescredschema.RoleMember,internal/keria/adapter.go:100) and cannot be reached without a join invite token.That leaves one fork for the implementer:
internal/controlapi/idip_roster.go, besideanchor-issuance/confirm-receipt, behind the same community-session gate as the other steward acts), taking{aid, username, name, email, role: operator}; orSubmitProfileto carry a role and admit the founder's boot-invite path.Proposed default: (1). It keeps the invite-gated member join exactly as it is, keeps the operator-role write on the operator-gated surface rather than the token-gated one, and mirrors the two verbs
stewardApprove.tsalready speaks. Both options stay behind the existing gate, so neither widens the trust surface.Acceptance: after the identity legs finish,
GET /api/v1/idip/rosterlists the founder asactivewithrole: operatorand the operator ACDC's SAID;GET /api/v1/idip/roster/member/{founderAID}answers 200 to the bridge; andoidc-adminlands the operator on Nextcloud's#header. Seam-testable offline againstkeria.NewMemoryRegistry+ the driver's fake KERI, in the shape ofapp/tests/unit/stewardApprove.test.ts.drive
20260830T054243Zred atoidc-admin:expect(locator).toBeVisible() failed Locator: locator('#header').or(locator('[data-status]').filter({ hasText: /didn.t verify|no membership|revoked|awaiting/i })).first() Expected: visible Timeout: 12evidence:
/home/dev/swarm/Matou/idss/test-results/drive-idip/20260830T054243Zon matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was capturedswarm-claim host=matou-dev-server-01 run=14335
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1018 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope