members: s1-open-invites-ledger — the OPEN INVITES section on the members home (#99 ruling) #143

Closed
opened 2026-07-26 23:01:58 +00:00 by ben · 1 comment
Owner

Parent

Feature spec: #19 (members). Filed by the 2026-07-26 wireframe-vs-built rulings (design-verify Design axis over 6596977..9e946b7; origin ticket #99). Ruling: the wireframe wins — build the S1 section.

The p6-s1 wireframe draws an OPEN INVITES row on the members home (p6-s1-members.html, the kv row with data-action="revoke-invite"), per its caption: "invites live in their own ledger, never as phantom member rows" — outstanding invites are visible at a glance from S1. The built MembersScreen.vue shows members and the approval queue but no invites; the complete ledger with per-invite revoke lives only inside S2 (InviteScreen.vue), fully wired and tested.

What to build

The S1 open-invites section per the wireframe: one row per open invite (code, groups, single/multi-use, expiry) read from the same seam ledger S2 uses, with the one-action revoke. Re-use S2's tested ledger client — S1 holds no invite truth; the ledger is re-read after every revoke, same as S2's discipline. Empty ledger ⇒ the section is absent (first-run S1 stays the founder row + invite panel).

Acceptance criteria

  • Given open invites exist, when S1 renders, then an OPEN INVITES section lists each with code, groups, use-mode and expiry — read through the seam, no local store.
  • Given an open invite's revoke is clicked, then the seam revoke runs and the ledger is re-read; the row reflects the seam's derived answer.
  • Given no open invites, then the section is absent.
  • S2's ledger behaviour is unchanged.

Blocked by

None — the invite seam and revoke client are closed and tested.

Task manifest

task: members:s1-open-invites-ledger
implements_flow: p6-members
implements_edge: "S1 open-invites ledger render + one-action revoke (wireframe kv row)"
wireframe: docs/ux/wireframes/p6-members/p6-s1-members.html
interface: "an open-invites section on MembersScreen (S1) over the existing invite-ledger client"
seam: "component tests against the wireframe's data-field/data-action contract; ledger re-read after revoke; reads only through the seam"
acceptance: "#99's S1 clause becomes true: outstanding invites visible and revocable from the members home"
depends_on: []
out_of_scope: [the invite seam (closed), S2's ledger (built), approval queue changes]
needs_human_decision: []
## Parent Feature spec: #19 (members). Filed by the 2026-07-26 wireframe-vs-built rulings (design-verify Design axis over `6596977..9e946b7`; origin ticket #99). Ruling: the wireframe wins — **build the S1 section**. The p6-s1 wireframe draws an `OPEN INVITES` row on the members home (`p6-s1-members.html`, the kv row with `data-action="revoke-invite"`), per its caption: "invites live in their own ledger, never as phantom member rows" — outstanding invites are visible at a glance from S1. The built `MembersScreen.vue` shows members and the approval queue but no invites; the complete ledger with per-invite revoke lives only inside S2 (`InviteScreen.vue`), fully wired and tested. ## What to build The S1 open-invites section per the wireframe: one row per open invite (code, groups, single/multi-use, expiry) read from the same seam ledger S2 uses, with the one-action revoke. Re-use S2's tested ledger client — S1 holds no invite truth; the ledger is re-read after every revoke, same as S2's discipline. Empty ledger ⇒ the section is absent (first-run S1 stays the founder row + invite panel). ## Acceptance criteria - [ ] Given open invites exist, when S1 renders, then an OPEN INVITES section lists each with code, groups, use-mode and expiry — read through the seam, no local store. - [ ] Given an open invite's revoke is clicked, then the seam revoke runs and the ledger is re-read; the row reflects the seam's derived answer. - [ ] Given no open invites, then the section is absent. - [ ] S2's ledger behaviour is unchanged. ## Blocked by None — the invite seam and revoke client are closed and tested. ## Task manifest ```yaml task: members:s1-open-invites-ledger implements_flow: p6-members implements_edge: "S1 open-invites ledger render + one-action revoke (wireframe kv row)" wireframe: docs/ux/wireframes/p6-members/p6-s1-members.html interface: "an open-invites section on MembersScreen (S1) over the existing invite-ledger client" seam: "component tests against the wireframe's data-field/data-action contract; ledger re-read after revoke; reads only through the seam" acceptance: "#99's S1 clause becomes true: outstanding invites visible and revocable from the members home" depends_on: [] out_of_scope: [the invite seam (closed), S2's ledger (built), approval queue changes] needs_human_decision: [] ```
Author
Owner

Already satisfied on origin/main — closing as done-by-prior-work, no new commit needed.

The S1 OPEN INVITES ledger this ticket asks for was built by #116 members:ledger-and-trail (commit 960a5bd), which landed after the design-verify sweep range 6596977..9e946b7 that filed this ticket — so the sweep reviewed a tree that did not yet have it and filed a redundant follow-up.

What exists on origin/main today meets every acceptance clause:

  • dashboard/src/components/members/OpenInvitesLedger.vue renders the OPEN INVITES section: one open-invite-row-<id> per open invite with the code (open-invite-label = operator label or the short token ref, e.g. x7q2), and a open-invite-meta line of komiti · multi-use · expires <date> — read via InviteClient.openInvites(), filtered to status === "open", holding no local store.
  • The revoke-invite action runs InviteClient.revokeInvite(id) then re-reads the ledger (await reload()), so a revoked invite drops out on the seam’s next answer — never a local flip.
  • Empty ledger ⇒ the section is absent (v-if="open.length"; and no invite client ⇒ no section at all).
  • It is composed on S1 in MembersSurface.vue (<OpenInvitesLedger v-if="invites" :client="invites" />), over the same invite seam S2 mints through; S2’s InviteScreen ledger is untouched.

Evidence: dashboard/tests/unit/membersList.test.ts — describe("the S1 open-invites ledger (issue #116 over #53)") covers render-with-code/groups/use-mode/expiry, revoke-runs-the-seam-verb-and-re-reads, and no-client/no-section. 23/23 membersList tests green on da8615b.

Nothing left to build; the ready-list was stale (generated before #116 was recognised as covering #99’s S1 clause).

Already satisfied on origin/main — closing as done-by-prior-work, no new commit needed. The S1 OPEN INVITES ledger this ticket asks for was built by **#116 `members:ledger-and-trail` (commit `960a5bd`)**, which landed **after** the design-verify sweep range `6596977..9e946b7` that filed this ticket — so the sweep reviewed a tree that did not yet have it and filed a redundant follow-up. What exists on origin/main today meets every acceptance clause: - `dashboard/src/components/members/OpenInvitesLedger.vue` renders the `OPEN INVITES` section: one `open-invite-row-<id>` per open invite with the code (`open-invite-label` = operator label or the short token ref, e.g. `x7q2`), and a `open-invite-meta` line of `komiti · multi-use · expires <date>` — read via `InviteClient.openInvites()`, filtered to `status === "open"`, holding no local store. - The `revoke-invite` action runs `InviteClient.revokeInvite(id)` then re-reads the ledger (`await reload()`), so a revoked invite drops out on the seam’s next answer — never a local flip. - Empty ledger ⇒ the section is absent (`v-if="open.length"`; and no invite client ⇒ no section at all). - It is composed on S1 in `MembersSurface.vue` (`<OpenInvitesLedger v-if="invites" :client="invites" />`), over the **same** invite seam S2 mints through; S2’s `InviteScreen` ledger is untouched. Evidence: `dashboard/tests/unit/membersList.test.ts` — `describe("the S1 open-invites ledger (issue #116 over #53)")` covers render-with-code/groups/use-mode/expiry, revoke-runs-the-seam-verb-and-re-reads, and no-client/no-section. 23/23 membersList tests green on `da8615b`. Nothing left to build; the ready-list was stale (generated before #116 was recognised as covering #99’s S1 clause).
ben closed this issue 2026-07-27 08:37:40 +00:00
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#143
No description provided.