Skip to main content

vtcode_core/git/
mod.rs

1//! Git worktree management for loop isolation.
2//!
3//! Provides `WorktreeManager` for creating, listing, and removing git worktrees
4//! so that parallel loop runs cannot corrupt each other's working trees.
5//! The `WorktreeReconciler` handles the diff → verify → merge cycle after
6//! a worktree-isolated subagent completes.
7
8pub mod reconciler;
9pub mod verify;
10mod workspace_diff;
11pub mod worktree;
12
13pub use reconciler::{ReconcileResult, WorktreeReconciler};
14pub use verify::{DiffVerifier, HeuristicDiffVerifier, VerifyVerdict};
15pub use workspace_diff::capture_workspace_diff;
16pub use worktree::{WorktreeInfo, WorktreeManager};