* feat: add task isolation for subagent filesystem safety Subagents can run in isolated git worktrees (or FUSE overlays on Linux) so concurrent tasks don't stomp on each other's files. Changes are captured as unified diffs and merged back via git apply. - New isolation.ts module with worktree and FUSE overlay backends - TaskIsolationSettings in settings-manager (mode + merge strategy) - isolated parameter on the subagent tool schema - Baseline capture/apply mirrors the parent repo's dirty state - Process exit handler for best-effort cleanup of stale worktrees Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix: correct delta capture to exclude parent baseline state The worktree backend now commits a baseline snapshot after applying the parent's dirty state, so captureDeltaPatch diffs only the subagent's actual changes against the post-baseline HEAD (not the original HEAD). The FUSE overlay backend tracks the parent's dirty file set at mount time and filters the upper dir during delta capture to exclude inherited dirty files. Also removes dead code: findGitRoot (unused), readIsolationMergeStrategy (exported but never called). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| agents | ||
| extensions | ||
| skills | ||
| GSD-WORKFLOW.md | ||