fabro/docs/reference
Bryan Helmkamp e2f884df23 Fix resume command bugs, remove --ssh flag, simplify EventEmitter
Fix three bugs from PR review in the new `fabro resume` command:

1. RunArgs.workflow lost its required constraint when --run-branch was
   removed — add #[arg(required = true)] so clap enforces it.

2. run_resumed ignored --preserve-sandbox (hardcoded false),
   --verbose (no ProgressUI), and --ssh (no listener). Wire
   preserve_sandbox through resolve_preserve_sandbox, create a
   ProgressUI registered on the emitter, and handle SSH access.

3. prepare_from_checkpoint unconditionally created a LocalSandbox,
   ignoring --sandbox. Add the same sandbox resolution logic used by
   prepare_from_branch (Local, Docker, Ssh, Exe, Daytona).

Remove --ssh from `fabro run` and `fabro resume` since `fabro ssh`
is the dedicated command now. Remove the flag from RunArgs, ResumeArgs,
RunSpec, and all docs/changelogs.

Simplify EventEmitter: change on_event to take &self (via
Mutex<Vec<Arc<...>>>) instead of &mut self, removing the need for
the late_listeners workaround. emit() snapshots the listener list
before dispatching to prevent deadlocks from reentrant emit calls.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-21 13:07:58 -04:00
..
acknowledgements.mdx docs: rename Arc to Fabro throughout docs 2026-03-12 10:53:44 -04:00
architecture.mdx Update roadmap and standardize on Graphviz terminology 2026-03-16 20:01:33 -04:00
cli-configuration.mdx Docs updates: reorder nav, rename DOT Language, simplify dark factory, add fork/upgrade/asset docs 2026-03-15 20:13:23 -04:00
cli.mdx Fix resume command bugs, remove --ssh flag, simplify EventEmitter 2026-03-21 13:07:58 -04:00
dot-language.mdx Add missing attributes to DOT language reference docs 2026-03-21 10:07:11 -04:00
run-directory.mdx Update roadmap and standardize on Graphviz terminology 2026-03-16 20:01:33 -04:00
sdk.mdx Unified WorktreeSandbox (#117) 2026-03-20 15:35:04 -04:00