Home

madison / open-git

public
Overview Code History Branches Pull requestsIssuesInsights Campfire Docs
main
HomeOverview Code PRsIssues

feat(web): script to re-arm the onboarding flow for testing

2 months ago

685253c
Authored
VC7/26/2026, 9:25:02 AM
Onboarding is gated on user_profiles.username being null and the waitlist entry
being accepted, so the script clears the first, grants the second, and drops the
namespace that finishing onboarding creates. Re-runnable, so the flow can be
walked repeatedly without re-seeding.

Defaults to a dedicated throwaway account. repositories.owner_namespace_id
cascades on delete, so resetting an account that owns repositories would take
the repositories with it; the script refuses unless --force. All destructive
decisions are made before the first write, so an aborted run leaves the account
untouched rather than half-reset.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

Parent108f57f

2 files changed
  • apps/web/package.json+1−0
  • apps/web/scripts/mock-onboarding.ts+205−0