Skip to content

Guided /setup onboarding: team, roles, AI, integrations, backfill - #66

Merged
cursor[bot] merged 1 commit into
mainfrom
cursor/onboarding-setup-wizard-ebae
Aug 10, 2026
Merged

Guided /setup onboarding: team, roles, AI, integrations, backfill#66
cursor[bot] merged 1 commit into
mainfrom
cursor/onboarding-setup-wizard-ebae

Conversation

@Modsofthenation

@Modsofthenation Modsofthenation commented Aug 10, 2026

Copy link
Copy Markdown
Owner

Summary

Empty workspaces now go through a guided /setup flow instead of a thin Home checklist that dumped people onto disconnected pages.

Rebased onto latest main (includes Roles UX, section-nav contrast, and Cursor Cloud Agents). Setup → AI offers Cloud Agents + OpenAI-compatible as separate providers.

Flow

  1. Team — confirm EM, add directs (or CSV)
  2. Roles — assign-first matrix against the seeded PE ladder; catalog browse is secondary/advanced
  3. AI — Anthropic / OpenAI / Cursor Cloud Agents / OpenAI-compatible / Ollama, or Skip
  4. Integrations — Jira / Bitbucket / GitHub / Linear with credential guides + save/test, or Skip
  5. Backfill — progress bar across directs; quick achievement/feedback capture, or Skip
  6. Done — command center or create a cycle

Also

  • PUT /api/onboarding + richer GET /api/onboarding
  • POST /api/roles/assign-bulk
  • Demo seed marks onboarding complete; existing workspaces without an onboarding flag are not forced back into setup

Verification

  • pnpm --filter @prm/{shared,api,ui} typecheck after rebase
Open in Web Open in Cursor 

Summary by CodeRabbit

  • New Features
    • Added guided workspace setup for team creation, role assignment, optional AI configuration, integrations, and evidence backfill.
    • Added support for importing people and assigning roles in bulk.
    • Added integrations setup for Jira, Bitbucket, GitHub, and Linear, including connection testing.
    • Added progress tracking, step skipping, and the ability to resume setup later.
  • Improvements
    • Empty workspaces now remain in setup until completed or skipped.
    • Demo workspaces open as already configured.
    • Updated setup guidance and responsive styling for smaller screens.

@coderabbitai

coderabbitai Bot commented Aug 10, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@Modsofthenation, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 22 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: adfe3dad-0a16-42d0-9bd1-daa5197756cd

📥 Commits

Reviewing files that changed from the base of the PR and between 0475e98 and caaa60b.

📒 Files selected for processing (11)
  • CHANGELOG.md
  • apps/api/src/featureRoutes.ts
  • apps/api/src/index.ts
  • apps/api/src/seed.ts
  • apps/api/src/workspaceSettings.ts
  • apps/ui/src/App.tsx
  • apps/ui/src/components/OnboardingWizard.tsx
  • apps/ui/src/pages/SetupPage.tsx
  • apps/ui/src/pages/UnlockPage.tsx
  • apps/ui/src/styles.css
  • packages/shared/src/index.ts
📝 Walkthrough

Walkthrough

Added guided workspace onboarding with persisted progress, readiness detection, role assignment, optional AI and integrations, evidence backfill, skip support, and setup routing. Seeded workspaces start complete.

Changes

Workspace onboarding

Layer / File(s) Summary
Onboarding state and persistence
apps/api/src/workspaceSettings.ts, packages/shared/src/index.ts, apps/api/src/index.ts, apps/api/src/seed.ts, CHANGELOG.md
Added typed onboarding state, skipped-step persistence, empty-workspace defaults, and completed state for seeded workspaces.
Readiness and role assignment
apps/api/src/featureRoutes.ts, apps/api/src/index.ts
The onboarding API checks people, roles, AI, integrations, and evidence. A new endpoint persists onboarding state. Bulk role assignment validates up to 100 assignments and reports saved items and errors.
Application routing and resume state
apps/ui/src/App.tsx, apps/ui/src/components/OnboardingWizard.tsx
The application redirects incomplete workspaces to /setup. The onboarding panel displays progress and links back to setup.
Guided setup workflow and presentation
apps/ui/src/pages/SetupPage.tsx, apps/ui/src/UnlockPage.tsx, apps/ui/src/styles.css
Added setup steps for team creation, roles, AI, integrations, evidence, and completion, with persistence, validation, skip controls, provider forms, and responsive styling.

Estimated code review effort: 4 (Complex) | ~60 minutes

Sequence Diagram(s)

sequenceDiagram
  participant WorkspaceApp
  participant SetupPage
  participant OnboardingAPI
  participant Database
  WorkspaceApp->>OnboardingAPI: GET /api/onboarding
  OnboardingAPI->>Database: Read onboarding readiness
  Database-->>OnboardingAPI: Return workspace metrics
  OnboardingAPI-->>WorkspaceApp: Return onboarding status
  WorkspaceApp->>SetupPage: Redirect incomplete workspace
  SetupPage->>OnboardingAPI: Save step or skipped state
  OnboardingAPI->>Database: Persist onboarding state
  Database-->>OnboardingAPI: Confirm saved state
Loading

Possibly related PRs

Suggested reviewers: cursoragent

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cursor/onboarding-setup-wizard-ebae

Comment @coderabbitai help to get the list of available commands.

Replace the thin Home checklist with a first-run wizard: add directs,
assign PE ladder roles in bulk, optional AI, integrations with
credential guides, and evidence backfill with progress. Empty
workspaces redirect to /setup until finished or skipped.

Co-authored-by: Damon  <Modsofthenation@users.noreply.github.com>
@cursor
cursor Bot force-pushed the cursor/onboarding-setup-wizard-ebae branch from fda9d49 to caaa60b Compare August 10, 2026 23:31
@Modsofthenation
Modsofthenation marked this pull request as ready for review August 10, 2026 23:31
@cursor
cursor Bot merged commit 46d5e9b into main Aug 10, 2026
1 of 2 checks passed
@cursor
cursor Bot deleted the cursor/onboarding-setup-wizard-ebae branch August 12, 2026 11:36
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.

2 participants