Skip to main content

Module git

Module git 

Source
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. Missing Git/HEAD, timeout, and I/O failures remain explicit in the snapshot.