fabro/lib/crates/fabro-cli
Bryan Helmkamp 9c22bb8834 Fix 6 bugs in create/start/attach lifecycle
Bug 1: handle_json_line now reads post-rename field names matching real
JSONL output (node_label, node_id, error instead of name, stage, message).
Existing tests updated to use post-rename names too.

Bug 2: _run_engine restores spec.working_directory via set_current_dir
and uses cached graph.fabro instead of spec.workflow_path.

Bug 3: attach loop deletes interview_request.json immediately after
reading to prevent re-prompting. run_command uses FileInterviewer when
stdin is not a TTY (detached mode).

Bug 4: attach_run loads spec.verbose and passes it to ProgressUI instead
of hardcoding false.

Bug 5: start_run writes Starting status before spawning the engine
process to prevent duplicate engines from concurrent start calls.

Bug 6: handle_json_line dispatches DevcontainerResolved,
DevcontainerLifecycleStarted/Completed/Failed events.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 12:35:59 -04:00
..
src Fix 6 bugs in create/start/attach lifecycle 2026-03-20 12:35:59 -04:00
tests Add failing regression tests for 6 bugs in create/start/attach lifecycle 2026-03-20 12:28:19 -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 Create fabro-sandbox crate, consolidating Sandbox trait and all implementations 2026-03-19 20:06:19 -04:00