{
  "sample": "OpenAI Codex project memory",
  "sourceRevision": 17,
  "revisions": "0..17",
  "provenanceAndLimits": {
    "analysisNature": "Retrospective repository-history reconstruction, not live agent memory accumulated over 18 months.",
    "upstreamAvailability": "Public repository citations are provenance; no upstream checkout was independently fetched in this run.",
    "reproduction": "Requires the exact corpus, pinned source and corresponding runtime fingerprints. This publication exports reports and expectations only, not a complete reproduction bundle."
  },
  "runtimeProvenance": {
    "formatRevision": "625edecee877ddf5f6c303cb478c64fa4cbca651",
    "nativeBinary": {
      "bytes": 3356256,
      "sha256": "6dcc5ece65fdb785ad09ca2bfa19db8ccbbbe939ae1cb608bfb7f1caa0d89861"
    },
    "publicationRedactions": "MCP identity, local binary path and private adapter source paths omitted; measured values unchanged."
  },
  "source": {
    "originalContainerBytes": 1046361,
    "originalSha256": "1f014d4ce73ddd33e4e54a576adb1afab15d92a81d3e9ae5443f43e02dfc47b2",
    "currentSnapshotBytes": 219837,
    "currentSourceSha256": "932d9acee2e957ec9aa919ef3024e84f72ea1fe4ab6840df69a35e8a21879564",
    "corpusPublished": false,
    "nativeHistoryVersion": 6,
    "nativeHistoryOverheadBytes": 826524,
    "journalSplit": "literal byte split at newline + @gram-history 6 + newline"
  },
  "counts": {
    "states": 18,
    "records": 532,
    "byType": {
      "project": 1,
      "goal": 15,
      "source": 3,
      "history": 7,
      "requirement": 5,
      "assumption": 2,
      "event": 210,
      "evidence": 11,
      "component": 80,
      "decision": 121,
      "task": 27,
      "risk": 26,
      "metric": 15,
      "blocker": 1,
      "artifact": 8
    }
  },
  "currentProjectionBytes": {
    "gram": 219837,
    "markdown": 309305,
    "jsonPretty": 466852,
    "jsonMinified": 291140
  },
  "historyProjectionTotals": {
    "markdown": 2742707,
    "jsonPretty": 4161950,
    "jsonMinified": 2569734
  },
  "historyScope": "18 Markdown/JSON states include the full per-revision effective/recorded/actor/request metadata. Native full-container bytes are reported separately; not a snapshot-vs-history winner.",
  "markdownConvention": "Chosen reversible Markdown schema: one heading per record; nonempty args/fields/blocks/links only; repeatable field values retain indexes; ID/type appear once in the heading. Useful readable encoding, not intrinsic Markdown byte overhead.",
  "encodingFairness": "Markdown and JSON use the same normalized semantic type names and exact original field keys; no separate short-key variant is needed.",
  "deltaReconciliation": "MCP brief reports +0 ~14 -0 for rev17; gram_changes enumerates 14 changed entities: the document body plus 13 records. Native replay therefore reports 13 changed records and documentChanged=true; the counts use different entity scopes.",
  "model": {
    "name": "persisted semantic model",
    "body": "raw ::rich Markdown is preserved once as the rich document block text in JSON and rendered once in Markdown; derived gram-rich/1 node tree/IDs are excluded from format outputs and retained only in native receipts.",
    "fieldsAndLinks": "All record fields, repeated values, links, blocks and order are preserved. Type codes are expanded to native semantic names while field keys remain unchanged.",
    "typeCodeMapping": "Native semantic type names are expanded (for example source code D becomes decision and CMP becomes component); original field keys remain as written.",
    "byteOrdering": "Not a source-byte roundtrip: the source interleaves link lines and fields, and 126 records have link lines before fields; normalized model preserves each field/link collection, not their original cross-collection lexical interleaving.",
    "docNodes": "The native 44,742-byte derived gram-rich/1 tree is excluded from Markdown/JSON byte totals; no AST/CST/source-span/runtime-cache padding."
  },
  "roundtrip": "For every revision 0..17, normalized persisted semantic state (document id/fields/raw body/block metadata, records and metadata) equals parsed Markdown and JSON; exact native IR is validation receipt only."
}
