- Share a single WorktreeRegistry instance between the deletion reactor and
the ws layer (previously two instances with divergent in-memory state).
- WorktreeRegistry: take the semaphore for reads too so a first-access disk
load can't clobber a concurrent mutation, and only update the in-memory
registry after the persist succeeds.
- WorktreeBasePlanner: claim the in-flight fetch slot synchronously so
concurrent pin/prefetch calls can't start duplicate fetches.
- Recognize uniquified retry suffixes (t3code/<hex>-N) as temporary worktree
branches so auto-rename still applies after a partial bootstrap retry.
- Re-derive startFromOrigin when a draft's mode flips via branch selection,
and when a stored draft is reused for a different project member; the
reused draft also re-derives its surface default instead of inheriting the
store's hard-coded local reset.
- Mobile waits for environment settings before auto-persisting a workspace
selection, so the pre-config fallback can't freeze the wrong default.
Co-Authored-By: Claude Fable 5 <[email protected]>