Quick start
- Copy
.env.exampleto.env.localinui/and fill the essentials:In WorkOS, addhttp://localhost:3030/api/auth/callbackas a redirect. - Install deps and run:
Open
http://localhost:3030and sign in with a WorkOS user that belongs to at least one org. - Ensure backend + statesman were started and the same secrets are in place (see Backend and Statesman).
- Sync the WorkOS org/user to both services using the curl snippets on those pages (required for repos/units to load).
Common errors
- NotFound/Forbidden listing units: statesman org/user not synced or webhook secret mismatch.
- 404 on repos or GitHub connect: backend missing org/user,
DIGGER_ENABLE_API_ENDPOINTSnot set, orORCHESTRATOR_GITHUB_APP_URLpoints to a non-existent path. - WorkOS login succeeds but dashboard redirects to / or errors: the signed-in user has no WorkOS org membership; add to an org and resync to services.

