spec: the Administrator credential replaces the operator role — one super user across the control panel, the services and the community app (ADR 0286) #1948
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#1948
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
docs/ux/flows/administrator-credential.mermaid· Wireframes:docs/ux/wireframes/administrator-credential/(AC-I1, AC-I1x, AC-X1, AC-P1, AC-P2, AC-A1, AC-X0, AC-R1, AC-W1).rolehas no source for an app-joined member.roleis marked removed there and must not be reintroduced.Problem Statement
A community cannot say who administers it. It can only say who is an operator,
and
role— the field carrying that — is answered from two places thatdisagree. The bridge reads it off the membership credential; the Members list
reads it off the roster entry. Since the list became ledger-backed, a member who
joined through the app has no roster entry at all, so their role falls back to a
literal default of "member" — and promoting them fails after the group rotation
has already re-issued their credential, leaving a steward the panel still draws
as a member.
The deeper problem is that administration is not a thing a community can hand
out. There is no act a steward can perform that means "you look after our
infrastructure". The founder is an operator because founding made them one;
anyone else becomes one by a group rotation that also hands them the power to
sign for the whole community — a far larger grant than "can open the panel".
And the same field has to be true in a second product: matou-app resolves six
internal roles from the string
"operator", so whatever replaces it has to keepan IDSS founder's powers in the community app.
Solution
Administration becomes a credential a community issues.
Administrator is the second built-in credential beside Membership — never
created, never retired, its name and look brandable. A steward issues it to any
member, from the panel or from their app. Holding it opens the control
panel, makes the holder an admin in every community service, and makes
them a founding member in the community app: one super user across both
apps, so a founder needs no administrator-only surface of their own.
What it deliberately does not grant is signing. Approving an application,
issuing or revoking a credential, promoting a steward — those stay with the
community group identity, because a credential can carry permission but not
signing power. So the two facts are separate and separately revocable: holding
Administrator, and being a steward. Promotion to steward issues the credential
too (a steward always has a panel); demotion revokes exactly the credential that
promotion issued, and one held beforehand survives.
Members stays a steward surface — the list is the community ledger read
through a steward's own seat, and only a steward's agent holds the registry — so
an administrator who is not a steward has no Members tab at all, rather than an
empty one or one fed from a second source.
roleis deleted.User Stories
Acceptance criteria are sourced from the flow's nodes and edges and the
wireframes' own field names.
The credential itself
As a community, I want Administrator to exist without anyone creating it, so that the thing granting administration cannot be edited away.
administratoris present as a built-in — synthesised rather than stored, likemembership.As a community, I want to name and style Administrator as our own, so that it looks like ours and not the product's.
administratornever moves.As a founder, I want Administrator issued to me at founding, so that my new community's panel opens without a detour.
Issuing it
As a steward, I want to make any member an administrator from their detail, so that handing over infrastructure work is one act.
As a steward, I want the panel to refuse to issue while my seat is locked, so that no act pretends to be signed when it cannot be.
As a steward, I want a failed issuance to leave nothing behind, so that I never wonder whether it half-worked.
As a steward with no working panel, I want to issue Administrator from my app, so that a community can always reopen its own control panel.
What holding it grants
As an administrator, I want the control panel to open when I sign in, so that the credential is the whole of my access.
As an administrator who is not a steward, I want no Members tab at all, so that the panel never shows me a surface it cannot fill.
As a member who is not an administrator, I want to be told the panel isn't mine, so that I don't read a permissions wall as broken software.
As an administrator, I want admin in the community's services, so that one grant covers the whole job.
administratorslug carried as a verified claim, never on a role attribute.As an administrator, I want to know the services will catch up, so that a lag never looks like a failure.
As an IDSS founder, I want my community app powers to survive the change, so that dropping
rolecosts me nothing."operator"yields today — member, contributor, founding member, operations steward, project steward and project lead — so their any-sync community-scope write rights are unchanged.As a community-app steward, I want upgrading someone to founder to make them a steward, so that the app's top role means what it says.
Taking it away
As a steward, I want revoking Administrator to close the panel for that person, so that removing access actually removes it.
As a community, I want the last Administrator to be un-revokable, so that we can never shut ourselves out of our own panel.
As a steward, I want a revoked administrator to stay a member, so that removing a job never removes belonging.
Steward and administrator together
As a steward, I want promoting someone to also give them the panel, so that a steward is never locked out of the surface they must use.
As a steward, I want demotion to take back exactly what promotion gave, so that it never removes access it did not grant.
As a steward, I want the two facts shown separately wherever a member is described, so that nobody mistakes one for the other.
Deleting
roleAs an engineer, I want the access check in one place, so that the same question stops being answered four ways.
As an engineer, I want the change to land without a flag day, so that nothing is broken between commits.
As the founder of an existing community, I want to keep my panel through the change without doing anything unusual, so that a field being deleted is not my problem.
As a steward, I want the Members list to stop claiming a role, so that the list only says what the ledger knows.
As a reviewer, I want the app's steward check to stop reading role strings, so that one fact has one source.
Implementation Decisions
A second built-in credential definition,
administrator, alongsideMembership: synthesised, never stored as an editable definition, not
retirable, with its own stored appearance so the name and look are brandable.
The slug is the stable wire label the access check and every claim use.
One decider over verified claims. A single predicate answers does this
identity administer this community from the claim set the door already
mints, and every site calls it: the panel's authz, the bridge's claim
minting, the spaces check, #1535's roles reconciler. The dashboard reads the
answer from the session it already receives.
The claim path is the one that exists. Credential slugs already ride
sign-in as verified claims;
administratoris one more. No new claimmechanism, no trusted header, no new door check.
Expand–contract for
role. Expand: the predicate accepts the credentialor the legacy role. Migrate: the four read sites move to the predicate.
Contract: the attribute is removed from the membership credential's
attributes, the roster entry, the member wire shape, the promote/demote
path, and the panel's ROLE column. The blast radius spans Go, the dashboard
and matou-app, so it does not land in one commit.
Promotion carries the credential; the rotation record carries its SAID.
The record already tracks the promotion's operator-key mint; it gains the
SAID of the Administrator credential the promotion issued, which is the only
credential the reverse rotation revokes.
The last-revoke refusal lives with the revoke, in the same shape as the
existing refusal to remove the last steward — a "never empty the set" rule
applied twice, not two behaviours.
Revocation bumps the panel session epoch built for sign out of the
control panel everywhere, so open tabs return to the door rather than
failing an action in place. No new session machinery.
Members stays behind the seat. The Members surface is rendered only for a
steward; the non-steward administrator's nav omits it. No gateway
read-through of the registry and no projection-backed list — both would make
ADR 0282 d.8's "no list without the seat" untrue.
Founding issues Administrator with the founder's Membership, in the same
ceremony, on the IDIP path only.
matou-app, two obligations. Its KERI-role resolution stops reading the
deleted string and resolves the founding-member bundle from holding the
credential, and its steward check asks signify for group-identity membership.
And — corrected 2026-09-28 — the app's founding-member upgrade runs the
IDSS promotion rail rather than issuing a credential, because a founding
member in that app is an org-AID signer (
rolesForAIDAttreatsorg-config admins as Founding Member, and on IDSS org-config
adminsis thesteward set). The in-app role-history grant of founding member is not offered
on an IDSS backend. These are that repo's tickets.
#1535's boundary. This spec changes the reconciler's key only. Its
per-service tranches — Grist's install admin, chat and code admin groups,
the reconciler itself — remain #1535's work and are not built here.
Testing Decisions
What a good test is here. Every test drives a seam's external behaviour and
asserts what a person or another system observes: an HTTP answer, a rendered
field, a refusal, a resolved role set. None asserts how the predicate is
implemented or how the definition is synthesised. The security-shaped
properties are stated as observable facts — the last one cannot be revoked,
a revoked administrator's next request ends at the door, a non-steward's nav
has no Members item — so a re-implementation that keeps the promises keeps the
tests green.
Seams — confirmed at the grill's seam gate, unchanged by the wireframe pass.
renamed credential still matching by slug, a revoked credential not counting.
internal/controlapi's gate/authz tests — panel access granted by thecredential and refused without it; the spaces check; the epoch bump on
revocation and a pre-epoch session resolving to none.
internal/idp's claim tests — theadministratorslug riding a mintedsession, and absent when the credential is revoked.
internal/keria's definitions and registry tests — the built-in presentand un-retirable, the appearance stored, the promotion's SAID recorded, the
reverse rotation revoking exactly it, and the last-revoke refusal.
AC-I1x's partial, AC-X1's refusal, AC-P1/AC-P2's outcomes, and AC-A1's nav
without a Members item.
No new seam is introduced. Prior art to copy: the existing gate-decision
tests in
internal/controlapi, the bridge's claim and refusal tests ininternal/idp,internal/keria's definition and standing tests, and thedashboard's injected-bundle unit tests written for #1931–#1934.
Design conformance.
code-review's Design axis anddesign-verifycheck thebuilt screens against
docs/ux/wireframes/administrator-credential/; the fieldnames in those files are the literal contract, and AC-A1's absent Members
item is part of it.
Out of Scope
groups, the reconciler's own construction. This spec changes only what it keys
on.
Administrator is community-wide by construction; a narrower grant is a later
credential, not a setting.
0286 d.8 keeps v1 free of it.
product (ADR 0286 d.7).
or the seat beyond the SAID the rotation records.
except Administrator.
app concepts) — #1876 collapses app roles to steward and member on IDIP, and
that ruling is unchanged.
Further Notes
non-steward administrator could read the Members list through their own seat.
Wireframing proved that false — the registry lives in stewards' agents — and
the ADR carries the correction inline rather than quietly diverging. The spec
follows the corrected decision: Members is a steward surface.
"Founding Member"and the string"operator"through the same branch,returning six roles. That branch is the one read outside this repo that
depends on the field being deleted, and a missed change there would silently
strip an IDSS founder's app powers rather than fail loudly. It is called out
in the ADR's engineering section for the same reason.
✎ Corrected 2026-09-28 (Ben: "the founder should not need anything more").
The built-in definition lands in the expand phase, while the old
rolecheck is still honoured, so an existing community issues Administrator from
its working panel as an ordinary act and the contract phase lands afterwards.
Nothing shuts, there is no deadline and there is no support step. The floor is
one ordinary issuance, because the control plane signs nothing (ADR 0197) and a
credential exists only once a steward signs it into the ledger — what is
avoidable is the lockout, and it is avoided. This is a ticket-ordering
obligation:
to-ticketsmust place the built-in and the expand phase beforethe contract phase, and the contract ticket's acceptance should require that a
live Administrator already exists in any community it cuts over. AC-W1 is the
fallback for a community that did not issue inside the window.
which story 24 removes. It should be amended in the same change rather than
left to drift, since #1931 shipped that column reading a default.
Written by
/to-specagainst ADR 0286,docs/ux/flows/administrator-credential.mermaidand the nine
administrator-credential/wireframes. Seams confirmed with Ben atthe grill's seam gate and unchanged by the wireframe pass.
🤖 Generated with Claude Code
https://claude.ai/code/session_015es4bpK4qRqZhrRYQBWCiY
role(#1948) #1956TICKETED 2026-09-28 (
/to-tickets; Ben confirmed granularity, the cross-repo edge and the cut-over guard). 10 tickets, 15 native blocking edges, cross-repo included. Slice-map skipped at his call. Each ticket carries a task manifest (interface,seam,acceptance,depends_on,out_of_scope,needs_human_decision).rolematou-app: #668 resolve Founding Member from the credential + steward from the group identity (blocked by #1949) → #669 granting Founding Member issues the credential.
Three things the breakdown encodes deliberately:
rolecheck, so a community issues Administrator from its working panel as an ordinary act — no deadline, no shut panel, no support step. AC-W1 (the wallet issuance) is the fallback for a community that misses the window, not the path.Also carried into #1956: the Members ROLE column goes, and
p6-s1i-members.html+ PU-M1 are amended in the same change — #1931 shipped that column reading a'member'default, so the drawn contract and the code would otherwise disagree.🤖 Generated with Claude Code
https://claude.ai/code/session_015es4bpK4qRqZhrRYQBWCiY