{
 "schema_version": "1.0",
 "generated": "2026-06-13",
 "public_origin": "https://magalia.wiki",
 "purpose": "Single source of truth for every public count. The site should READ this rather than hard-code numbers (the fix for count drift). Each count is typed (live/snapshot/source/curated/draft/ai-indexed/reference/teaching/generated) so source records, search rows, editions and AI-indexed items are never conflated.",
 "taxonomy": {
  "live": "queryable live index (DB/API rows)",
  "snapshot": "frozen point-in-time export",
  "source": "raw source records before dedup",
  "curated": "hand-edited scholarly editions",
  "draft": "not yet reviewed",
  "ai-indexed": "items in an AI/bridge index (NOT inscriptions)",
  "reference": "reference-work nodes (LCL/BNP/CIL/PIR)",
  "teaching": "course/teaching units",
  "generated": "derived/generated catalogue"
 },
 "counts": [
  {
   "key": "list_rows",
   "label": {
    "en": "Unified inscription list",
    "zh": "统一铭文列表"
   },
   "value": 511973,
   "unit": "rows",
   "type": "live",
   "source": "list.sqlite (EDCS∪EDH∪TM metadata)",
   "as_of": "2026-06-08",
   "where_used": [
    "Discover",
    "Search",
    "browse"
   ],
   "license": "CC BY 4.0 (metadata)",
   "verified": true,
   "note": "Search rows BEFORE cross-system dedup — NOT distinct inscriptions."
  },
  {
   "key": "edh_rows",
   "label": {
    "en": "EDH index",
    "zh": "EDH 索引"
   },
   "value": 81883,
   "unit": "rows",
   "type": "snapshot",
   "source": "edh.sqlite (Heidelberg, archival)",
   "as_of": "2026-06-08",
   "where_used": [
    "edh-corpus reader"
   ],
   "license": "CC BY 4.0 (metadata)",
   "verified": true,
   "note": ""
  },
  {
   "key": "papyri_rows",
   "label": {
    "en": "Papyri index",
    "zh": "纸草索引"
   },
   "value": 66079,
   "unit": "rows",
   "type": "snapshot",
   "source": "papyri.sqlite (TM-keyed)",
   "as_of": "2026-06-08",
   "where_used": [
    "papyri reader",
    "Symbolon bridge"
   ],
   "license": "CC BY 4.0 (metadata)",
   "verified": true,
   "note": ""
  },
  {
   "key": "kcl_snapshot",
   "label": {
    "en": "KCL Matrix-Hub inscriptions snapshot",
    "zh": "KCL 铭文快照"
   },
   "value": 5467,
   "unit": "records",
   "type": "snapshot",
   "source": "KCL IAph/IRT/IRCyr static snapshot",
   "as_of": "2026-06-08",
   "where_used": [
    "Matrix Hub catalogue"
   ],
   "license": "CC BY 4.0 (metadata)",
   "verified": true,
   "note": ""
  },
  {
   "key": "literature_works",
   "label": {
    "en": "Literature works (CTS)",
    "zh": "文学作品"
   },
   "value": 2248,
   "unit": "works",
   "type": "snapshot",
   "source": "canonical greekLit/latinLit TEI",
   "as_of": "2026-06-08",
   "where_used": [
    "literature reader",
    "Symbolon bridge"
   ],
   "license": "CC BY 4.0 (metadata)",
   "verified": true,
   "note": ""
  },
  {
   "key": "formula_shards",
   "label": {
    "en": "Formula-dossier decree shards",
    "zh": "套语法令切片"
   },
   "value": 6617,
   "unit": "normalised decree shards",
   "type": "generated",
   "source": "formula-dossier mining",
   "as_of": "2026-06-08",
   "where_used": [
    "Formula Dossier"
   ],
   "license": "CC BY 4.0 (metadata)",
   "verified": true,
   "note": ""
  },
  {
   "key": "symbolon_bridge",
   "label": {
    "en": "Symbolon cross-evidence bridge",
    "zh": "Symbolon 跨证据桥"
   },
   "value": 669000,
   "unit": "indexed items",
   "type": "ai-indexed",
   "source": "bridge_*.jsonl (grc/lat/pap/lit/ed, concept+identity)",
   "as_of": "2026-06-08",
   "where_used": [
    "Symbolon app/browse"
   ],
   "license": "CC BY 4.0 (metadata)",
   "verified": true,
   "note": "AI cross-evidence INDEX items across 5 streams — NOT inscriptions, NOT one vector space (identity/concept bridge; see Symbolon §0.5)."
  },
  {
   "key": "registry_artifacts",
   "label": {
    "en": "Identity-spine artifacts",
    "zh": "身份脊柱条目"
   },
   "value": 133,
   "unit": "artifacts",
   "type": "curated",
   "source": "registry.json (register.py harvest of #magalia-id blocks)",
   "as_of": "2026-06-13",
   "where_used": [
    "Symbolon",
    "subgraph",
    "edition back-links"
   ],
   "license": "CC BY 4.0 (metadata)",
   "verified": true,
   "note": "By class: {'literary-passage': 51, 'inscription': 82}."
  },
  {
   "key": "catalogue_records",
   "label": {
    "en": "Catalogue records",
    "zh": "编目记录"
   },
   "value": 133,
   "unit": "records",
   "type": "curated",
   "source": "catalogue.json",
   "as_of": "2026-06-13",
   "where_used": [
    "catalogue",
    "navigator"
   ],
   "license": "CC BY 4.0 (metadata)",
   "verified": true,
   "note": ""
  },
  {
   "key": "governance_curated",
   "label": {
    "en": "Governance curated editions",
    "zh": "治理类精编版本"
   },
   "value": 28,
   "unit": "curated editions",
   "type": "curated",
   "source": "governance-corpus.json",
   "as_of": "2026-06-08",
   "where_used": [
    "Governance Corpus",
    "Formula Dossier"
   ],
   "license": "CC BY 4.0 (metadata)",
   "verified": true,
   "note": "Canonical curated count of the interlinked Greco-Roman public-documents core (17 BC–AD 247). A DIFFERENT categorisation from governance_stamped (all stamped pages sitewide); the Matrix Hub counts-explained note defines both subsets."
  },
  {
   "key": "governance_stamped",
   "label": {
    "en": "Governance stamped editions",
    "zh": "治理类盖印评注本"
   },
   "value": 73,
   "unit": "stamped editions",
   "type": "generated",
   "source": "matrix-hub/governance/*.html (pages with #magalia-id)",
   "as_of": "2026-06-13",
   "where_used": [
    "root sidebar",
    "Matrix Hub",
    "functions-manifest"
   ],
   "license": "CC BY 4.0 (metadata)",
   "verified": true,
   "note": "SINGLE SOURCE OF TRUTH for the sitewide \"N stamped editions\" claim. stamp_counts.py syncs every surface to this; do not hand-edit those numbers."
  },
  {
   "key": "scans_3d",
   "label": {
    "en": "3D inscription scans",
    "zh": "三维铭文扫描"
   },
   "value": 41,
   "unit": "photogrammetry captures",
   "type": "curated",
   "source": "models3d-identity.json + models3d-join.json",
   "as_of": "2026-06-13",
   "where_used": [
    "3D gallery",
    "inscription.html"
   ],
   "license": "CC BY 4.0 (metadata)",
   "verified": true,
   "note": "8 fully spine-joined (EM⇄IG⇄PHI⇄edition); 17 carry the EM↔IG pair. The homepage '32 inscription + 9 sculpture' splits this same set — reconcile to 41."
  },
  {
   "key": "reference_nodes",
   "label": {
    "en": "Reference-work nodes (LCL/BNP/CIL/PIR)",
    "zh": "参考文献节点"
   },
   "value": 1674,
   "unit": "reference artifacts",
   "type": "reference",
   "source": "registry-references.json (build_reference_registry.py)",
   "as_of": "2026-06-13",
   "where_used": [
    "platform spine (mergeable)"
   ],
   "license": "CC BY 4.0 (metadata)",
   "verified": true,
   "note": "LCL 28 · BNP 1505 · BNPSII 128 · CIL-vol 6 · PIR-vol 7."
  },
  {
   "key": "dh_tracker",
   "label": {
    "en": "DH database/project directory",
    "zh": "DH 数据库目录"
   },
   "value": 183,
   "unit": "databases/projects",
   "type": "curated",
   "source": "dh-tracker",
   "as_of": "2026-06-13",
   "where_used": [
    "DH Tracker"
   ],
   "license": "CC BY 4.0 (metadata)",
   "verified": true,
   "note": "Homepage prose must read this number (was drifting 146 vs 183)."
  },
  {
   "key": "bundles",
   "label": {
    "en": "Live project bundles",
    "zh": "在线项目集"
   },
   "value": 10,
   "unit": "bundles",
   "type": "teaching",
   "source": "site sections (Happy Latin · Cicero · Pottery · Aesop · Periplus · Matrix Hub · Latin Exam Prep · DH Tracker · ML/AI · Greek Historians)",
   "as_of": "2026-06-13",
   "where_used": [
    "homepage"
   ],
   "license": "CC BY 4.0 (metadata)",
   "verified": true,
   "note": "The homepage header chip + prose must both read this (was drifting 9 vs 10; meta description still said \"Eight\")."
  },
  {
   "key": "symbolon_validation",
   "label": {
    "en": "Symbolon/assistant honesty eval",
    "zh": "Symbolon 诚实性评测"
   },
   "value": 100,
   "unit": "gold items (abstention sample)",
   "type": "ai-indexed",
   "source": "eval/ harness (P2) — Qwen3.7-plus: abstain 1.00, 0 hallucinations",
   "as_of": "2026-06-13",
   "where_used": [
    "(planned) Symbolon validation page"
   ],
   "license": "CC BY 4.0 (metadata)",
   "verified": true,
   "note": "From the own-ground-truth eval (eval/RESULTS.md). Surface publicly as the validation gallery the audits request."
  }
 ]
}