fabro/docs/agents
Bryan Helmkamp 7dd058cc40
refactor: unify run vocabulary and metadata snapshot layout
Implements the plan at
docs/plans/2026-04-20-003-refactor-unify-run-vocabulary-metadata-plan.md.

- Rename RunRecord to RunSpec and RunProjection.run to .spec everywhere
  in Rust source, tests, helpers, test names, and error messages.
- Introduce SerializableProjection wrapper that trims bulky node text
  fields (prompt, response, diff, stdout, stderr) for run.json snapshots.
- Collapse metadata-branch and CLI export to one RunDump::from_projection
  builder emitting run.json + graph.fabro + stages/{stage_id}/... and
  drop legacy top-level start/status/checkpoint/sandbox/retro/conclusion
  split files.
- Replace MetadataStore::write_checkpoint with write_snapshot returning
  the commit SHA; add read_run_projection/read_run_spec; demote
  read_checkpoint/read_start_record to projection-field extractors.
- Switch fork, rewind, rebuild_meta, CLI rewind recovery, and retro
  upload to read the unified projection layout.
- Add additive query methods on RunSpec and RunProjection.

Serde-level `alias = "spec"` shim dropped; `rename = "run"` retained to
keep the server API wire format stable per the plan's scope boundary.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-20 22:17:23 -04:00
..
hooks.mdx refactor(config): move project state under .fabro 2026-04-11 12:55:46 -04:00
mcp.mdx docs: migrate reference and guide examples to v2 config shape 2026-04-09 11:30:52 -04:00
outputs.mdx refactor: unify run vocabulary and metadata snapshot layout 2026-04-20 22:17:23 -04:00
permissions.mdx docs: rename Arc to Fabro throughout docs 2026-03-12 10:53:44 -04:00
prompts.mdx refactor: unify run vocabulary and metadata snapshot layout 2026-04-20 22:17:23 -04:00
skills.mdx rename Arc to Fabro in all Rust crates, symbols, env vars, and supporting files 2026-03-12 12:25:58 -04:00
subagents.mdx Refactor run event envelopes and subagent linking 2026-03-30 17:09:07 -04:00
tools.mdx docs: rename Arc to Fabro throughout docs 2026-03-12 10:53:44 -04:00