panel-unlock 2/7 — Members lists the community ledger, and no list without the seat (#1929) #1931

Closed
opened 2026-09-27 19:09:42 +00:00 by matou-build-agent · 2 comments

Parent

  • Spec: #1929 — panel unlock (story 11, 12, 17, 19–26, 31–33, 39)
  • Symptom ticket: #1886 · Wayfinder map: #1293
  • Design: ADR 0282 d.8, DDR 0217 ruling 9 · flow docs/ux/flows/panel-unlock.mermaid

What to build

This is #1886's fix. The Members tab stops reading the IDIP roster and reads
the community ledger through the steward's unlocked seat. A member registered
and approved in the app appears in the panel, because their Membership is in
the ledger — which is the whole complaint the ticket was filed about.

Four states, all drawn:

  • PU-M1 — unlocked. The list is every holder of credentials from the one
    community registry, with standing derived from the ledger alone: active
    (Membership issued, not revoked), suspended (Membership revoked, other
    credentials still held — they show dormant, DDR 0217 ruling 6), no longer a
    member
    (everything revoked — the row stays). ISSUED BY names the
    steward
    , never the surface; there is no "approved in the app / in the panel"
    column, because the ledger cannot answer it. A provenance line names the
    registry, when it was read, and which fields are the roster projection's
    rather than the ledger's. Above the table sits the seat line — "Steward
    actions are unlocked on this computer — unlocked by your app when you signed
    in"
    or "…with your twelve words" — and Lock.
  • PU-M1e — only you so far. A freshly founded community's registry holds one
    real credential (the founder's), so the table shows that row and the count
    reads 1 — never a fake zero or a skeleton — with the empty-state line teaching
    the two-surface fact and an invite affordance.
  • PU-M1u — the records can't be reached. The seat line stays visible and
    reads unlocked, the copy blames the records, no rows are shown from any
    cache
    , Try again is uncapped, and the last-read time and a Fleet link
    turn a dead end into a diagnosis.
  • PU-M0 — locked. No list, no counts, no skeleton: the panel is not
    withholding data, it cannot read it. Both frames — arrived-locked and
    locked-by-reload, whose copy says you're still signed in — plus the line
    that everything else in the control panel works as usual.

Scope note on PU-M0's two doors: this ticket ships the twelve-words door
only (the unlock that exists today, re-roled from the way in to the fallback —
p6-s11i-unlock-signing.html). The "approve on your phone" door arrives in
5/7. Everything else on PU-M0 is final.

The seat gains a source so the seat line can say which door it came through,
and Lock drops the passcode from tab memory at once without ending the
operator session (that is the chrome's Sign out, DDR 0155). Nothing about the
seat is ever written to browser storage.

The roster becomes display-only: names and usernames are read from it for
display, the provenance line admits it, and nothing in this ticket writes
standing to it
.

Acceptance criteria

  • Given a member registered and approved in the app, their Membership issued from the community registry by another steward, when a steward opens Members with the seat unlocked, then their row is there with credentials, role, issuer and status — and no roster write happened.
  • Given any row, when ISSUED BY renders, then it names the issuing steward (display name where the projection has one, else the AID), or the founding for the founder's own credential — and no column claims which surface approved them.
  • Given a holder whose every credential is revoked, when the list renders, then the row remains with the status no longer a member.
  • Given a holder whose Membership is revoked but who still holds other credentials, when the list renders, then the status is suspended and those credentials show dormant (DDR 0217 ruling 6).
  • Given a rendered list, when the provenance line renders, then it names the count, the registry read from, the read time, and which fields came from the roster projection.
  • Given the projection holds no name for a holder, when the row renders, then it still renders, identified by what the ledger carries.
  • Given a registry holding only the founder's Membership, when Members renders, then PU-M1e shows that one real row, the count reads 1, and the empty-state line reads "…whether you approve them in this browser or in your app" with an invite affordance.
  • Given an unlocked seat and an unreachable ledger, when Members renders, then PU-M1u shows: seat line still unlocked, the records blamed, zero rows, an uncapped Try again, the last-read time, and the Fleet link.
  • Given a locked seat, when Members renders, then PU-M0 shows no list, no counts and no skeleton, the twelve-words door, and the line that the rest of the panel works as usual.
  • Given an unlocked seat, when the tab is reloaded or opened a second time, then the seat is locked and PU-M0's reload frame names the cause and says you're still signed in.
  • Given an unlocked seat, when Lock is pressed, then the passcode leaves tab memory at once, Members returns to PU-M0, and the operator session is untouched.
  • Given the seat was unlocked by the twelve words, when the seat line renders, then it says so (data-unlocked-by="words").
  • The wireframes' field renames are honoured: idip-roster → ledger-members (data-source="community-ledger"), signing-unlocked → seat-unlocked, lock-signing → lock-steward-actions.
  • Invites, the credentials cards, the pending-rotation strip, the solo-steward nudge and every drill-in keep working on ledger-backed rows.
  • No browser storage holds anything about the seat.

Blocked by

  • #1910 — the App-only switch removal rewrites the same Members components.
  • 1/7 (the ledger read verb).

Task manifest

task: members-from-the-ledger
implements_flow: panel-unlock
implements_edge: M1 / M1e / M1u / M0 (arrived-locked + locked-by-reload)
wireframe:
  - docs/ux/wireframes/panel-unlock/pu-m1-members-unlocked.html
  - docs/ux/wireframes/panel-unlock/pu-m1e-members-only-you-so-far.html
  - docs/ux/wireframes/panel-unlock/pu-m1u-records-cant-be-reached.html
  - docs/ux/wireframes/panel-unlock/pu-m0-members-locked.html
  - docs/ux/wireframes/p6-members-idip/p6-s1i-members.html   # amended: ledger-members
interface: |
  seat: { state: 'locked' | 'unlocked', source?: 'phone' | 'words' }
  lock(): void                      # drops the passcode; does NOT end the operator session
  # the list is composed from ledgerMembers() rows, grouped by holder;
  # names/usernames read from the roster PROJECTION (display only, never the source)
seam: dashboard/tests/unit via the injected steward-bundle loader
acceptance:
  - given: a member approved in the app, their Membership in the community registry
    when: a steward opens Members with the seat unlocked
    then: their row appears, and no roster write happens
  - given: a holder whose every credential is revoked
    when: the list renders
    then: the row remains, status "no longer a member"
  - given: an unlocked seat and an unreachable ledger
    when: Members renders
    then: PU-M1u shows zero rows, uncapped Try again, last-read time, Fleet link
  - given: an unlocked seat
    when: the tab is reloaded
    then: the seat is locked, PU-M0's reload frame says "you're still signed in"
depends_on: [1910, ledger-read-verb]
out_of_scope:
  - the phone unlock door on PU-M0 (5/7 adds it; the words door ships here)
  - the admin inbox section (3/7)
  - roster projection writes
  - folding removed members behind a "show past members" disclosure
needs_human_decision: []

Ticketed by /to-tickets from spec #1929; granularity, blocking edges and cross-repo filing confirmed with Ben 2026-09-27.

🤖 Generated with Claude Code

https://claude.ai/code/session_015es4bpK4qRqZhrRYQBWCiY

## Parent - **Spec:** [#1929 — panel unlock](https://git.matou.nz/Matou/idss/issues/1929) (story 11, 12, 17, 19–26, 31–33, 39) - **Symptom ticket:** #1886 · **Wayfinder map:** #1293 - **Design:** ADR 0282 d.8, DDR 0217 ruling 9 · flow `docs/ux/flows/panel-unlock.mermaid` ## What to build **This is #1886's fix.** The Members tab stops reading the IDIP roster and reads the **community ledger** through the steward's unlocked seat. A member registered and approved **in the app** appears in the panel, because their Membership is in the ledger — which is the whole complaint the ticket was filed about. Four states, all drawn: - **PU-M1 — unlocked.** The list is every holder of credentials from the one community registry, with standing derived from the ledger alone: *active* (Membership issued, not revoked), *suspended* (Membership revoked, other credentials still held — they show dormant, DDR 0217 ruling 6), *no longer a member* (everything revoked — **the row stays**). **ISSUED BY names the steward**, never the surface; there is no "approved in the app / in the panel" column, because the ledger cannot answer it. A provenance line names the registry, when it was read, and **which fields are the roster projection's** rather than the ledger's. Above the table sits the seat line — *"Steward actions are unlocked on this computer — unlocked by your app when you signed in"* or *"…with your twelve words"* — and **Lock**. - **PU-M1e — only you so far.** A freshly founded community's registry holds one real credential (the founder's), so the table shows that row and the count reads 1 — never a fake zero or a skeleton — with the empty-state line teaching the two-surface fact and an invite affordance. - **PU-M1u — the records can't be reached.** The seat line stays visible and reads unlocked, the copy blames the records, **no rows are shown from any cache**, *Try again* is **uncapped**, and the last-read time and a Fleet link turn a dead end into a diagnosis. - **PU-M0 — locked.** No list, no counts, no skeleton: the panel is not withholding data, it cannot read it. Both frames — arrived-locked and locked-by-reload, whose copy says *you're still signed in* — plus the line that everything else in the control panel works as usual. **Scope note on PU-M0's two doors:** this ticket ships the **twelve-words door** only (the unlock that exists today, re-roled from *the* way in to the fallback — `p6-s11i-unlock-signing.html`). The *"approve on your phone"* door arrives in 5/7. Everything else on PU-M0 is final. The seat gains a **source** so the seat line can say which door it came through, and **Lock** drops the passcode from tab memory at once **without** ending the operator session (that is the chrome's Sign out, DDR 0155). Nothing about the seat is ever written to browser storage. The roster becomes display-only: names and usernames are read from it for display, the provenance line admits it, and **nothing in this ticket writes standing to it**. ## Acceptance criteria - [ ] **Given** a member registered and approved **in the app**, their Membership issued from the community registry by another steward, **when** a steward opens Members with the seat unlocked, **then** their row is there with credentials, role, issuer and status — **and no roster write happened**. - [ ] **Given** any row, **when** ISSUED BY renders, **then** it names the **issuing steward** (display name where the projection has one, else the AID), or *the founding* for the founder's own credential — and no column claims which surface approved them. - [ ] **Given** a holder whose every credential is revoked, **when** the list renders, **then** the row remains with the status *no longer a member*. - [ ] **Given** a holder whose Membership is revoked but who still holds other credentials, **when** the list renders, **then** the status is *suspended* and those credentials show **dormant** (DDR 0217 ruling 6). - [ ] **Given** a rendered list, **when** the provenance line renders, **then** it names the count, the registry read from, the read time, and which fields came from the roster projection. - [ ] **Given** the projection holds no name for a holder, **when** the row renders, **then** it still renders, identified by what the ledger carries. - [ ] **Given** a registry holding only the founder's Membership, **when** Members renders, **then** PU-M1e shows that one real row, the count reads **1**, and the empty-state line reads *"…whether you approve them in this browser or in your app"* with an invite affordance. - [ ] **Given** an unlocked seat and an unreachable ledger, **when** Members renders, **then** PU-M1u shows: seat line still unlocked, the records blamed, **zero rows**, an **uncapped** *Try again*, the last-read time, and the Fleet link. - [ ] **Given** a locked seat, **when** Members renders, **then** PU-M0 shows no list, no counts and no skeleton, the twelve-words door, and the line that the rest of the panel works as usual. - [ ] **Given** an unlocked seat, **when** the tab is reloaded or opened a second time, **then** the seat is locked and PU-M0's reload frame names the cause and says *you're still signed in*. - [ ] **Given** an unlocked seat, **when** **Lock** is pressed, **then** the passcode leaves tab memory at once, Members returns to PU-M0, and the operator session is untouched. - [ ] **Given** the seat was unlocked by the twelve words, **when** the seat line renders, **then** it says so (`data-unlocked-by="words"`). - [ ] The wireframes' field renames are honoured: `idip-roster` → `ledger-members` (`data-source="community-ledger"`), `signing-unlocked` → `seat-unlocked`, `lock-signing` → `lock-steward-actions`. - [ ] Invites, the credentials cards, the pending-rotation strip, the solo-steward nudge and every drill-in keep working on ledger-backed rows. - [ ] No browser storage holds anything about the seat. ## Blocked by - #1910 — the App-only switch removal rewrites the same Members components. - 1/7 (the ledger read verb). ## Task manifest ```yaml task: members-from-the-ledger implements_flow: panel-unlock implements_edge: M1 / M1e / M1u / M0 (arrived-locked + locked-by-reload) wireframe: - docs/ux/wireframes/panel-unlock/pu-m1-members-unlocked.html - docs/ux/wireframes/panel-unlock/pu-m1e-members-only-you-so-far.html - docs/ux/wireframes/panel-unlock/pu-m1u-records-cant-be-reached.html - docs/ux/wireframes/panel-unlock/pu-m0-members-locked.html - docs/ux/wireframes/p6-members-idip/p6-s1i-members.html # amended: ledger-members interface: | seat: { state: 'locked' | 'unlocked', source?: 'phone' | 'words' } lock(): void # drops the passcode; does NOT end the operator session # the list is composed from ledgerMembers() rows, grouped by holder; # names/usernames read from the roster PROJECTION (display only, never the source) seam: dashboard/tests/unit via the injected steward-bundle loader acceptance: - given: a member approved in the app, their Membership in the community registry when: a steward opens Members with the seat unlocked then: their row appears, and no roster write happens - given: a holder whose every credential is revoked when: the list renders then: the row remains, status "no longer a member" - given: an unlocked seat and an unreachable ledger when: Members renders then: PU-M1u shows zero rows, uncapped Try again, last-read time, Fleet link - given: an unlocked seat when: the tab is reloaded then: the seat is locked, PU-M0's reload frame says "you're still signed in" depends_on: [1910, ledger-read-verb] out_of_scope: - the phone unlock door on PU-M0 (5/7 adds it; the words door ships here) - the admin inbox section (3/7) - roster projection writes - folding removed members behind a "show past members" disclosure needs_human_decision: [] ``` --- *Ticketed by `/to-tickets` from spec [#1929](https://git.matou.nz/Matou/idss/issues/1929); granularity, blocking edges and cross-repo filing confirmed with Ben 2026-09-27.* 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_015es4bpK4qRqZhrRYQBWCiY
Author
Member

swarm-claim host=bens-mac-04 run=34378
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=bens-mac-04 run=34378 (automated multi-host claim — lowest live claim id works this ticket)
Author
Member

close-report for #1931 — status success

✅ close-report gates passed — every claim verified against main; issue closed.

envelope
{
  "issue": 1931,
  "status": "success",
  "commits": [
    "b3342a1db4bf82200309c5277af5436c6b1b662b"
  ],
  "changed_files": [
    "STATUS.md",
    "dashboard/src/components/members/IdipRosterPanel.vue",
    "dashboard/src/components/members/MembersSurface.vue",
    "dashboard/src/lib/idip.ts",
    "dashboard/src/lib/ledgerRoster.ts",
    "dashboard/src/lib/signingSession.ts",
    "dashboard/tests/e2e/preview-harness/idipFakes.ts",
    "dashboard/tests/e2e/preview-harness/scenarios.ts",
    "dashboard/tests/unit/idipRosterPanel.test.ts",
    "dashboard/tests/unit/idipRotation.test.ts",
    "dashboard/tests/unit/ledgerRoster.test.ts",
    "dashboard/tests/unit/membersIdipLedger.test.ts",
    "dashboard/tests/unit/removeMember.test.ts",
    "dashboard/tests/unit/support/ledgerBundle.ts"
  ],
  "tests": [
    {
      "command": "cd dashboard && npx vue-tsc --noEmit -p tsconfig.json",
      "exit_code": 0
    },
    {
      "command": "cd dashboard && npx eslint <changed .ts/.vue files>",
      "exit_code": 0
    },
    {
      "command": "cd dashboard && npx vitest run",
      "exit_code": 0
    }
  ],
  "criteria": {
    "app-approved member appears with credentials/role/issuer/status, no roster write": "ledgerRoster.ts projectLedgerRows groups the ledger by holder; IdipRosterPanel renders the ledger-members table; tests/unit/idipRosterPanel.test.ts 'lists a member approved IN THE APP ... writes no roster' + tests/unit/ledgerRoster.test.ts '#1886'",
    "ISSUED BY names the issuing steward or the founding, no surface column": "ledgerRoster.ts issuedBy (founder=earliest Membership -> 'the founding', else projection name/short AID); tests 'names ISSUED BY the founding' + ledgerRoster.test.ts 'names ISSUED BY the founding for the founder and the issuing seat for others'",
    "fully-revoked holder keeps a row, status no longer a member": "projectLedgerRows status no-longer-a-member; idipRosterPanel.test.ts 'keeps a fully-revoked holder as a row' + ledgerRoster.test.ts",
    "Membership revoked but other creds held -> suspended + dormant (ruling 6)": "projectLedgerRows dormant flag; idipRosterPanel.test.ts suspended pill test + ledgerRoster.test.ts 'reads a Membership-revoked holder ... as suspended'",
    "provenance line names count, registry, read time, projection fields": "IdipRosterPanel ledger-read-note with registry-id code + lastReadTime; idipRosterPanel.test.ts 'the provenance line names ...' + ledgerRoster.test.ts ledgerReadProvenance",
    "projection holds no name -> row still renders by AID": "row.name falls back to shortAid(row.aid); idipRosterPanel.test.ts app-approved test asserts EWhetu row with no projection name",
    "PU-M1e: only founder -> one row, count 1, teaching empty state": "onlyFounder empty-state + provenance count; idipRosterPanel.test.ts 'PU-M1e ...'",
    "PU-M1u: unlocked+unreachable -> seat unlocked, records blamed, zero rows, uncapped Try again, last-read, Fleet link": "ledgerUnreachable frame, ledgerFaultKind; idipRosterPanel.test.ts 'PU-M1u ...'",
    "PU-M0: locked -> no list/counts/skeleton, twelve-words door, rest works as usual": "seat-locked frame gated on !signing.unlocked; idipRosterPanel.test.ts 'a locked seat shows PU-M0 ...'",
    "reload/second tab -> locked, reload frame says you're still signed in": "memory-only seat (bundle starts locked on load) + PU-M0 reload copy data-reason=tab-reloaded; idipRosterPanel.test.ts locked test asserts locked-body 'still signed in'",
    "Lock -> passcode leaves tab memory, PU-M0, operator session untouched": "onLock calls signing.lock() only (DDR 0155); idipRosterPanel.test.ts 'Lock drops the seat to PU-M0'",
    "seat unlocked by twelve words -> data-unlocked-by=words": "signingSession source='words' on words unlock; idipRosterPanel.test.ts locked test asserts data-unlocked-by='words'",
    "field renames idip-roster->ledger-members (community-ledger), signing-unlocked->seat-unlocked, lock-signing->lock-steward-actions": "IdipRosterPanel table data-field/data-source, seat data-status, lock data-action; asserted across idipRosterPanel.test.ts",
    "invites/credentials cards/pending-rotation strip/solo nudge/drill-ins keep working on ledger-backed rows": "memberFor(row) feeds IdipMemberCredentials/RemoveMemberScreen/rotations; idipRotation.test.ts + removeMember.test.ts + mint/approve tests green",
    "no browser storage holds anything about the seat": "seat state held only in signingSession refs + the app bundle's tab memory; no localStorage/sessionStorage writes added"
  },
  "summary": "Members now lists the community ledger through the unlocked seat (PU-M1/M1e/M1u/M0), fixing #1886 so app-approved members appear; seat gains source + Lock.",
  "reason": "",
  "blockers": [],
  "no_code_change": ""
}
**close-report** for #1931 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1931, "status": "success", "commits": [ "b3342a1db4bf82200309c5277af5436c6b1b662b" ], "changed_files": [ "STATUS.md", "dashboard/src/components/members/IdipRosterPanel.vue", "dashboard/src/components/members/MembersSurface.vue", "dashboard/src/lib/idip.ts", "dashboard/src/lib/ledgerRoster.ts", "dashboard/src/lib/signingSession.ts", "dashboard/tests/e2e/preview-harness/idipFakes.ts", "dashboard/tests/e2e/preview-harness/scenarios.ts", "dashboard/tests/unit/idipRosterPanel.test.ts", "dashboard/tests/unit/idipRotation.test.ts", "dashboard/tests/unit/ledgerRoster.test.ts", "dashboard/tests/unit/membersIdipLedger.test.ts", "dashboard/tests/unit/removeMember.test.ts", "dashboard/tests/unit/support/ledgerBundle.ts" ], "tests": [ { "command": "cd dashboard && npx vue-tsc --noEmit -p tsconfig.json", "exit_code": 0 }, { "command": "cd dashboard && npx eslint <changed .ts/.vue files>", "exit_code": 0 }, { "command": "cd dashboard && npx vitest run", "exit_code": 0 } ], "criteria": { "app-approved member appears with credentials/role/issuer/status, no roster write": "ledgerRoster.ts projectLedgerRows groups the ledger by holder; IdipRosterPanel renders the ledger-members table; tests/unit/idipRosterPanel.test.ts 'lists a member approved IN THE APP ... writes no roster' + tests/unit/ledgerRoster.test.ts '#1886'", "ISSUED BY names the issuing steward or the founding, no surface column": "ledgerRoster.ts issuedBy (founder=earliest Membership -> 'the founding', else projection name/short AID); tests 'names ISSUED BY the founding' + ledgerRoster.test.ts 'names ISSUED BY the founding for the founder and the issuing seat for others'", "fully-revoked holder keeps a row, status no longer a member": "projectLedgerRows status no-longer-a-member; idipRosterPanel.test.ts 'keeps a fully-revoked holder as a row' + ledgerRoster.test.ts", "Membership revoked but other creds held -> suspended + dormant (ruling 6)": "projectLedgerRows dormant flag; idipRosterPanel.test.ts suspended pill test + ledgerRoster.test.ts 'reads a Membership-revoked holder ... as suspended'", "provenance line names count, registry, read time, projection fields": "IdipRosterPanel ledger-read-note with registry-id code + lastReadTime; idipRosterPanel.test.ts 'the provenance line names ...' + ledgerRoster.test.ts ledgerReadProvenance", "projection holds no name -> row still renders by AID": "row.name falls back to shortAid(row.aid); idipRosterPanel.test.ts app-approved test asserts EWhetu row with no projection name", "PU-M1e: only founder -> one row, count 1, teaching empty state": "onlyFounder empty-state + provenance count; idipRosterPanel.test.ts 'PU-M1e ...'", "PU-M1u: unlocked+unreachable -> seat unlocked, records blamed, zero rows, uncapped Try again, last-read, Fleet link": "ledgerUnreachable frame, ledgerFaultKind; idipRosterPanel.test.ts 'PU-M1u ...'", "PU-M0: locked -> no list/counts/skeleton, twelve-words door, rest works as usual": "seat-locked frame gated on !signing.unlocked; idipRosterPanel.test.ts 'a locked seat shows PU-M0 ...'", "reload/second tab -> locked, reload frame says you're still signed in": "memory-only seat (bundle starts locked on load) + PU-M0 reload copy data-reason=tab-reloaded; idipRosterPanel.test.ts locked test asserts locked-body 'still signed in'", "Lock -> passcode leaves tab memory, PU-M0, operator session untouched": "onLock calls signing.lock() only (DDR 0155); idipRosterPanel.test.ts 'Lock drops the seat to PU-M0'", "seat unlocked by twelve words -> data-unlocked-by=words": "signingSession source='words' on words unlock; idipRosterPanel.test.ts locked test asserts data-unlocked-by='words'", "field renames idip-roster->ledger-members (community-ledger), signing-unlocked->seat-unlocked, lock-signing->lock-steward-actions": "IdipRosterPanel table data-field/data-source, seat data-status, lock data-action; asserted across idipRosterPanel.test.ts", "invites/credentials cards/pending-rotation strip/solo nudge/drill-ins keep working on ledger-backed rows": "memberFor(row) feeds IdipMemberCredentials/RemoveMemberScreen/rotations; idipRotation.test.ts + removeMember.test.ts + mint/approve tests green", "no browser storage holds anything about the seat": "seat state held only in signingSession refs + the app bundle's tab memory; no localStorage/sessionStorage writes added" }, "summary": "Members now lists the community ledger through the unlocked seat (PU-M1/M1e/M1u/M0), fixing #1886 so app-approved members appear; seat gains source + Lock.", "reason": "", "blockers": [], "no_code_change": "" } ``` </details>
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.

Reference
Matou/idss#1931
No description provided.