core
core copied to clipboard
corpus-sync: point-in-time export — decided export --at <rev>
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 HEADon a clean tree byte-identical to plain export (the pinned tempdir trap). - Unknown rev → non-zero naming the revision; absent subpath → empty corpus; no
.gitmutation.
Foundation for the change feed. Tick on #255 when landed.