//! Git worktree management with RAII cleanup.
//!
//! Manages temporary worktrees for checking out git refs, installing
//! dependencies, and running tsc. Ensures cleanup on drop, panic, or SIGINT.
pub use WorktreeError;
pub use WorktreeGuard;
pub use PackageManager;
/// Non-fatal issues encountered during worktree setup.
///
/// These are captured on [`WorktreeGuard`] via `guard.warnings()` and
/// propagated to the `DegradationTracker` by the caller of `extract()`.
/// The per-package tsc failures stay as `tracing::warn!` for `--log-file`
/// visibility; only the aggregate outcome is captured here.