Git Integration
Use When
- •Completing worker changes.
- •Integrating worktrees.
Inputs
- •session/worktree context
- •commit message or merge target
Procedure
- •Validate working tree state.
- •Commit focused changes.
- •Merge worktree to target branch.
- •If conflict, switch to conflict resolution loop.
Output Contract
- •
commit_hash - •
merge_status:merged|already_merged|conflict
Guardrails
- •Never force merge without conflict resolution evidence.