isolation-worktree-causes-subagent-changes-to-vanish
Passing isolation: "worktree" to Agent dispatches writes changes to a temporary git worktree, not the live tree. The orchestrator receives the changes as a diff that must be manually re-applied — practically, it means edits are silently discarded when the worktree is cleaned up. Never use isolation: "worktree" for production execution tasks; reserve it strictly for sandboxed experimentation. Always use subagent_type: "general-purpose" with no isolation parameter for any work that must persist.