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
Adversarial re-review of the shipped migration found 9 correctness bugs
(all in agent-worker + db + tools-docs). Fixes:
HIGH
- concurrency: free-tier users could not create a 2nd project — the shared
per-user sandbox counted against maxConcurrentSandboxes. Reuse of an
already-attached sandbox no longer consumes a concurrent slot.
- console: processRecordsForRead exact-only — no more sibling-project log leak.
- slug: reserve 'app' so a new 'app'-named project can't collide with the
/workspace/app legacy sentinel (delete would rm -rf the shared folder).
MEDIUM
- db: partial unique index (user_id, workspace_slug) + createProject 23505
retry; migration 0012 backfills legacy null slugs first (p-<id>).
- tools-docs: write the in-sandbox deliverable to runtimeContext.workspaceDir
(was a name heuristic over the whole /workspace -> wrong project's folder).
- mobile: guard the post-build Metro restart (transient error no longer fails
a successful build).
LOW / hygiene
- slug-less general/direct-code runs use /workspace/app (slot parity w/ wake).
- IDE file list scoped to the project's folder (was all of /workspace).
- account deletion also tears down pre-migration per-project sandboxes.
Gate: turbo lint typecheck build 64/64 green; migration 0012 verified locally.
0 commit comments