gate: a founding member is read from the community identity's own keys — the control panel's door, the steward acts, the panel's whoami and the revoke sparing admit them (ADR 0289 amended, GOTCHAS #381) #2021

Merged
ben merged 1 commit from session/gate-reads-founding-members into main 2026-09-30 05:41:09 +00:00
Owner

Ben's ruling, 2026-09-30: "yes the gate should support founding members."

Why

On Whakatōhea Demo, Engie is a founding member. The community group identity's current signing keys are ben's and hers (kt 1), read from its public key history. But her roster row says role: member, and every steward check on the gateway reads that field: the control panel's door, the steward resolver, the panel's whoami, the revoke sparing, the descriptor's admins block. The community app promotes a founding member by rotating the group identity; nothing writes the gateway's roster. So the 2026-09-29 rule, founding member || operator = control panel access, only ever honoured the operator half.

What changes

  • orgconfig.FoundingMembers reads the group's latest establishment event over the loopback KEL door (IDSS_IDP_KEYSTATE_URL) and says a candidate is a founding member when their current signing key is among the group's.
  • keriauth.HTTPKELSource hands back a raw KEL stream (the existing key-state resolver answers single-key identities only; the group has two keys).
  • controlapi.FoundingOrOperator: operator role OR founding member. It is now the one steward check read by the gate, the steward resolver (steward acts in the panel), the panel's whoami (/api/v1/panel/whoami) and PanelEpochSparingStewards.
  • If the founding read can't be answered (KEL door down, identity not landed), it falls back to the operator role and logs. Never a guessed yes; a roster yes is never turned into an error.

Not changed: the descriptor's admins block (AdminsFromRoster) still lists operators only; the space-ID door's operator check is untouched.

Docs

ADR 0289 amended (2026-09-30), GOTCHAS #381, CONTEXT.md Steward entry, STATUS.

Tests

  • FoundingMembers against the demo's real public KELs: ben yes, Engie yes, Tairea (an administrator, not a signer) no, the group itself no; an unreadable KEL is an error, never an answer; pre-founding is ErrNoCommunityIdentity.
  • FoundingOrOperator: role-only, signer-only, neither; founding read down falls back to the role; roster unreadable but signer yes gives yes; both unknown is an error.
  • go test for controlapi, orgconfig, keriauth, keria and the control plane: all pass. go vet clean.

Sign-in trust change, ruled by Ben before it was built. Needs a testing release.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WgMdPvssS1d7W1v2dL7bcH

Ben's ruling, 2026-09-30: *"yes the gate should support founding members."* ## Why On Whakatōhea Demo, Engie is a founding member. The community group identity's current signing keys are ben's and hers (kt 1), read from its public key history. But her roster row says `role: member`, and **every steward check on the gateway reads that field**: the control panel's door, the steward resolver, the panel's whoami, the revoke sparing, the descriptor's `admins` block. The community app promotes a founding member by rotating the group identity; nothing writes the gateway's roster. So the 2026-09-29 rule, *founding member || operator = control panel access*, only ever honoured the operator half. ## What changes - **`orgconfig.FoundingMembers`** reads the group's latest establishment event over the loopback KEL door (`IDSS_IDP_KEYSTATE_URL`) and says a candidate is a founding member when their current signing key is among the group's. - **`keriauth.HTTPKELSource`** hands back a raw KEL stream (the existing key-state resolver answers single-key identities only; the group has two keys). - **`controlapi.FoundingOrOperator`**: operator role OR founding member. It is now the **one** steward check read by the gate, the steward resolver (steward acts in the panel), the panel's whoami (`/api/v1/panel/whoami`) and `PanelEpochSparingStewards`. - If the founding read can't be answered (KEL door down, identity not landed), it **falls back to the operator role** and logs. Never a guessed yes; a roster yes is never turned into an error. **Not changed:** the descriptor's `admins` block (`AdminsFromRoster`) still lists operators only; the space-ID door's operator check is untouched. ## Docs ADR 0289 amended (2026-09-30), GOTCHAS #381, CONTEXT.md Steward entry, STATUS. ## Tests - `FoundingMembers` against the demo's **real public KELs**: ben yes, Engie yes, Tairea (an administrator, not a signer) no, the group itself no; an unreadable KEL is an error, never an answer; pre-founding is `ErrNoCommunityIdentity`. - `FoundingOrOperator`: role-only, signer-only, neither; founding read down falls back to the role; roster unreadable but signer yes gives yes; both unknown is an error. - `go test` for controlapi, orgconfig, keriauth, keria and the control plane: all pass. `go vet` clean. Sign-in trust change, ruled by Ben before it was built. Needs a `testing` release. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01WgMdPvssS1d7W1v2dL7bcH
gate: a founding member is read from the community identity's own keys — the control panel's door, the steward acts, the panel's whoami and the revoke sparing admit them (ADR 0289 amended, GOTCHAS #380)
Some checks failed
ci / publish (pull_request) Has been cancelled
ci / publish-broker (pull_request) Has been cancelled
ci / deploy-broker (pull_request) Has been cancelled
ci / seam (pull_request) Has been cancelled
c2c9cd9b3a
Ben, 2026-09-30: "yes the gate should support founding members." On
Whakatōhea Demo Engie is a founding member — the group identity's current
signing keys are ben's and hers — but her roster row says member, and every
steward check on the gateway read that field. The 2026-09-29 rule "founding
member || operator = control panel access" only ever honoured the operator
half.

- orgconfig.FoundingMembers reads the group's latest establishment event
  over the loopback KEL door and matches the candidate's current key.
- controlapi.FoundingOrOperator combines it with the roster's operator role:
  ONE steward check for the gate, the steward resolver, the panel's whoami
  and PanelEpochSparingStewards. An unanswerable founding read falls back
  to the role, logged — never a guessed yes.
- Tests run against the demo's real public KELs: ben yes, Engie yes,
  Tairea (administrator, not a signer) no.

Not changed: the descriptor's admins block still lists operators only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WgMdPvssS1d7W1v2dL7bcH
ben force-pushed session/gate-reads-founding-members from c2c9cd9b3a
Some checks failed
ci / publish (pull_request) Has been cancelled
ci / publish-broker (pull_request) Has been cancelled
ci / deploy-broker (pull_request) Has been cancelled
ci / seam (pull_request) Has been cancelled
to 8e03be7101
All checks were successful
ci / seam (pull_request) Successful in 11m11s
ci / publish (pull_request) Has been skipped
ci / publish-broker (pull_request) Has been skipped
ci / deploy-broker (pull_request) Has been skipped
2026-09-30 05:09:25 +00:00
Compare
ben changed title from gate: a founding member is read from the community identity's own keys — the control panel's door, the steward acts, the panel's whoami and the revoke sparing admit them (ADR 0289 amended, GOTCHAS #380) to gate: a founding member is read from the community identity's own keys — the control panel's door, the steward acts, the panel's whoami and the revoke sparing admit them (ADR 0289 amended, GOTCHAS #381) 2026-09-30 05:09:27 +00:00
ben force-pushed session/gate-reads-founding-members from 8e03be7101
All checks were successful
ci / seam (pull_request) Successful in 11m11s
ci / publish (pull_request) Has been skipped
ci / publish-broker (pull_request) Has been skipped
ci / deploy-broker (pull_request) Has been skipped
to 166732046a
All checks were successful
ci / seam (pull_request) Successful in 14m49s
ci / publish (pull_request) Has been skipped
ci / publish-broker (pull_request) Has been skipped
ci / deploy-broker (pull_request) Has been skipped
2026-09-30 05:25:38 +00:00
Compare
ben merged commit 1b94d5b26f into main 2026-09-30 05:41:09 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss!2021
No description provided.