{
  "abstract": "Conventional content-addressable storage is exact by design: identical bytes receive identical content identities; different bytes do not. Language-model systems often want a second property: repeated meanings, structures, plans, or outputs should be reusable even when their surface bytes differ. A naive “semantic hash” can create speed, but it can also erase provenance, collapse task-specific differences, cross project or authority boundaries, and promote approximate similarity into false exactness. GlyphCAS is a layered identity and reuse architecture that keeps exact content identity sovereign while adding typed, contract-bound derived identities. It separates content, semantic, contextual, dependency, representation, logical, and receipt identities. A model may propose a semantic graph or reuse candidate, but deterministic canonicalization, schema validation, authority checks, versioned compilers, and explicit Equivalence Contracts decide whether an alias may be minted or used. The reference package implements exact SHA-256 storage, deterministic canonical JSON over a bounded subset, Unicode normalization, content-addressed semantic identities, contextual reuse keys, controlled paraphrase snapping, project and authority isolation, dependency invalidation, hash-chained receipts, fold/2 representation objects, exact recipe verification, prefix/KV cache keys, deterministic software routing, and ten passing unit tests. The current evidence supports a reference architecture and narrow mechanism claims. It does not establish universal semantic canonicalization, universal model-independent cache reuse, production latency gains, or a general-purpose compression result.",
  "author": "Hayden Lindley",
  "category": "Identity & Reuse",
  "claims": {
    "claims": [
      {
        "claim_id": "P05-C01",
        "evidence_refs": [
          "P05-S01"
        ],
        "limitations": [
          "Not a production distributed CAS; exact source package should be linked in public artifacts."
        ],
        "public": true,
        "scope": "Python reference package described in the design report.",
        "statement": "The reference package implements exact CAS, bounded deterministic canonicalization, semantic/contextual keys, isolation, invalidation, receipts, representation routes, and ten passing unit tests.",
        "status": "IMPLEMENTED"
      },
      {
        "claim_id": "P05-C02",
        "evidence_refs": [
          "P05-S01",
          "P05-S03"
        ],
        "limitations": [
          "Semantic compiler quality is narrow and version-dependent."
        ],
        "public": true,
        "scope": "Reference schemas and tests.",
        "statement": "Exact content identity can remain separate from semantic alias identity while still enabling controlled reuse.",
        "status": "VERIFIED_MECHANISM"
      },
      {
        "claim_id": "P05-C03",
        "evidence_refs": [
          "P05-S01",
          "P05-S04"
        ],
        "limitations": [
          "No accepted production-scale latency benchmark is published."
        ],
        "public": true,
        "scope": "Adapter- and workload-specific benchmark.",
        "statement": "Layered early exits reduce end-to-end cost for selected LLM workloads without material quality regression.",
        "status": "HYPOTHESIS"
      }
    ],
    "disclosure_note": "Claims marked non-public in the authored ledger are omitted from this public artifact.",
    "paper": "p05-glyphcas",
    "version": "0.1.0",
    "withheld_claim_count": 1
  },
  "date": "2026-07-27",
  "diagrams": {
    "diagrams": [
      {
        "brief": "Stack exact ContentId, logical identity, SemanticId, ContextualReuseKey, DependencyId, RepresentationId, and ReceiptId with arrows showing permissible relationships.",
        "format": "svg",
        "id": "P05-F01",
        "path": "/diagrams/p05-glyphcas/P05-F01.svg",
        "status": "source-generated conceptual architecture",
        "title": "The GlyphCAS identity stack"
      },
      {
        "brief": "Exact content Merkle DAG below; semantic object DAG above; each semantic node points to exact supporting chunks.",
        "format": "svg",
        "id": "P05-F02",
        "path": "/diagrams/p05-glyphcas/P05-F02.svg",
        "status": "source-generated conceptual architecture",
        "title": "Two linked DAGs"
      },
      {
        "brief": "Decision ladder from exact hit through semantic alias, PromptCapsule/prefix/KV reuse, recipe regeneration, and full inference, with cost and verification increasing.",
        "format": "svg",
        "id": "P05-F03",
        "path": "/diagrams/p05-glyphcas/P05-F03.svg",
        "status": "source-generated conceptual architecture",
        "title": "Layered early exits"
      },
      {
        "brief": "Three panels EXACT_CONTENT, EXACT_SEMANTIC, APPROXIMATE_VERIFIED, emphasizing labels, contracts, and prohibition on promotion to exact identity.",
        "format": "svg",
        "id": "P05-F04",
        "path": "/diagrams/p05-glyphcas/P05-F04.svg",
        "status": "source-generated conceptual architecture",
        "title": "Equivalence modes"
      }
    ],
    "paper": "p05-glyphcas"
  },
  "evidence_state": "IMPLEMENTED",
  "id": "p05-glyphcas",
  "institution": "Glyphd Labs",
  "integrity": {
    "claim_ledger_sha256": "6a8cae0f7fa7ad28612b95ad618c6808f7265811d9e51d38ff459730d553b075",
    "paper_mdx_sha256": "fd5871e73b0c2f33d02d29b254b965617abee211247a9f5c72cd6e616556866b"
  },
  "public_disclosure_boundary": "This edition publishes the public-safe identity architecture, reference evidence, benchmark contract, and threat model. It excludes private compiler prompts, unpublished canonicalization heuristics, customer data, claim-ready patent drafting, and restricted adapter internals. The phrase “lightning fast for any LLM” is treated as a research target, not a public result.",
  "publication_class": "public-safe working paper",
  "publication_url": "https://www.glyphd.com/papers/p05-glyphcas",
  "revisions": {
    "paper": "p05-glyphcas",
    "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": "p05-glyphcas",
  "sources": {
    "notes": "Internal source paths are provenance references. Public publication must expose only approved public-safe excerpts or archived public artifacts.",
    "paper": "p05-glyphcas",
    "sources": [
      {
        "date": "2026-07-24",
        "id": "P05-S01",
        "path": "How_we_can_make_CAS_lightning_fast_for_any_LLM_by_design_or_adaptation.docx",
        "title": "GlyphCAS Design Report: How We Can Make CAS Lightning Fast for Any LLM"
      },
      {
        "date": "2026-07-12",
        "id": "P05-S02",
        "path": "GLYPHDRIVE-FOVEA-OOC-TECHNICAL-ASSESSMENT-v0.2-PLANNING.md",
        "title": "GlyphDrive/FOVEA/OOC Technical Assessment"
      },
      {
        "date": "2026-07-12",
        "id": "P05-S03",
        "path": "GLYPHDRIVE-OOC-FOLD-SPEC-v0.2.md",
        "title": "GlyphDrive OOC fold/2 Specification v0.2"
      },
      {
        "date": "2026-07-15",
        "id": "P05-S04",
        "path": "ZEKE-4B-MAXFLEX-RUNTIME-MASTER-SPEC-v0.1.md",
        "title": "Zeke 4B Max-Flex Runtime Master Spec"
      },
      {
        "date": "2026-07-19",
        "id": "P05-S05",
        "path": "GLYPH_TOKENS_MAIN_BUILD_THREAD_HANDOFF.md",
        "title": "Glyph Tokens Main Build Thread Handoff"
      }
    ],
    "version": "0.1.0"
  },
  "subtitle": "Exact content, typed semantic identity, and evidence-preserving reuse for language-model systems",
  "title": "GlyphCAS",
  "version": "0.1.0"
}
