spec: the Administrator credential replaces the operator role — one super user across the control panel, the services and the community app (ADR 0286) #1948

Open
opened 2026-09-28 02:45:49 +00:00 by matou-build-agent · 1 comment

Parent

  • Wayfinder map: The community wallet — matou-app holds and presents IDIP credentials (#1293). Inherits its ruled model: standing is the credential, one community ledger, the wallet is a full steward surface (ADR 0235).
  • Design: ADR 0286 — the Administrator credential replaces the operator role (13 decisions, accepted 2026-09-28), including its d.2 correction made at the wireframe gate.
  • Flow: 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).
  • Grew out of: #1886 → spec #1929. The ledger-backed Members list exposed that role has no source for an app-joined member.
  • Inherited, not re-litigated: #1535 (ruled 2026-09-16 — an operator has admin access to all services; this spec swaps its carrier, not its policy) and #1876 (ruled 2026-09-25 — app roles are steward and member; ADR 0286 d.13 reverses its "panel credentials are not app roles" for Administrator only, komiti unchanged).
  • Vocabulary: CONTEXT.md Administrator, Steward, Credential, Operator; role is 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 that
disagree. 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 keep
an 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.

role is deleted.


User Stories

Acceptance criteria are sourced from the flow's nodes and edges and the
wireframes' own field names.

The credential itself

  1. As a community, I want Administrator to exist without anyone creating it, so that the thing granting administration cannot be edited away.

    • Given any IDIP community, when its credential definitions are read, then administrator is present as a built-in — synthesised rather than stored, like membership.
    • And when a steward attempts to retire or delete it, then it is refused; no steward act can remove it.
    • And it never appears in the list of credentials a community may define or edit as ordinary definitions.
  2. As a community, I want to name and style Administrator as our own, so that it looks like ours and not the product's.

    • Given the built-in, when a steward changes its display name or appearance, then the change is stored and applied the way Membership's appearance already is, and the slug administrator never moves.
    • And given a renamed credential, when the access check runs, then it keys on the slug, never the display name.
  3. As a founder, I want Administrator issued to me at founding, so that my new community's panel opens without a detour.

    • Given a community being founded on the IDIP path, when the founder's Membership is issued, then Administrator is issued to them in the same ceremony.
    • And when founding finishes, then the founder can open the control panel with no further act.

Issuing it

  1. As a steward, I want to make any member an administrator from their detail, so that handing over infrastructure work is one act.

    • Given an active member and an unlocked seat, when I choose to issue Administrator, then AC-I1 names the three grants (the control panel; admin in files, data-collections, chat and code; founding member in the community app), states that it does not let them sign for the community, carries the two-speed line once, and names what is being signed.
    • And when I confirm, then the credential is issued from the one community registry and appears on their row.
  2. 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.

    • Given a locked seat, when I attempt to issue Administrator, then the unlock is raised first (PU-M0q, the words beside it) and the issuance proceeds only once the seat is unlocked.
  3. As a steward, I want a failed issuance to leave nothing behind, so that I never wonder whether it half-worked.

    • Given an issuance whose receipt never lands, when it gives up, then AC-I1x says their Membership is untouched and nothing was half-granted, offers Try again and their detail, and the member's row is unchanged.
    • And the ledger holds no partial record of the grant.
  4. 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.

    • Given a community where nobody holds Administrator, when a steward opens their wallet, then AC-W1 lets them issue it — to themselves by default — naming the same grants and the same non-grant.
    • And when it lands, then the panel opens for that holder at their next sign-in.

What holding it grants

  1. As an administrator, I want the control panel to open when I sign in, so that the credential is the whole of my access.

    • Given a member holding a live Administrator credential, when they sign in, then the panel opens (AC-A1) with Overview, Fleet, Services, Updates, Backups and Settings.
    • And the identity line names the credential they hold and what it does not carry.
  2. 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.

    • Given an administrator who is not a member of the community group identity, when the panel renders, then there is no Members item in the nav — not an empty tab, not a disabled one, and not a list from any other source.
    • And given the same person is also a steward, then Members is present and behaves exactly as it does today.
  3. 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.

    • Given a signed-in member with no Administrator credential, when they reach the panel's address, then AC-X0 says the sign-in worked and this part is for the people who look after the setup, offers the Portal and Sign out, and names asking a steward as the way in.
    • And no panel surface renders behind it — no emptied nav, no per-tile refusals.
  4. As an administrator, I want admin in the community's services, so that one grant covers the whole job.

    • Given a holder of Administrator, when each service next reconciles, then they are an admin in every service that has an admin construct, by the same rule #1535 ruled for an operator.
    • And the reconciler keys on the administrator slug carried as a verified claim, never on a role attribute.
  5. As an administrator, I want to know the services will catch up, so that a lag never looks like a failure.

    • Given a just-issued credential, when the panel confirms it, then it says once that the panel comes at their next sign-in and service admin follows when each service reconciles.
    • And no per-service pending, applied or failed state is shown anywhere in v1.
  6. As an IDSS founder, I want my community app powers to survive the change, so that dropping role costs me nothing.

    • Given a member holding Administrator on an IDIP backend, when the community app resolves their roles, then they receive the same set the string "operator" yields today — member, contributor, founding member, operations steward, project steward and project lead — so their any-sync community-scope write rights are unchanged.
    • And given they do not hold it, then they resolve as a member.
  7. 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.

    • Given an IDSS-backed community, when a steward upgrades a member to founding member in the app, then the IDSS promotion rail runs — the community group identity rotates to include them — and that landing issues them Administrator (story 18).
    • And when it completes, then they can approve applications, issue and revoke credentials and promote another steward, because they are now an org-AID signer.
    • And given an IDSS backend, when the app's in-app role editor is opened, then founding member is not offered there as a role-history grant — a founding member who cannot sign would be a second source of truth about who administers.
    • And given a Coa-hosted community, then the app's own role model is unchanged.

Taking it away

  1. As a steward, I want revoking Administrator to close the panel for that person, so that removing access actually removes it.

    • Given a holder with the panel open, when their Administrator is revoked, then their panel sessions end, their open tabs return to the door on the next request, and AC-R1 tells them their administrator access was removed while their identity and membership are unaffected.
    • And when they sign in again, then they meet AC-X0, not the panel.
  2. As a community, I want the last Administrator to be un-revokable, so that we can never shut ourselves out of our own panel.

    • Given exactly one live Administrator credential in the community, when a steward attempts to revoke it, then AC-X1 refuses, explains that nobody could then open the panel or administer the services, and offers to issue Administrator to someone else first.
    • And there is no override or revoke anyway.
    • And given two or more live ones, then revoking proceeds normally.
  3. As a steward, I want a revoked administrator to stay a member, so that removing a job never removes belonging.

    • Given a revoked Administrator, when the member's standing is read, then their Membership is untouched and their service access as a member is unchanged.

Steward and administrator together

  1. 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.

    • Given a rotation that reaches the majority, when it lands, then the group identity includes the member and Administrator has been issued to them, and AC-P1 names both facts with the issued credential's SAID on the face.
    • And the rotation record carries that SAID.
  2. As a steward, I want demotion to take back exactly what promotion gave, so that it never removes access it did not grant.

    • Given a demotion of someone whose Administrator came from their promotion, when the reverse rotation lands, then that exact credential is revoked and AC-P2 says the panel and the services are closed to them, and they are still a member.
    • And given a demotion of someone who held Administrator before being promoted, then nothing is revoked, and AC-P2's second frame says they keep the control panel and offers Revoke Administrator too as a separate act.
  3. As a steward, I want the two facts shown separately wherever a member is described, so that nobody mistakes one for the other.

    • Given a member's detail, when it renders, then holding Administrator and being a steward are shown as distinct facts, each with its own act.

Deleting role

  1. As an engineer, I want the access check in one place, so that the same question stops being answered four ways.

    • Given the new predicate over a verified claim set, when any site asks whether an identity administers this community, then it calls that one predicate — the panel's authz, the bridge's claim minting, the spaces check, and #1535's reconciler.
    • And no site compares a role attribute to decide it.
  2. As an engineer, I want the change to land without a flag day, so that nothing is broken between commits.

    • Given the expand phase, when the check runs, then it accepts either the credential or the legacy role, and every existing community keeps working.
    • And given the contract phase, when it lands, then the role attribute is gone from the membership credential, the roster entry, the member wire shape, the promote/demote path and the panel's ROLE column, and nothing reads it.
  3. 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.

    • Given the expand phase has landed, when I open the panel, then it works on the old check as before, and the Administrator credential can already be issued — so I issue it to myself as an ordinary act, at whatever moment suits me.
    • And given at least one live Administrator exists, when the contract phase lands, then nothing shuts and nobody is prompted, supported or migrated.
    • And given a community that reached the contract phase without issuing one, then the way back is a steward issuing from their wallet (story 7) — the fallback, not the expected path.
    • And no bulk backfill is performed, and none is offered in the product.
  4. As a steward, I want the Members list to stop claiming a role, so that the list only says what the ledger knows.

    • Given the ledger-backed Members list, when it renders after the contract phase, then there is no ROLE column defaulting to "member"; a row shows the credentials held (Administrator among them) and whether the holder is a steward.
    • And the PU-M1 wireframe is amended in the same change, since it currently draws a ROLE column.
  5. As a reviewer, I want the app's steward check to stop reading role strings, so that one fact has one source.

    • Given the community app on an IDIP backend, when it decides whether someone is a steward, then it asks whether the identity is a member of the community group identity, not what a credential's role attribute says.

Implementation Decisions

  1. A second built-in credential definition, administrator, alongside
    Membership: 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.

  2. 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.

  3. The claim path is the one that exists. Credential slugs already ride
    sign-in as verified claims; administrator is one more. No new claim
    mechanism, no trusted header, no new door check.

  4. Expand–contract for role. Expand: the predicate accepts the credential
    or 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.

  5. 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.

  6. 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.

  7. 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.

  8. 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.

  9. Founding issues Administrator with the founder's Membership, in the same
    ceremony, on the IDIP path only.

  10. 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 (rolesForAIDAt treats
    org-config admins as Founding Member, and on IDSS org-config admins is the
    steward set). The in-app role-history grant of founding member is not offered
    on an IDSS backend. These are that repo's tickets.

  11. #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.

  1. The new predicate, unit-tested where it lives: holds/doesn't hold, a
    renamed credential still matching by slug, a revoked credential not counting.
  2. internal/controlapi's gate/authz tests — panel access granted by the
    credential and refused without it; the spaces check; the epoch bump on
    revocation and a pre-epoch session resolving to none.
  3. internal/idp's claim tests — the administrator slug riding a minted
    session, and absent when the credential is revoked.
  4. internal/keria's definitions and registry tests — the built-in present
    and un-retirable, the appearance stored, the promotion's SAID recorded, the
    reverse rotation revoking exactly it, and the last-revoke refusal.
  5. The dashboard's injected steward-bundle unit seam — AC-I1's card contents,
    AC-I1x's partial, AC-X1's refusal, AC-P1/AC-P2's outcomes, and AC-A1's nav
    without a Members item.
  6. matou-app's own tests for its two obligations and the steward check.

No new seam is introduced. Prior art to copy: the existing gate-decision
tests in internal/controlapi, the bridge's claim and refusal tests in
internal/idp, internal/keria's definition and standing tests, and the
dashboard's injected-bundle unit tests written for #1931–#1934.

Design conformance. code-review's Design axis and design-verify check the
built screens against docs/ux/wireframes/administrator-credential/; the field
names in those files are the literal contract, and AC-A1's absent Members
item is part of it.


Out of Scope

  • #1535's per-service tranches — Grist's install admin, chat and code admin
    groups, the reconciler's own construction. This spec changes only what it keys
    on.
  • A narrower administrator — read-only, per-service or per-surface grants.
    Administrator is community-wide by construction; a narrower grant is a later
    credential, not a setting.
  • Per-service admin state in the panel (pending/applied/failed rows) — ADR
    0286 d.8 keeps v1 free of it.
  • A bulk backfill for existing communities, and any migration surface in the
    product (ADR 0286 d.7).
  • Any change to signing, the group identity, the promotion rail's mechanics,
    or the seat
    beyond the SAID the rotation records.
  • komiti credentials as app roles — #1876's separation stands for everything
    except Administrator.
  • The app's other roles (Operations Steward, Community Steward as distinct
    app concepts) — #1876 collapses app roles to steward and member on IDIP, and
    that ruling is unchanged.

Further Notes

  • The correction worth carrying forward. ADR 0286 d.2 first said a
    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.
  • The alias that made d.13 necessary. matou-app resolves the string
    "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.
  • The panel does not close at cut-over — the ordering is the migration.
    ✎ Corrected 2026-09-28 (Ben: "the founder should not need anything more").
    The built-in definition lands in the expand phase, while the old role
    check 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-tickets must place the built-in and the expand phase before
    the 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.
  • PU-M1 owes an amendment. The Members wireframe still draws a ROLE column,
    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-spec against ADR 0286, docs/ux/flows/administrator-credential.mermaid
and the nine administrator-credential/ wireframes. Seams confirmed with Ben at
the grill's seam gate and unchanged by the wireframe pass.

🤖 Generated with Claude Code

https://claude.ai/code/session_015es4bpK4qRqZhrRYQBWCiY

## Parent - **Wayfinder map:** [The community wallet — matou-app holds and presents IDIP credentials](https://git.matou.nz/Matou/idss/issues/1293) (#1293). Inherits its ruled model: standing is the credential, one community ledger, the wallet is a full steward surface (ADR 0235). - **Design:** **ADR 0286** — *the Administrator credential replaces the operator role* (13 decisions, accepted 2026-09-28), including its d.2 correction made at the wireframe gate. - **Flow:** `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). - **Grew out of:** #1886 → spec #1929. The ledger-backed Members list exposed that `role` has no source for an app-joined member. - **Inherited, not re-litigated:** **#1535** (ruled 2026-09-16 — *an operator has admin access to all services*; this spec swaps its carrier, not its policy) and **#1876** (ruled 2026-09-25 — app roles are steward and member; ADR 0286 d.13 reverses its "panel credentials are not app roles" for Administrator only, komiti unchanged). - **Vocabulary:** CONTEXT.md **Administrator**, **Steward**, **Credential**, **Operator**; `role` is 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 that disagree. 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 keep an 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. `role` is deleted. --- ## User Stories Acceptance criteria are sourced from the flow's nodes and edges and the wireframes' own field names. ### The credential itself 1. **As a community, I want Administrator to exist without anyone creating it, so that the thing granting administration cannot be edited away.** - **Given** any IDIP community, **when** its credential definitions are read, **then** `administrator` is present as a **built-in** — synthesised rather than stored, like `membership`. - **And when** a steward attempts to retire or delete it, **then** it is refused; no steward act can remove it. - **And** it never appears in the list of credentials a community may define or edit as ordinary definitions. 2. **As a community, I want to name and style Administrator as our own, so that it looks like ours and not the product's.** - **Given** the built-in, **when** a steward changes its display name or appearance, **then** the change is stored and applied the way Membership's appearance already is, **and** the slug `administrator` never moves. - **And given** a renamed credential, **when** the access check runs, **then** it keys on the slug, never the display name. 3. **As a founder, I want Administrator issued to me at founding, so that my new community's panel opens without a detour.** - **Given** a community being founded on the IDIP path, **when** the founder's Membership is issued, **then** Administrator is issued to them in the same ceremony. - **And when** founding finishes, **then** the founder can open the control panel with no further act. ### Issuing it 4. **As a steward, I want to make any member an administrator from their detail, so that handing over infrastructure work is one act.** - **Given** an active member and an unlocked seat, **when** I choose to issue Administrator, **then** **AC-I1** names the three grants (the control panel; admin in files, data-collections, chat and code; founding member in the community app), states that it does **not** let them sign for the community, carries the two-speed line once, and names what is being signed. - **And when** I confirm, **then** the credential is issued from the one community registry and appears on their row. 5. **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.** - **Given** a locked seat, **when** I attempt to issue Administrator, **then** the unlock is raised first (PU-M0q, the words beside it) and the issuance proceeds only once the seat is unlocked. 6. **As a steward, I want a failed issuance to leave nothing behind, so that I never wonder whether it half-worked.** - **Given** an issuance whose receipt never lands, **when** it gives up, **then** **AC-I1x** says their Membership is untouched and nothing was half-granted, offers *Try again* and their detail, and the member's row is unchanged. - **And** the ledger holds no partial record of the grant. 7. **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.** - **Given** a community where nobody holds Administrator, **when** a steward opens their wallet, **then** **AC-W1** lets them issue it — to themselves by default — naming the same grants and the same non-grant. - **And when** it lands, **then** the panel opens for that holder at their next sign-in. ### What holding it grants 8. **As an administrator, I want the control panel to open when I sign in, so that the credential is the whole of my access.** - **Given** a member holding a live Administrator credential, **when** they sign in, **then** the panel opens (**AC-A1**) with Overview, Fleet, Services, Updates, Backups and Settings. - **And** the identity line names the credential they hold and what it does not carry. 9. **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.** - **Given** an administrator who is not a member of the community group identity, **when** the panel renders, **then** there is **no Members item in the nav** — not an empty tab, not a disabled one, and not a list from any other source. - **And given** the same person is also a steward, **then** Members is present and behaves exactly as it does today. 10. **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.** - **Given** a signed-in member with no Administrator credential, **when** they reach the panel's address, **then** **AC-X0** says the sign-in worked and this part is for the people who look after the setup, offers the Portal and *Sign out*, and names asking a steward as the way in. - **And** no panel surface renders behind it — no emptied nav, no per-tile refusals. 11. **As an administrator, I want admin in the community's services, so that one grant covers the whole job.** - **Given** a holder of Administrator, **when** each service next reconciles, **then** they are an admin in every service that has an admin construct, by the same rule #1535 ruled for an operator. - **And** the reconciler keys on the `administrator` slug carried as a verified claim, never on a role attribute. 12. **As an administrator, I want to know the services will catch up, so that a lag never looks like a failure.** - **Given** a just-issued credential, **when** the panel confirms it, **then** it says once that the panel comes at their next sign-in and service admin follows when each service reconciles. - **And** no per-service pending, applied or failed state is shown anywhere in v1. 13. **As an IDSS founder, I want my community app powers to survive the change, so that dropping `role` costs me nothing.** - **Given** a member holding Administrator on an IDIP backend, **when** the community app resolves their roles, **then** they receive the same set the string `"operator"` yields today — member, contributor, founding member, operations steward, project steward and project lead — so their any-sync community-scope write rights are unchanged. - **And given** they do **not** hold it, **then** they resolve as a member. 14. **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.** - **Given** an IDSS-backed community, **when** a steward upgrades a member to founding member in the app, **then** the **IDSS promotion rail runs** — the community group identity rotates to include them — and that landing issues them Administrator (story 18). - **And when** it completes, **then** they can approve applications, issue and revoke credentials and promote another steward, because they are now an **org-AID signer**. - **And given** an IDSS backend, **when** the app's in-app role editor is opened, **then** founding member is **not** offered there as a role-history grant — a founding member who cannot sign would be a second source of truth about who administers. - **And given** a Coa-hosted community, **then** the app's own role model is unchanged. ### Taking it away 15. **As a steward, I want revoking Administrator to close the panel for that person, so that removing access actually removes it.** - **Given** a holder with the panel open, **when** their Administrator is revoked, **then** their panel sessions end, their open tabs return to the door on the next request, and **AC-R1** tells them their administrator access was removed while their identity and membership are unaffected. - **And when** they sign in again, **then** they meet **AC-X0**, not the panel. 16. **As a community, I want the last Administrator to be un-revokable, so that we can never shut ourselves out of our own panel.** - **Given** exactly one live Administrator credential in the community, **when** a steward attempts to revoke it, **then** **AC-X1** refuses, explains that nobody could then open the panel or administer the services, and offers to issue Administrator to someone else first. - **And** there is no override or *revoke anyway*. - **And given** two or more live ones, **then** revoking proceeds normally. 17. **As a steward, I want a revoked administrator to stay a member, so that removing a job never removes belonging.** - **Given** a revoked Administrator, **when** the member's standing is read, **then** their Membership is untouched and their service access as a member is unchanged. ### Steward and administrator together 18. **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.** - **Given** a rotation that reaches the majority, **when** it lands, **then** the group identity includes the member **and** Administrator has been issued to them, and **AC-P1** names both facts with the issued credential's SAID on the face. - **And** the rotation record carries that SAID. 19. **As a steward, I want demotion to take back exactly what promotion gave, so that it never removes access it did not grant.** - **Given** a demotion of someone whose Administrator came from their promotion, **when** the reverse rotation lands, **then** that exact credential is revoked and **AC-P2** says the panel and the services are closed to them, and they are still a member. - **And given** a demotion of someone who held Administrator **before** being promoted, **then** nothing is revoked, and AC-P2's second frame says they keep the control panel and offers *Revoke Administrator too* as a separate act. 20. **As a steward, I want the two facts shown separately wherever a member is described, so that nobody mistakes one for the other.** - **Given** a member's detail, **when** it renders, **then** holding Administrator and being a steward are shown as distinct facts, each with its own act. ### Deleting `role` 21. **As an engineer, I want the access check in one place, so that the same question stops being answered four ways.** - **Given** the new predicate over a verified claim set, **when** any site asks whether an identity administers this community, **then** it calls that one predicate — the panel's authz, the bridge's claim minting, the spaces check, and #1535's reconciler. - **And** no site compares a role attribute to decide it. 22. **As an engineer, I want the change to land without a flag day, so that nothing is broken between commits.** - **Given** the expand phase, **when** the check runs, **then** it accepts either the credential or the legacy role, and every existing community keeps working. - **And given** the contract phase, **when** it lands, **then** the role attribute is gone from the membership credential, the roster entry, the member wire shape, the promote/demote path and the panel's ROLE column, and nothing reads it. 23. **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.** - **Given** the expand phase has landed, **when** I open the panel, **then** it works on the old check as before, **and** the Administrator credential can already be issued — so I issue it to myself as an ordinary act, at whatever moment suits me. - **And given** at least one live Administrator exists, **when** the contract phase lands, **then** nothing shuts and nobody is prompted, supported or migrated. - **And given** a community that reached the contract phase without issuing one, **then** the way back is a steward issuing from their wallet (story 7) — the fallback, not the expected path. - **And** no bulk backfill is performed, and none is offered in the product. 24. **As a steward, I want the Members list to stop claiming a role, so that the list only says what the ledger knows.** - **Given** the ledger-backed Members list, **when** it renders after the contract phase, **then** there is no ROLE column defaulting to "member"; a row shows the credentials held (Administrator among them) and whether the holder is a steward. - **And** the PU-M1 wireframe is amended in the same change, since it currently draws a ROLE column. 25. **As a reviewer, I want the app's steward check to stop reading role strings, so that one fact has one source.** - **Given** the community app on an IDIP backend, **when** it decides whether someone is a steward, **then** it asks whether the identity is a member of the community group identity, not what a credential's role attribute says. --- ## Implementation Decisions 1. **A second built-in credential definition**, `administrator`, alongside Membership: 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. 2. **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. 3. **The claim path is the one that exists.** Credential slugs already ride sign-in as verified claims; `administrator` is one more. No new claim mechanism, no trusted header, no new door check. 4. **Expand–contract for `role`.** Expand: the predicate accepts the credential or 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. 5. **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. 6. **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. 7. **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. 8. **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. 9. **Founding issues Administrator with the founder's Membership**, in the same ceremony, on the IDIP path only. 10. **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** (`rolesForAIDAt` treats org-config admins as Founding Member, and on IDSS org-config `admins` is the steward set). The in-app role-history grant of founding member is not offered on an IDSS backend. These are that repo's tickets. 11. **#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.** 1. **The new predicate**, unit-tested where it lives: holds/doesn't hold, a renamed credential still matching by slug, a revoked credential not counting. 2. **`internal/controlapi`'s gate/authz tests** — panel access granted by the credential and refused without it; the spaces check; the epoch bump on revocation and a pre-epoch session resolving to none. 3. **`internal/idp`'s claim tests** — the `administrator` slug riding a minted session, and absent when the credential is revoked. 4. **`internal/keria`'s definitions and registry tests** — the built-in present and un-retirable, the appearance stored, the promotion's SAID recorded, the reverse rotation revoking exactly it, and the last-revoke refusal. 5. **The dashboard's injected steward-bundle unit seam** — AC-I1's card contents, AC-I1x's partial, AC-X1's refusal, AC-P1/AC-P2's outcomes, and AC-A1's nav without a Members item. 6. **matou-app's own tests** for its two obligations and the steward check. **No new seam is introduced.** Prior art to copy: the existing gate-decision tests in `internal/controlapi`, the bridge's claim and refusal tests in `internal/idp`, `internal/keria`'s definition and standing tests, and the dashboard's injected-bundle unit tests written for #1931–#1934. **Design conformance.** `code-review`'s Design axis and `design-verify` check the built screens against `docs/ux/wireframes/administrator-credential/`; the field names in those files are the literal contract, and AC-A1's **absent** Members item is part of it. --- ## Out of Scope - **#1535's per-service tranches** — Grist's install admin, chat and code admin groups, the reconciler's own construction. This spec changes only what it keys on. - **A narrower administrator** — read-only, per-service or per-surface grants. Administrator is community-wide by construction; a narrower grant is a later credential, not a setting. - **Per-service admin state in the panel** (pending/applied/failed rows) — ADR 0286 d.8 keeps v1 free of it. - **A bulk backfill** for existing communities, and any migration surface in the product (ADR 0286 d.7). - **Any change to signing, the group identity, the promotion rail's mechanics, or the seat** beyond the SAID the rotation records. - **komiti credentials as app roles** — #1876's separation stands for everything except Administrator. - **The app's other roles** (Operations Steward, Community Steward as distinct app concepts) — #1876 collapses app roles to steward and member on IDIP, and that ruling is unchanged. --- ## Further Notes - **The correction worth carrying forward.** ADR 0286 d.2 first said a 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. - **The alias that made d.13 necessary.** matou-app resolves the string `"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. - **The panel does not close at cut-over — the ordering is the migration.** ✎ Corrected 2026-09-28 (Ben: *"the founder should not need anything more"*). The built-in definition lands in the **expand** phase, while the old `role` check 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-tickets` must place the built-in and the expand phase before the 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. - **PU-M1 owes an amendment.** The Members wireframe still draws a ROLE column, 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-spec` against ADR 0286, `docs/ux/flows/administrator-credential.mermaid` and the nine `administrator-credential/` wireframes. Seams confirmed with Ben at the grill's seam gate and unchanged by the wireframe pass.* 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_015es4bpK4qRqZhrRYQBWCiY
Author
Member

TICKETED 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).

Ticket Blocked by
#1949 1/8 the built-in Administrator credential — frontier, start now
#1950 2/8 one decider over verified claims (expand: credential OR legacy role) #1949
#1951 3/8 issue and revoke from the panel (AC-I1 / I1x / X1) #1949
#1952 4/8 what it opens + the member turned away (AC-A1 / X0) #1950
#1953 5/8 revoking closes the panel on the open tab (AC-R1) #1951, #1952
#1954 6/8 promotion issues it, demotion takes back exactly it (AC-P1 / P2) #1951
#1955 7/8 founding issues it to the founder #1949
#1956 8/8 contract: delete role #1950, #1952, #1953, #1954, #1955, matou-app#668

matou-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:

  1. The expand window IS the migration. #1949 makes the credential issuable while #1950 still honours the old role check, 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.
  2. The cut-over guard is an acceptance criterion, not a note. #1956 cannot be called done unless a live Administrator already exists in any community it cuts over, confirmed in its close-report.
  3. #1956 waits on matou-app#668 across repos — a genuine gate, not conflict avoidance: deleting the role string before the app reads the credential silently strips an IDSS founder's any-sync write rights with nothing erroring. That asymmetry (silent, and it lands on the founder) is why it blocks rather than being coordinated by hand.

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

**TICKETED 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`). | Ticket | Blocked by | |---|---| | **#1949** 1/8 the built-in Administrator credential | — **frontier, start now** | | **#1950** 2/8 one decider over verified claims (**expand**: credential OR legacy role) | #1949 | | **#1951** 3/8 issue and revoke from the panel (AC-I1 / I1x / X1) | #1949 | | **#1952** 4/8 what it opens + the member turned away (AC-A1 / X0) | #1950 | | **#1953** 5/8 revoking closes the panel on the open tab (AC-R1) | #1951, #1952 | | **#1954** 6/8 promotion issues it, demotion takes back exactly it (AC-P1 / P2) | #1951 | | **#1955** 7/8 founding issues it to the founder | #1949 | | **#1956** 8/8 **contract: delete `role`** | #1950, #1952, #1953, #1954, #1955, matou-app#668 | **matou-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:** 1. **The expand window IS the migration.** #1949 makes the credential issuable while #1950 still honours the old `role` check, 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. 2. **The cut-over guard is an acceptance criterion, not a note.** #1956 cannot be called done unless a live Administrator already exists in any community it cuts over, confirmed in its close-report. 3. **#1956 waits on matou-app#668 across repos** — a genuine gate, not conflict avoidance: deleting the role string before the app reads the credential silently strips an IDSS founder's any-sync write rights with nothing erroring. That asymmetry (silent, and it lands on the founder) is why it blocks rather than being coordinated by hand. **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.com/claude-code) https://claude.ai/code/session_015es4bpK4qRqZhrRYQBWCiY
Sign in to join this conversation.
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#1948
No description provided.