Expand description
Git worktree management for loop isolation.
Provides WorktreeManager for creating, listing, and removing git worktrees
so that parallel loop runs cannot corrupt each other’s working trees.
The WorktreeReconciler handles the diff → verify → merge cycle after
a worktree-isolated subagent completes.
Re-exports§
pub use reconciler::ReconcileResult;pub use reconciler::WorktreeReconciler;pub use verify::DiffVerifier;pub use verify::HeuristicDiffVerifier;pub use verify::VerifyVerdict;pub use worktree::WorktreeInfo;pub use worktree::WorktreeManager;
Modules§
- reconciler
- Worktree reconciliation: diff, verify, merge.
- verify
- Worktree diff verification policies.
- worktree
- Git worktree management for loop isolation.
Functions§
- capture_
workspace_ diff - Capture tracked changes against HEAD without executing Git extensions. An unborn branch uses its native-format empty tree; invalid Git/HEAD, timeout, and I/O failures remain explicit in the snapshot.
- capture_
workspace_ review_ diff - Capture a larger bounded snapshot for interactive, read-only desktop review. Uses the same extension suppression, redaction, and timeout as explanations.