Expand description
Worktree diff verification policies.
After a worktree-isolated subagent commits its changes, the
WorktreeReconciler asks a DiffVerifier
whether the resulting diff is safe to merge back into the main branch. This
module is the only place that encodes merge-approval policy for the git
isolation layer.
The trait is sealed: only types defined in this crate may implement it,
so callers (e.g. SubagentController) cannot inject an arbitrary verifier
that bypasses the controlled merge path.
Structs§
- Heuristic
Diff Verifier - Default heuristic verifier.
- Verify
Verdict - Outcome of verifying a worktree diff.
Traits§
- Diff
Verifier - Strategy for approving or rejecting a worktree diff before it is merged.