fabro/docs/reference
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
..
acknowledgements.mdx docs: rename Arc to Fabro throughout docs 2026-03-12 10:53:44 -04:00
architecture.mdx refactor(server): remove inbound TLS termination 2026-04-19 10:43:57 -04:00
cli.mdx refactor: unify run vocabulary and metadata snapshot layout 2026-04-20 22:17:23 -04:00
dot-language.mdx feat(template): unify workflow and config template syntax 2026-04-11 10:58:50 -04:00
run-directory.mdx refactor: unify run vocabulary and metadata snapshot layout 2026-04-20 22:17:23 -04:00
sdk.mdx feat: embed fabro spa and align interruption semantics 2026-04-08 14:43:44 -04:00
shell-completions.mdx Add fabro completion subcommand for shell completions 2026-03-30 16:17:38 -04:00
user-configuration.mdx refactor: remove CLI client mTLS 2026-04-20 17:37:24 -04:00
verifying-releases.mdx ci(release): attest SLSA build provenance for binaries and image 2026-04-18 15:05:32 -04:00