gsxdsm
c77488e0fa
FN-8370: enforce isolated task worktrees
Keep branch-scoped task work in registered worktrees while the primary checkout stays on its current branch.
- Document the executor and acquisition isolation invariant.
- Add real-Git coverage for fresh, unregistered, and reused task worktrees.
- Guard task worktree creation paths against root checkout switches.
Files changed:
.../worktree-primary-checkout-invariant.test.ts | 133 +++++++++++++++++++++
packages/engine/src/executor.ts | 7 ++
packages/engine/src/worktree-acquisition.ts | 5 +
3 files changed, 145 insertions(+)
Fusion-Task-Id: FN-8370
Fusion-Task-Lineage: 5153b764-c474-4a52-823e-40b06b43d47c
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-07-19 16:13:17 -07:00
..
2026-07-19 16:13:17 -07:00
2026-04-24 19:39:20 -07:00
2026-07-18 00:52:59 -07:00
2026-04-13 16:35:06 -07:00
2026-07-18 13:53:58 -07:00
2026-06-08 15:19:27 -07:00
2026-07-18 16:08:14 -07:00