core icon indicating copy to clipboard operation
core copied to clipboard

corpus-federation: inherited export composition and pin provenance

Open tcballard opened this issue 4 months ago • 0 comments

Sub-issue of #267 (corpus-federation, ADR-093). Depends on schemas #256, source identity #260, and the effective read model #270.

Corpus: federated-resolution-provenance, corpus-source-identity, and ADR-142.

Scope:

  • Include the effective inherited layer by default in viewer, documents, and graph exports.
  • Retain each record's own corpus.source and additive layer/verified-pin provenance; never rewrite parent records into the child namespace.
  • Preserve both the overridden parent record and local replacement with complete override provenance.
  • Permit human export --local-only as an explicit diagnostic projection; it is not the default and cannot affect MCP or enforcement.
  • Deduplicate repeated (source, id) records only when verified pin and body agree. Different pins or bodies are explicit aggregation conflicts, never last-writer-wins.
  • Validate the composed output against the published #256 schemas and preserve no-manifest export goldens.
  • Activate the manifest-backed public read path only when exports, MCP, and enforcement consume the same composed snapshot.

This contributes to #267; the epic closes only after #270, #271, and #272 are complete.

tcballard avatar Jul 02 '26 21:07 tcballard