fabro/docs/reference
Bryan Helmkamp d45b4516ab
refactor: clean CREATE/START/RESUME separation
Resume now follows the same subprocess pattern as run: look up run
directory by ID prefix, validate checkpoint exists, clean stale
artifacts, reset status to Submitted, spawn _run_engine --resume, and
attach. This eliminates ~1600 lines of duplicated env/sandbox setup
from resume.rs.

Key changes:
- operations::start() and operations::resume() take run_dir instead
  of Persisted, loading state from disk internally
- run_engine() builds RunOptions from RunRecord on disk, so callers
  no longer extract record fields manually
- StartOptions flattened (no more nested InitOptions)
- FabroError::Precondition variant for start/resume guard checks
- _run_engine accepts --resume flag to dispatch to resume path
- operations::restore removed (no longer needed)
- Resume CLI stripped to just <RUN_ID> + --detach

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 13:47:07 -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 refactor: clean CREATE/START/RESUME separation 2026-03-29 13:47:07 -04:00
dot-language.mdx Attractor spec hunks 14 & 16: remove error_policy and k_of_n/quorum from parallel handler 2026-03-23 14:59:35 -04:00
run-directory.mdx Align run persistence with run record plan 2026-03-29 13:47:06 -04:00
sdk.mdx Add #[source] error chaining to SdkError and tool_type field to ToolCall 2026-03-23 15:38:00 -04:00