idip-credentials: T1 — credential definitions: store, cards, create (S8i), detail skeleton (S7i) #1078
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.
Blocks
Reference
Matou/idss#1078
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
Spec #1074 (IDIP Members credentials; DDR 0217). Source ticket #1061.
What to build
A steward on an IDIP community creates a credential (name, description, optional criteria) from the Members tab and sees it as a card beside built-in Membership; opening it shows the empty detail (no holders). Rename changes only the display name. The definitions store (roster-side, unsigned, control-plane state dir — never the config repo) carries name, immutable slug, description, criteria, and the retired flag from day one. No ceremony — nothing is signed until first issue (DDR 0217 rulings 1–3).
Acceptance criteria
Blocked by
None — can start immediately.
Task manifest
swarm-claim host=matou-dev-server-01 run=15297
(automated multi-host claim — lowest live claim id works this ticket)
Auth-posture note (AC5 "refuse unauthenticated and wrong-token") — ruled by agent under ADR 0174, veto anytime.
AC5's phrasing echoes the roster surface's bridge-read bearer test, but the definitions routes are steward acts the dashboard makes, and the dashboard cannot present the bridge gate secret by construction — the admin front-door route injects the operator identity (
X-Idss-Identity), never a bearer. Bearer-gating the definitions routes would therefore make create-from-S8i impossible (contradicting AC1).So
WithIdipCredentialsgates on the operator SSO session (operatorAuthed/X-Idss-Identity, the same posture as the logstream/mail steward routes): a caller with no session is 401. At this seam "wrong-token" collapses to "no/blank operator session" — the front door is the sole issuer of the verified identity. This is a two-way door: it tightens the surface (the roster steward routes are ungated), is revertible, and is proven byTestIdipCredentials_RefuseUnauthenticated.Deferred to their DAG tickets (kept out of this skeleton):
issue-to-member/ holders (#1079), delete + retire lifecycle (#1084), credential-gated presentation (#1063).close-report for #1078 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope
preferred_username, but the operator check keys on the AID #1101