mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-20 00:11:34 +00:00
Replace the 3-variant RunStatus enum (Concluded/Running/Unknown) with an 8-variant state machine (Submitted/Starting/Running/Paused/Removing/ Succeeded/Failed/Dead) persisted as status.json via RunStatusRecord. Add StatusReason enum for fine-grained failure/success classification (WorkflowError, Cancelled, SandboxInitFailed, Completed, etc.) and validated state transitions via can_transition_to()/transition_to(). Map engine results to appropriate RunStatus+StatusReason at all write sites: Submitted (detach), Starting+SandboxInitializing (run init), Failed+SandboxInitFailed (scopeguard), Running (engine start), and Succeeded/Failed with reason (engine completion). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cli_config.rs | ||
| doctor.rs | ||
| init.rs | ||
| install.rs | ||
| logging.rs | ||
| main.rs | ||
| skill.rs | ||