Skip to content

app/: the setup checklist (sc-8900) - #82

Merged
ndbroadbent merged 2 commits into
mainfrom
laravel-setup
Dec 2, 2026
Merged

ndbroadbent merged 2 commits into
mainfrom
laravel-setup

Conversation

@ndbroadbent

Copy link
Copy Markdown
Member

Part of sc-8900. Stacked on #58.

Ports today's "Set up VisualCI" checklist (server/src/models/setup.rs and the setup route).

  • auth::setup::state(org_id, user_pid) returns today's JSON: steps (each key and done), next, complete and dismissed. Each step ticks itself from what has happened:

    • connect_agent: an MCP connection (oauth_tokens.subject is the user's pid) or a personal token that has been used;
    • create_project: a project;
    • install_github_app: a project with the App installed;
    • add_to_ci: a CI build;
    • review_changes: an approval.

    The features side's org page and whoami MCP tool call it.

  • POST /api/ui/orgs/{org}/setup with {dismissed} closes the checklist or opens it again. Admins only (a member gets 403, anyone else 404).

Test: app/tests/setup.rs. The whole app suite passes on docspring-dev, and clippy is clean.

@ndbroadbent
ndbroadbent changed the base branch from laravel-auth-followups to main December 2, 2026 15:41
@visualci-com

visualci-com Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

VisualCI

docspring/visualci · build #397 · 333 unchanged · no changes

This PR vs base: 22 changed, 2 added since #310, across 3 builds

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

…user pid) ticks each step from what happened (an MCP connection or a used personal token, a project, the App installed, a CI build, an approval), the next step, complete and dismissed; POST /api/ui/orgs/{org}/setup closes it or opens it again (admins)
…n (a project token's view never ticks it), matched on the pid as a uuid so the index is used; documented that callers authorize first
@ndbroadbent
ndbroadbent merged commit ed82834 into main Dec 2, 2026
11 checks passed
@ndbroadbent
ndbroadbent deleted the laravel-setup branch December 2, 2026 21:45
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