administrator 8/8 — contract: delete role (#1948) #1956
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
2 participants
Notifications
Due date
No due date set.
Depends on
#1952 administrator 4/8 — what the credential opens, and the member turned away at the door (#1948)
Matou/idss
#1953 administrator 5/8 — revoking Administrator closes the panel on the open tab (#1948)
Matou/idss
You do not have permission to read 1 dependency
Reference
Matou/idss#1956
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.mermaidWhat to build
The contract half of the expand–contract. Every read site already goes
through the predicate (2/8) and the app already resolves from the credential
(matou-app#668), so the field has no readers left. Delete it:
roleattribute from the membership credential's attributes;to
'member'when neither the ledger row nor the projection supplies one,which is the incoherence this whole feature removes. A row shows the
credentials held (Administrator among them) and whether the holder is a
steward.
column; leaving it would put the drawn contract and the code in disagreement.
The cut-over guard. No community may be cut over without an administrator
already in place. The expand window is the migration: the credential has been
issuable since 1/8 while the old check still worked, so a community issues it
from its working panel as an ordinary act, with no deadline and no support
step. This ticket must confirm that has happened.
Acceptance criteria
role.docs/ux/wireframes/p6-members-idip/p6-s1i-members.htmland the panel-unlock set's PU-M1, when this lands, then their ROLE column is amended to match.Blocked by
Task manifest
Ticketed by
/to-ticketsfrom spec #1948 (ADR 0286); granularity, the cross-repo edge and the cut-over guard confirmed with Ben 2026-09-28. Slice-map skipped at his call — one feature, no cross-feature coupling left to find.🤖 Generated with Claude Code
https://claude.ai/code/session_015es4bpK4qRqZhrRYQBWCiY
Blocked — needs a human decision (asked, no reply in time)
The contract cannot land as scoped. The ticket premise ("Every read site already
goes through the predicate (2/8) … so the field has no readers left") and story 22
/ AC-2 ("nothing reads a role attribute … for administration, membership standing
or a service claim") are not borne out by the IDSS Go backend.
The
HoldsAdministratorpredicate (2/8) migrated only the administration andbridge service-claim readers (idp
verifier.go/storage.go, controlapiidip_gate.go,spaces.goproof-authz) — those reduce to dropping thelegacyOperatorarm, as expected. But four live, security-critical Go readers ofthe roster/wire
rolebeing deleted are NOT covered by that predicate and have nogroup-AID replacement on the Go side:
keria.IsOperator(internal/keria/operators.goL87, L110) — the stewardsigning gate, consumed by
controlapi/spaces.goL329,idip_gate.goL194/L259,
idip_authz.goL107,me.goL177 (who may record a space / sign).Its presented-holder arm reads role off the membership ACDC (
Claims.Role,set from the ACDC role attribute) — deleting the attribute removes its only
runtime source, so an app-approved (presented) steward would silently stop being
recognised as a steward on the Go control plane.
controlapi.IdipRoleReconciler(internal/controlapi/idip_roles.goReconcileService/Operators) viakeria.GateRoster.LivePeople'sOperatorflag (gateroster.goL193, readingRosterEntry.Role/PresentedRow.Role) — grants admin in each community service. ADR 0286 d.3says re-key this on the
administratorslug; that migration is not done.orgconfig.AdminsFromRoster(internal/orgconfig/render.goL162-174) —renders the deployed org-config
admins/steward set fromMemberView.Role.keriaremovalisSteward(internal/keria/removal.goL278) — removaleligibility (a steward cannot be removed until rotated out).
The spec's steward-check migration (story 25 / implementation decision 10) is
matou-app-only — its steward check asks signify for group-identity membership,
which landed in
Matou/matou-app#668(closed). The IDSS Go backend's ownsteward gate, service reconciler and org-config admins derivation were assumed done
but were never migrated, and ADR 0286 d.12's replacement (steward = community
group-AID membership) has no reader on the Go side.
Deleting
rolewhile these remain would either break the build or, worse, silentlynarrow/alter who can sign and who is admin in every service — a security-posture
change with no provable-two-way test (the presented-holder hole is invisible to the
seams, which inject rows directly). #1950 itself flagged this deferral: "the
roster's live-operator check stays the steward/liveness gate."
Why human
Re-basing the Go-side steward gate, the service reconciler and the org-config admins
derivation off
roleis a security-posture decision (signing authority + per-service admin grants) with no group-AID source on the Go side and no
prerequisite ticket — so it is not a two-way door I can rule under ADR 0174. It
needs a design ruling before the contract can safely land.
The decision needed (verbatim, as asked on Mattermost — no reply within 20 min)
To re-arm
Pick (A), (B) or (C). If (A), the prerequisite ticket(s) must land first, then add
depends_onand re-addready-for-agent. If (B)/(C), record the ruling here (thepresented-holder steward source is the crux) and re-add
ready-for-agent. A lateMattermost reply on the same thread is not lost — the next ask for #1956 resumes it.
Re-confirmed this iteration — still blocked, no reply
A second agent run (host bens-mac-04, run 34818) independently reached the same
conclusion as the block above: deleting
roleremoves the control-plane's onlyrecord of the steward set (group-AID membership / signing power, which ADR 0286
d.2 keeps distinct from the Administrator credential). The live, un-migrated readers
with no built replacement:
Registry.Operators()— majority-rotation sizing + solo-steward nudgeRegistryOperators.IsOperator— the steward signing gate (StewardResolver.Authorize, spaces door,/me)removal.goisSteward— a steward can't be removed until rotated outgaterosterLivePerson.OperatorIdipRosterPanelmake/remove-steward buttons +stewardCountThe set can't be derived from held credentials — a founder-administrator
(
ByPromotion=false) is indistinguishable from a panel-issued non-stewardadministrator, so re-sourcing from "holds Administrator" would widen the signing
gate (a one-way door, against d.2).
I re-asked on Mattermost; the ask resumed the same still-open thread (no
duplicate posted) and timed out again with no reply within 20 min. So the block
stands unchanged — awaiting the (A)/(B)/(C) ruling above. Leaving
ready-for-human.Two secondary human items also unresolved: the cut-over guard (AC-1: ≥1 live
Administrator must already exist in the communities this reaches — not verifiable
from the sandbox) and the schema-SAID migration (dropping
credschema.AttrRolechanges the published membership schema SAID, a cross-repo contract with matou-app).
Releasing this run's claim; labels unchanged.
role#1996role#1996A new condition on this ticket, from ADR 0289's 2026-09-29 amendment (on main at
2ac82b29, #1997).Ben ruled that the control panel is always open to the community's stewards, with or without Administrator. The gate already admitted a steward — but only through the legacy-role half of
credschema.HoldsAdministrator, the arm this ticket deletes. It is now a rule of its own (GateReasonSteward,internal/controlapi/idip_gate.go), pinned byinternal/controlapi/idip_gate_steward_test.go.What that changes here. The gate reads stewardship through
keria.RegistryOperators.IsOperator: live Membership androle: operator. Deleteroleand that read answers no for everyone — and every steward who holds no Administrator is locked out of the panel.Added acceptance criteria:
OperatorCheck) is sourced from the community group identity's signers, not fromrole. #1996'sorgconfig.StewardSignersis the panel's read and names noroleof its own, butAdminsFromRosterbeneath it still derives from the roster — re-source that too.idip_gate_steward_test.gostays green without being edited.The cut-over guard already in this ticket (at least one live Administrator exists) stands, and is no longer the only thing between a community and a lockout.
GOTCHAS #370 records why this was nearly missed.
🤖 Generated with Claude Code
https://claude.ai/code/session_01WgMdPvssS1d7W1v2dL7bcH