{
  "abstract": "General-purpose compression assumes that an object is primarily a byte sequence. Many modern objects also have recoverable context: a prior version, a shared dictionary, an exact source, a deterministic generator, a model that emitted the sequence, a procedural recipe, or a lineage graph. Treating every such object as context-free bytes discards information that can be used for storage, transmission, regeneration, and random access. Treating generation as proof, however, risks silent drift and dependency laundering. Object-Oriented Compression (OOC), serialized as fold/2, is a proof-bound meta-codec for objects with provenance. It selects among five routes: - P: proven conventional fallback; - D: dictionary/reference/delta conditioned; - M: model-conditioned lossless; - R: exact deterministic regeneration; - G: regeneration plus exact residual. Every route declares dependencies, accounting mode, exact content identity, representation identity, sealed layers, proof, and fallback. The encoder must decode and digest-verify its own output before sealing. The decoder fails closed or follows a declared fallback ladder. A spatial address may guide locality but never determines identity. The current proof deck establishes several mechanisms: exact arithmetic and text round trips, boundary verification, corruption refusal, conditioned sample behavior, recipe regeneration, exact residual correction, and seed-drift sensitivity. It does not prove a new general-purpose compressor. The strongest research target is narrower: generated, versioned, related, and structured objects for which provenance creates recoverable redundancy.",
  "author": "Hayden Lindley",
  "category": "Compression & Representation",
  "claims": {
    "claims": [
      {
        "claim_id": "P10-C01",
        "evidence_refs": [
          "P10-S02"
        ],
        "limitations": [
          "Synthetic and small-sample mechanisms; Rust suites were not run in that assessment."
        ],
        "public": true,
        "scope": "Recorded JavaScript proof-deck execution.",
        "statement": "The supplied proof deck demonstrates exact round trips, boundary verification, corruption refusal, conditioned coding, recipe regeneration, residual correction, and seed-drift sensitivity in twelve passing self-tests.",
        "status": "VERIFIED_MECHANISM"
      },
      {
        "claim_id": "P10-C02",
        "evidence_refs": [
          "P10-S01",
          "P10-S03",
          "P10-S04"
        ],
        "limitations": [
          "Ratification and cross-platform conformance must be verified against current exact head."
        ],
        "public": true,
        "scope": "v0.2 format and benchmark contract.",
        "statement": "fold/2 defines a proof-bound P/D/M/R/G meta-codec with dependency accounting, exact verification, and fallback.",
        "status": "SPECIFIED"
      }
    ],
    "disclosure_note": "Claims marked non-public in the authored ledger are omitted from this public artifact.",
    "paper": "p10-ooc-fold2",
    "version": "0.1.0",
    "withheld_claim_count": 1
  },
  "date": "2026-07-27",
  "diagrams": {
    "diagrams": [
      {
        "brief": "Router branches to P, D, M, R, and G, each with dependencies and all converging on normative decode, digest verification, proof, and fallback.",
        "format": "svg",
        "id": "P10-F01",
        "path": "/diagrams/p10-ooc-fold2/P10-F01.svg",
        "status": "source-generated conceptual architecture",
        "title": "Five-route meta-codec"
      },
      {
        "brief": "Fold manifest with exact content ID, representation digest, context manifest, execution capsule, sealed layers, proof, and fallback.",
        "format": "svg",
        "id": "P10-F02",
        "path": "/diagrams/p10-ooc-fold2/P10-F02.svg",
        "status": "source-generated conceptual architecture",
        "title": "fold/2 object envelope"
      },
      {
        "brief": "Generator produces candidate; residual corrects; final digest compares with canonical bytes; mismatch follows fallback/refusal.",
        "format": "svg",
        "id": "P10-F03",
        "path": "/diagrams/p10-ooc-fold2/P10-F03.svg",
        "status": "source-generated conceptual architecture",
        "title": "Recipe plus residual"
      },
      {
        "brief": "Nested bars for object bytes, amortized dependencies, and cold-start recoverability, contrasting misleading recipe-only reporting.",
        "format": "svg",
        "id": "P10-F04",
        "path": "/diagrams/p10-ooc-fold2/P10-F04.svg",
        "status": "source-generated conceptual architecture",
        "title": "Honest byte accounting"
      }
    ],
    "paper": "p10-ooc-fold2"
  },
  "evidence_state": "VERIFIED_MECHANISM",
  "id": "p10-ooc-fold2",
  "institution": "Glyphd Labs",
  "integrity": {
    "claim_ledger_sha256": "0fe73c01ef3970a2186b8e6a115931364ae14cf1e2f47a912cd51653798e2294",
    "paper_mdx_sha256": "98fef1b6211e835739d65fd8164dfb013e368cdb4067942c63c058c648695742"
  },
  "public_disclosure_boundary": "This edition publishes the public-safe route architecture, format obligations, mechanism evidence, benchmark doctrine, and limitations. It excludes restricted codec heuristics, confidential corpus details, unreleased optimizations, and patent-claim drafting. No general compression or AV1-superiority claim is authorized.",
  "publication_class": "public-safe working paper",
  "publication_url": "https://www.glyphd.com/papers/p10-ooc-fold2",
  "revisions": {
    "paper": "p10-ooc-fold2",
    "revisions": [
      {
        "date": "2026-07-27",
        "summary": "First synthesized public-safe institute edition compiled from the Glyphd project corpus.",
        "version": "0.1.0"
      }
    ]
  },
  "schema_version": "1.0.0",
  "slug": "p10-ooc-fold2",
  "sources": {
    "notes": "Internal source paths are provenance references. Public publication must expose only approved public-safe excerpts or archived public artifacts.",
    "paper": "p10-ooc-fold2",
    "sources": [
      {
        "date": "2026-07-12",
        "id": "P10-S01",
        "path": "GLYPHDRIVE-OOC-FOLD-SPEC-v0.2.md",
        "title": "GlyphDrive OOC fold/2 Specification v0.2"
      },
      {
        "date": "2026-07-12",
        "id": "P10-S02",
        "path": "GLYPHDRIVE-FOVEA-OOC-TECHNICAL-ASSESSMENT-v0.2-PLANNING.md",
        "title": "GlyphDrive/FOVEA/OOC Technical Assessment"
      },
      {
        "date": "2026-07-12",
        "id": "P10-S03",
        "path": "GLYPHDRIVE-CODEC-BENCHMARK-CONTRACT-v0.1.md",
        "title": "GlyphDrive Codec Benchmark Contract"
      },
      {
        "date": "2026-07-12",
        "id": "P10-S04",
        "path": "PASTE-INTO-OPUS-GLYPHDRIVE-V02-RATIFICATION-R0.md",
        "title": "GlyphDrive v0.2 Ratification Gate R0"
      },
      {
        "date": "2026-07-24",
        "id": "P10-S05",
        "path": "How_we_can_make_CAS_lightning_fast_for_any_LLM_by_design_or_adaptation.docx",
        "title": "GlyphCAS Design Report"
      }
    ],
    "version": "0.1.0"
  },
  "subtitle": "The fold/2 P/D/M/R/G representation system with exact proof and fallback",
  "title": "A Provenance-Routed Regenerative Object Codec",
  "version": "0.1.0"
}
