You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: org creation is not recoverable — a failed scaffold leaves a permanently half-provisioned org with no error, no retry, no full repair path #2636
org.create succeeds first, then the scaffold/init steps run afterwards (afterCreateOrganization hook → scaffoldNewOrganization, initializeDefaultWorkflows). If those post-create steps fail, the org exists in the database but has no config dir at all — no agents, no providers, no governance policies, no branding. Nothing records or surfaces the failure, nothing retries it, and the wizard can't be re-run (the retry 400s as a duplicate, #2635).
The resulting org looks innocently empty: agents page shows "No agents yet — Create your first agent…", chat shows "No agents available. Please publish an agent first." A user (or admin) has no signal that provisioning failed rather than "this org is new".
Current behaviour
Observed live 2026-07-11 (main @ 94ef84e), org created while node actions were down (#2631):
Org QA Friction Lab exists and is reachable, $TALE_CONFIG_DIR/<org-slug>/ was never created.
Agents/chat/settings all render normal empty states; no banner, no toast, no audit trail visible.
Partial manual repair exists but is incomplete and undiscoverable: the per-domain "Update from catalog" action (hidden inside e.g. the Create agent menu as "Update built-in agents", developer-settings only) restored the seeded agents when run. But CatalogSyncDomain covers only agents | integrations | automations | skills — providers, governance, branding, workflows, prompts, token-sources cannot be restored from the UI, so chat stays broken ("No API key configured") even after the visible repair.
Code pointers
services/platform/convex/organizations/scaffold.ts — scaffoldNewOrganization (post-create, async; failure leaves no marker)
Activity