fabro/lib/crates/fabro-cli
Bryan Helmkamp ad84f9f92c 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
..
src Add GitSyncStatus and WorkdirStrategy enums to fix cloud sandbox pre-run checks 2026-03-19 11:17:39 -04:00
tests Add fabro secret CLI subcommands for managing ~/.fabro/.env 2026-03-18 18:02:38 -04:00
build.rs Move git SHA/build date from fabro-util to fabro-cli build.rs 2026-03-13 15:03:12 -04:00
Cargo.toml Expand scenario tests to cover more CLI subcommands 2026-03-18 16:05:13 -04:00