merge_worktree
Merge changes from an isolated git worktree back into the main workspace after a subgoal task is accepted. On success, updates status to merged; on failure, preserves worktree for manual inspection.
Instructions
v1.0.0: Merge an isolated git worktree's changes back into the main workspace. Use after a subgoal task (created with isolate_worktree=true) is accepted. Updates worktree_status.json to status='merged'. Merge failures do NOT delete the worktree (preserved for manual inspection).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes | Main workspace repository path inside workspaceRoot. | |
| worktree_id | Yes | Worktree ID (wt_...) from create_subgoal_task. |