Expand description
Goal workspace management. Supports a git-worktree mode on top of the plain mkdir + traversal-guard surface.
Re-exports§
pub use manager::GitWorktreeMode;pub use manager::WorkspaceManager;
Modules§
- git
- Thin shell-out helpers around
git. Each helper wraps a single command, setsGIT_AUTHOR/COMMITTERenv so commits don’t fail when the operator’s repo lacksuser.email, and maps non-zero exits + timeouts toDriverError::Workspace. - manager
WorkspaceManager— resolve, mkdir, optionally checkout into a git worktree, and provide checkpoint / rollback / diff_stat helpers used by the driver loop.