Skip to main content
The run directory structure and file formats described here are internal implementation details and subject to change without notice. Do not build tooling that relies on them. The authoritative source of run state is the event-sourced run store; the scratch directory is now mostly local runtime state and caches.
Each fabro run invocation creates a timestamped directory under ~/.fabro/storage/scratch/:
The naming format is YYYYMMDD-{run_id}, where run_id is the ULID assigned to the run. You can override the base storage directory with the global --storage-dir flag (the scratch directory will be <storage-dir>/scratch/).

Root-level files

Local-only directories

These paths are local runtime state and caches, not the canonical run state.
  • worktree/ — When running in worktree mode, Fabro creates a Git worktree here as the working directory for agents and commands.
  • runtime/ — Local runtime files. Today this includes runtime/server.log for the raw per-run worker tracing log and materialized blob payloads under runtime/blobs/.
  • nodes/{manager_node}_{visit}/child/ — Nested scratch directories for manager-loop child workflows.
Large durable values, event streams, checkpoints, diffs, and conclusions are no longer projected into live scratch by default. Use fabro events, fabro inspect, the API, or fabro dump for those surfaces. Use fabro logs for the raw per-run worker tracing log when it is available.

Reconstructed and export-only layouts

Metadata branch snapshots and fabro dump exports now use the same core layout:
  • run.json for the current projection snapshot, including the current checkpoint
  • graph.fabro for workflow source
  • stages/{rank:03}-{node_id}@{visit}/... for execution-order-prefixed per-stage prompt, response, status, diff, and command output files
fabro dump adds export-only history surfaces on top of that shared layout:
  • events.jsonl for the durable event stream
  • checkpoints/*.json for checkpoint history snapshots
  • artifacts/{node_id}@{visit}/... for exported artifact payloads

Browsing runs

Use fabro ps to scan the scratch directory and display a table of all runs with their status, workflow name, and timestamps. Pass --json for machine-readable output.

Full directory tree