Skip to content

Staff see the sign-up waitlist: list_waitlist admin tool and a /staff section - #183

Merged
ndbroadbent merged 1 commit into
mainfrom
staff-waitlist
Dec 4, 2026
Merged

ndbroadbent merged 1 commit into
mainfrom
staff-waitlist

Conversation

@ndbroadbent

@ndbroadbent ndbroadbent commented Dec 4, 2026 •

Copy link
Copy Markdown
Member

Sign-ups open soon; staff need to see who is waiting.

  • list_waitlist on the admin MCP server (staff only, audited like its siblings): entries newest first with login, name, email, source, created_at, signed_up and signed_up_at. Someone counts as signed up when sign-in would find them now: their forge account is linked to a user, or a user has their email. Takes limit (default 100, max 1000, read through domain::lenient), signed_up and query (login, name or email substring, taken literally). Entries come back under untrusted_customer_data.
  • /staff: /api/ui/staff/signups adds waitlist (total, signed up since, latest 20), shown as a Waitlist section under the sign-ups.
  • Tests: golden test staff_list_the_waitlist_and_no_one_else_can (staff filters; someone who isn't staff can't connect to admin, /mcp has no such tool, a demoted staff token gets 403), staff_see_the_waitlist for the endpoint, and a vitest for the section. All data is synthetic. docs/design.md lists the tool.

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@visualci-com

visualci-com Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

VisualCI

docspring/visualci · build #735 · 1 changed, 6 added, 514 unchanged · approved by visualci features agent for Nathan Broadbent

site/llms comes from main (approved in build 689, #204); the list_waitlist goldens are this PR's new admin tool, as in build 708.

This PR vs base: 62 changed, 119 added since #432, across 5 builds

Snapshot Before After
site/llms (changed) text text, see the build
json/mcp_admin/staff_list_the_waitlist_and_no_one_else_can/list_waitlist (added) text text, see the build
json/mcp_admin/staff_list_the_waitlist_and_no_one_else_can/list_waitlist-2 (added) text text, see the build
json/mcp_admin/staff_list_the_waitlist_and_no_one_else_can/list_waitlist-3 (added) text text, see the build
json/mcp_admin/staff_list_the_waitlist_and_no_one_else_can/list_waitlist-4 (added) text text, see the build
json/mcp_admin/staff_list_the_waitlist_and_no_one_else_can/list_waitlist-5 (added) text text, see the build
json/mcp_admin/staff_list_the_waitlist_and_no_one_else_can/not_on_mcp (added) text text, see the build

docspring/visualci · journeys · build #732 · 50 unchanged · no changes

This PR vs base: 8 changed, 20 added since #430, across 5 builds

Updated as builds change. Agents can review with VisualCI's MCP tools.

…itlist section on /staff

list_waitlist (staff-only, /mcp/admin) returns waitlist entries newest first with login, name, email, source,
created_at and whether each person has signed up since (signed_up, signed_up_at), matched as sign-in matches: the
forge account linked to a user, else a user with the same email. Filters: limit (default 100, max 1000), signed_up,
query. /api/ui/staff/signups adds the waitlist's total, how many signed up since, and the latest 20, shown under the
sign-ups on /staff.
@ndbroadbent
ndbroadbent merged commit db9f15e into main Dec 4, 2026
16 checks passed
@ndbroadbent
ndbroadbent deleted the staff-waitlist branch December 4, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant