panel-unlock 3/7 — the admin inbox on Members reads the steward's own agent (#1929) #1932

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

Parent

  • Spec: #1929 — panel unlock (story 27, 28, 29)
  • Symptom ticket: #1886 · Wayfinder map: #1293
  • Design: ADR 0282 d.8, ADR 0235 d.2 · flow docs/ux/flows/panel-unlock.mermaid

What to build

Waiting for approval returns to the Members tab, from the right source: the
steward's own agent. Each application is a registration exchange the joining
member signed and sent to that steward's identity (ADR 0235 d.1/d.2), so the
inbox lives in the agent and the panel reads it through the unlocked seat — the
same inbox the wallet shows.

It sits above the ledger list, names each applicant and the invite that
admitted them (or registered without an invite), and carries the scope note
that makes the per-steward model visible: this is your inbox; an application
sent to another steward is approved by them — there is no shared queue
. A
steward who joined after an application was sent holds no copy of it, and the
surface must not imply otherwise.

Approving issues Membership straight away. The button reads Approve, not
Sign and approve: with the seat unlocked there is no words dialog behind it,
and the old label promised a ceremony the steward no longer performs. The
credential-picker cards, the invite preset pre-tick and the honest partial
outcome are unchanged — and each act still names what it signs in its
confirm.

An empty inbox draws nothing. No heading, no "0 waiting" — a zero invites a
steward to wonder whether it is broken; silence does not.

Acceptance criteria

  • Given applications waiting in this steward's agent and an unlocked seat, when Members renders, then Waiting for approval appears above the list with each applicant, their invite (or registered without an invite), and Approve / Decline.
  • Given that section, when it renders, then it carries the scope note that this is your inbox and there is no shared queue.
  • Given an applicant, when I approve, then the button reads Approve, Membership issues with nothing typed, the credential picker behaves as today, and the confirm names what is being signed.
  • Given the approval lands, when Members re-reads the ledger, then the new member appears as a row — the same row an app-side approval would produce.
  • Given no applications in this steward's agent, when Members renders, then the section is absent — no heading and no zero.
  • Given a locked seat, when Members renders, then there is no inbox at all (PU-M0's "no list without the seat" covers the inbox too).
  • Given the inbox read fails while the ledger read succeeds, when Members renders, then the failure is stated without wiping the list, and never as an empty inbox.

Blocked by

  • 2/7 (the seat line, the ledger list and the surface this section sits above).

Task manifest

task: admin-inbox-from-the-agent
implements_flow: panel-unlock
implements_edge: M1 "issues, revokes, approves an application"
wireframe: docs/ux/wireframes/panel-unlock/pu-m1-members-unlocked.html   # WAITING FOR APPROVAL region
interface: |
  IdipStewardBundle.adminInbox(): Promise<Application[]>
  # registration-exchange notifications in THIS steward's agent
  # { applicant, inviteId?, sentAt } — approve/decline use the existing verbs
seam: dashboard/tests/unit via the injected steward-bundle loader
acceptance:
  - given: applications in this steward's agent and an unlocked seat
    when: Members renders
    then: the section appears above the list with the no-shared-queue note
  - given: an applicant
    when: approve is pressed
    then: the label reads "Approve", Membership issues with nothing typed, the confirm names what is signed
  - given: an empty inbox
    when: Members renders
    then: no section, no heading, no zero
depends_on: [members-from-the-ledger]
out_of_scope: [a community-wide inbox, reviving the roster's waiting state, decline-by-delete changes]
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 27, 28, 29) - **Symptom ticket:** #1886 · **Wayfinder map:** #1293 - **Design:** ADR 0282 d.8, ADR 0235 d.2 · flow `docs/ux/flows/panel-unlock.mermaid` ## What to build *Waiting for approval* returns to the Members tab, from the right source: the **steward's own agent**. Each application is a registration exchange the joining member **signed** and sent to that steward's identity (ADR 0235 d.1/d.2), so the inbox lives in the agent and the panel reads it through the unlocked seat — the same inbox the wallet shows. It sits **above** the ledger list, names each applicant and the invite that admitted them (or *registered without an invite*), and carries the scope note that makes the per-steward model visible: *this is your inbox; an application sent to another steward is approved by them — there is no shared queue*. A steward who joined after an application was sent holds no copy of it, and the surface must not imply otherwise. Approving issues Membership straight away. The button reads **Approve**, not *Sign and approve*: with the seat unlocked there is no words dialog behind it, and the old label promised a ceremony the steward no longer performs. The credential-picker cards, the invite preset pre-tick and the honest partial outcome are unchanged — and each act still **names what it signs** in its confirm. An **empty inbox draws nothing**. No heading, no "0 waiting" — a zero invites a steward to wonder whether it is broken; silence does not. ## Acceptance criteria - [ ] **Given** applications waiting in this steward's agent and an unlocked seat, **when** Members renders, **then** *Waiting for approval* appears **above** the list with each applicant, their invite (or *registered without an invite*), and Approve / Decline. - [ ] **Given** that section, **when** it renders, **then** it carries the scope note that this is your inbox and there is no shared queue. - [ ] **Given** an applicant, **when** I approve, **then** the button reads **Approve**, Membership issues with **nothing typed**, the credential picker behaves as today, and the confirm names what is being signed. - [ ] **Given** the approval lands, **when** Members re-reads the ledger, **then** the new member appears as a row — the same row an app-side approval would produce. - [ ] **Given** no applications in this steward's agent, **when** Members renders, **then** the section is **absent** — no heading and no zero. - [ ] **Given** a locked seat, **when** Members renders, **then** there is no inbox at all (PU-M0's "no list without the seat" covers the inbox too). - [ ] **Given** the inbox read fails while the ledger read succeeds, **when** Members renders, **then** the failure is stated without wiping the list, and never as an empty inbox. ## Blocked by - 2/7 (the seat line, the ledger list and the surface this section sits above). ## Task manifest ```yaml task: admin-inbox-from-the-agent implements_flow: panel-unlock implements_edge: M1 "issues, revokes, approves an application" wireframe: docs/ux/wireframes/panel-unlock/pu-m1-members-unlocked.html # WAITING FOR APPROVAL region interface: | IdipStewardBundle.adminInbox(): Promise<Application[]> # registration-exchange notifications in THIS steward's agent # { applicant, inviteId?, sentAt } — approve/decline use the existing verbs seam: dashboard/tests/unit via the injected steward-bundle loader acceptance: - given: applications in this steward's agent and an unlocked seat when: Members renders then: the section appears above the list with the no-shared-queue note - given: an applicant when: approve is pressed then: the label reads "Approve", Membership issues with nothing typed, the confirm names what is signed - given: an empty inbox when: Members renders then: no section, no heading, no zero depends_on: [members-from-the-ledger] out_of_scope: [a community-wide inbox, reviving the roster's waiting state, decline-by-delete changes] 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=matou-dev-server-01 run=34408
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=34408 (automated multi-host claim — lowest live claim id works this ticket)
Author
Member

close-report for #1932 — status success

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

envelope
{
  "issue": 1932,
  "status": "success",
  "commits": [
    "06527df35162657b323b301b388621c2c51e8e8a"
  ],
  "changed_files": [
    "STATUS.md",
    "dashboard/src/components/members/IdipRosterPanel.vue",
    "dashboard/src/lib/idip.ts",
    "dashboard/tests/e2e/preview-harness/idipFakes.ts",
    "dashboard/tests/unit/credentialsSurface.test.ts",
    "dashboard/tests/unit/idipMemberCredentials.test.ts",
    "dashboard/tests/unit/idipRosterPanel.test.ts",
    "dashboard/tests/unit/removeMember.test.ts"
  ],
  "tests": [
    {
      "command": "cd dashboard && npx vue-tsc -p tsconfig.json --noEmit",
      "exit_code": 0
    },
    {
      "command": "cd dashboard && npx vitest run",
      "exit_code": 0
    },
    {
      "command": "pnpm run lint (eslint . via the push TS gate)",
      "exit_code": 0
    }
  ],
  "criteria": {
    "applications waiting + unlocked seat: Waiting for approval appears above the list, each applicant + invite (or registered without an invite) + Approve/Decline": "IdipRosterPanel.vue admin-inbox block placed above the members-section table; test 'the admin inbox lists this steward's applications ABOVE the list' asserts data-field=admin-inbox before ledger-members in the DOM, pending-member-name carries name + invite id, ledger-approve-sign + decline present",
    "the section carries the scope note that this is your inbox and there is no shared queue": "data-field=inbox-scope-note in the box: 'This is your inbox. An application sent to another steward is approved by them — there is no shared queue'; asserted in the same test",
    "approve: button reads Approve, Membership issues with nothing typed, credential picker as today, confirm names what is signed": "button text 'Approve' (data-action=ledger-approve-sign); approveApplication calls signing.ensureUnlocked (returns at once, seat unlocked) then approveWithCredentials with onStatus naming what it signs; picker cards unchanged; test 'the inbox is the steward's AGENT...the button reads Approve' + 'approves a member: Membership first...' assert",
    "approval lands: the new member appears as a ledger row (same row an app-side approval would produce)": "after approve, reload re-reads the ledger; test 'approves a member: Membership first, then the preset...the row flips active' asserts ledger-members row data-status=ledger-member-active",
    "no applications: the section is absent — no heading and no zero": "template v-if=applications && applications.length; test 'an EMPTY inbox draws nothing' asserts admin-inbox, pending-heading and ledger-approve-ceremony all absent while ledger-members remains",
    "locked seat: no inbox at all (PU-M0)": "the inbox lives inside the seat-unlocked template; readInbox returns null when locked; test 'a locked seat shows PU-M0...' asserts no ledger-approve-ceremony while locked",
    "inbox read fails while ledger read succeeds: failure stated without wiping the list, never as an empty inbox": "readInbox on a loud fault sets inboxFault and applications=null; template shows data-status=inbox-unreadable and keeps the ledger list; test 'an inbox read fault states the failure without wiping the list' asserts inbox-unreadable present, admin-inbox/pending-heading absent, ledger-members + the founder row intact"
  },
  "summary": "The Members admin inbox now reads this steward's own agent (IdipStewardBundle.adminInbox), rendered above the ledger list with per-steward scope, an Approve button, empty-draws-nothing, and an independent read fault.",
  "blockers": []
}
**close-report** for #1932 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1932, "status": "success", "commits": [ "06527df35162657b323b301b388621c2c51e8e8a" ], "changed_files": [ "STATUS.md", "dashboard/src/components/members/IdipRosterPanel.vue", "dashboard/src/lib/idip.ts", "dashboard/tests/e2e/preview-harness/idipFakes.ts", "dashboard/tests/unit/credentialsSurface.test.ts", "dashboard/tests/unit/idipMemberCredentials.test.ts", "dashboard/tests/unit/idipRosterPanel.test.ts", "dashboard/tests/unit/removeMember.test.ts" ], "tests": [ { "command": "cd dashboard && npx vue-tsc -p tsconfig.json --noEmit", "exit_code": 0 }, { "command": "cd dashboard && npx vitest run", "exit_code": 0 }, { "command": "pnpm run lint (eslint . via the push TS gate)", "exit_code": 0 } ], "criteria": { "applications waiting + unlocked seat: Waiting for approval appears above the list, each applicant + invite (or registered without an invite) + Approve/Decline": "IdipRosterPanel.vue admin-inbox block placed above the members-section table; test 'the admin inbox lists this steward's applications ABOVE the list' asserts data-field=admin-inbox before ledger-members in the DOM, pending-member-name carries name + invite id, ledger-approve-sign + decline present", "the section carries the scope note that this is your inbox and there is no shared queue": "data-field=inbox-scope-note in the box: 'This is your inbox. An application sent to another steward is approved by them — there is no shared queue'; asserted in the same test", "approve: button reads Approve, Membership issues with nothing typed, credential picker as today, confirm names what is signed": "button text 'Approve' (data-action=ledger-approve-sign); approveApplication calls signing.ensureUnlocked (returns at once, seat unlocked) then approveWithCredentials with onStatus naming what it signs; picker cards unchanged; test 'the inbox is the steward's AGENT...the button reads Approve' + 'approves a member: Membership first...' assert", "approval lands: the new member appears as a ledger row (same row an app-side approval would produce)": "after approve, reload re-reads the ledger; test 'approves a member: Membership first, then the preset...the row flips active' asserts ledger-members row data-status=ledger-member-active", "no applications: the section is absent — no heading and no zero": "template v-if=applications && applications.length; test 'an EMPTY inbox draws nothing' asserts admin-inbox, pending-heading and ledger-approve-ceremony all absent while ledger-members remains", "locked seat: no inbox at all (PU-M0)": "the inbox lives inside the seat-unlocked template; readInbox returns null when locked; test 'a locked seat shows PU-M0...' asserts no ledger-approve-ceremony while locked", "inbox read fails while ledger read succeeds: failure stated without wiping the list, never as an empty inbox": "readInbox on a loud fault sets inboxFault and applications=null; template shows data-status=inbox-unreadable and keeps the ledger list; test 'an inbox read fault states the failure without wiping the list' asserts inbox-unreadable present, admin-inbox/pending-heading absent, ledger-members + the founder row intact" }, "summary": "The Members admin inbox now reads this steward's own agent (IdipStewardBundle.adminInbox), rendered above the ledger list with per-steward scope, an Approve button, empty-draws-nothing, and an independent read fault.", "blockers": [] } ``` </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#1932
No description provided.