core icon indicating copy to clipboard operation
core copied to clipboard

corpus-sync: point-in-time export — decided export --at <rev>

Open tcballard opened this issue 4 months ago • 0 comments

Sub-issue of #255 (corpus-sync, ADR-093).

Corpus: decisions/requirements/rac-point-in-time-export.md

Scope:

  • decided export --at <rev> for the three JSON payload modes, composing the ADR-043 revision-materialisation seam; rejected with --html/--okf/--agent-rules.
  • Pure function of (repo content at rev, corpus path, mode): byte-identical across runs, working directories, and clones.
  • Paths and corpus identity derived from the requested directory, never the materialisation location — --at HEAD on a clean tree byte-identical to plain export (the pinned tempdir trap).
  • Unknown rev → non-zero naming the revision; absent subpath → empty corpus; no .git mutation.

Foundation for the change feed. Tick on #255 when landed.

tcballard avatar Jul 02 '26 21:07 tcballard