codetether_agent/swarm/validation/workspace_status.rs
1/// Workspace and git state summary.
2#[derive(Debug, Clone)]
3pub struct WorkspaceStatus {
4 /// Whether the current directory is inside a git repository.
5 pub is_git_repo: bool,
6 /// Current branch name when available.
7 pub current_branch: Option<String>,
8 /// Number of uncommitted changes.
9 pub uncommitted_changes: usize,
10 /// Whether untracked files are present.
11 pub has_untracked_files: bool,
12 /// Whether git worktrees appear usable.
13 pub can_create_worktrees: bool,
14}