fabro/lib/crates/fabro-cli/src
Bryan Helmkamp a5273e17a3
Add GitSyncStatus and WorkdirStrategy enums to fix cloud sandbox pre-run checks
The git sync check and auto-push logic was gated on should_create_worktree,
which was always false for remote sandboxes. This meant Daytona/Exe/SSH runs
silently proceeded without verifying commits were pushed or warning about
uncommitted changes. Replace the git_clean boolean and should_create_worktree
boolean with two enums (GitSyncStatus: Synced/Unsynced/Dirty and
WorkdirStrategy: LocalDirectory/LocalWorktree/Cloud) so every combination
is handled explicitly via match arms. Also display the base commit SHA for
cloud runs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-19 11:17:39 -04:00
..
commands Add GitSyncStatus and WorkdirStrategy enums to fix cloud sandbox pre-run checks 2026-03-19 11:17:39 -04:00
cli_config.rs rename Arc to Fabro in all Rust crates, symbols, env vars, and supporting files 2026-03-12 12:25:58 -04:00
doctor.rs Rename Arc to Fabro in user-facing strings, comments, and tests 2026-03-13 20:43:21 -04:00
init.rs Simplify recent CLI additions: dedup, fix TOCTOU, remove wrappers 2026-03-18 18:09:08 -04:00
install.rs Simplify recent CLI additions: dedup, fix TOCTOU, remove wrappers 2026-03-18 18:09:08 -04:00
logging.rs rename Arc to Fabro in all Rust crates, symbols, env vars, and supporting files 2026-03-12 12:25:58 -04:00
main.rs Add fabro secret CLI subcommands for managing ~/.fabro/.env 2026-03-18 18:02:38 -04:00
skill.rs rename Arc to Fabro in all Rust crates, symbols, env vars, and supporting files 2026-03-12 12:25:58 -04:00
upgrade.rs fabro upgrade command (#13) 2026-03-15 19:54:57 -04:00