{
 "axn": "AXN:0259.ARCHIVAL.🧱🟡⊗♄♋🧪",
 "root_axn": "AXN:0259.ARCHIVAL",
 "hex": "0259",
 "family": "ARCHIVAL",
 "emoji": "🧱🟡⊗♄♋🧪",
 "hash": "22c397a4ac39ad402435f5f6fbceb6bec41e54fa060d5f6c09f020107d06ae11",
 "title": "THE BOOK OF LIFE How Embeddings and Footnotes Work in The Secret Book of Walt",
 "creator": "TACHYON (Claude/Anthropic)",
 "orcid": "0009-0000-1599-0703",
 "date": "2026-04-29",
 "description": "This technical “Book of Life” documents the rendering pipeline for *The Secret Book of Walt* and related interactive editions. It explains three ordered layers through which body text passes: footnote parsing, Markdown emphasis, and glossary-link injection. Its central invariant is compositional: every rendering layer must hand text to the next layer, because an early return can silently preserve upstream behavior while disabling everything downstream.\n\nThe manual maps data files, source Markdown, build scripts, React components, pure JavaScript utilities, the global footnote map, superscript disambiguation, reading modes, and regression checks. It is a broader companion to the dedicated *Footnote Architecture* document in #706. It should not be confused with #685, whose *Book of Life* is a registry of retrieval nodes in the published book. Here “Book of Life” names source-of-truth software documentation for the edition’s text-rendering stack.",
 "content_type": "Software architecture / maintenance specification",
 "license": "CC-BY-4.0",
 "substrate": "Various",
 "keywords": [
  "the architecture document",
  "the critical early return",
  "check the footnote count",
  "the disambiguation rule",
  "the global footnote map",
  "how the layers connect",
  "the terms dictionary",
  "from the repo root:",
  "disambiguation",
  "architecture",
  "Secret Book of Walt"
 ],
 "version": "v1.0",
 "deposit_number": 712,
 "sovereign_id": "MM-CHA-0597",
 "minted_at": "2026-06-20T22:00:00Z",
 "status": "ACTIVE",
 "clusters": [
  "Architectural",
  "Signal",
  "Mathematical",
  "Alchemical",
  "Alchemical",
  "Instrumental"
 ],
 "reading": "Foundation → Alarm → Proof → Transmutation → Transmutation → Method",
 "axn_canonical": "22c397a4ac39ad402435f5f6fbceb6bec41e54fa060d5f6c09f020107d06ae11",
 "axn_display": "🧱🟡⊗♄♋🧪",
 "mirrors": {
  "blog": "https://mindcontrolpoems.blogspot.com/2026/04/the-book-of-life-how-embeddings-and.html"
 },
 "zenodo_dois": [
  "10.5281/zenodo.19895668",
  "10.5281/zenodo.19895669"
 ],
 "full_text_path": "/data/texts/AXN-0259-text.md",
 "full_text_chars": 15831,
 "wiki_article": "**The Book of Life: How Embeddings and Footnotes Work in The Secret Book of Walt** is a software-maintenance manual for the interactive critical edition.\n\nThe document describes a three-layer rendering architecture. Footnote code first separates superscript references from ordinary text and manuscript identifiers. An emphasis layer then converts italic and bold markers. A glossary layer finally identifies selected terms and turns them into links. Each layer must pass text forward; otherwise later features disappear without producing a runtime error.\n\nThe manual identifies the edition’s source Markdown, generated JSON, build scripts, React components, footnote utilities, and architectural reference files. It explains the global footnote map and shows how footnote markers, prose, emphasis, and embedded links coexist in a single paragraph.\n\nThis work is distinct from the retrieval-node registry also titled *The Book of Life*. The registry inventories external apertures in the book; this manual documents the internal code path that makes the book readable and interactive. Its filenames and counts describe the frozen implementation and should be versioned when the code changes.",
 "entities": [
  {
   "subject": "THE BOOK OF LIFE How Embeddings and Footnotes Work",
   "predicate": "created_by",
   "object": "TACHYON (Claude/Anthropic)",
   "type": "work",
   "evidence_status": "observed"
  },
  {
   "subject": "THE BOOK OF LIFE How Embeddings and Footnotes Work",
   "predicate": "is_type",
   "object": "Archive work",
   "type": "work",
   "evidence_status": "observed"
  },
  {
   "subject": "THE BOOK OF LIFE How Embeddings and Footnotes Work",
   "predicate": "belongs_to_family",
   "object": "ARCHIVAL",
   "type": "work",
   "evidence_status": "observed"
  },
  {
   "subject": "THE BOOK OF LIFE How Embeddings and Footnotes Work",
   "predicate": "is_part_of",
   "object": "Crimson Hexagonal Archive",
   "type": "work",
   "evidence_status": "observed"
  },
  {
   "subject": "THE BOOK OF LIFE How Embeddings and Footnotes Work",
   "predicate": "references",
   "object": "Jack Feist",
   "type": "heteronym",
   "evidence_status": "observed"
  },
  {
   "subject": "THE BOOK OF LIFE How Embeddings and Footnotes Work",
   "predicate": "references",
   "object": "TACHYON",
   "type": "heteronym",
   "evidence_status": "observed"
  },
  {
   "subject": "Broke Layer 3",
   "predicate": "minted_in",
   "object": "THE BOOK OF LIFE How Embeddings and Footnotes Work in The Se",
   "type": "concept",
   "evidence_status": "observed",
   "note": "processEmphasis returned raw text instead of calling linkifyText"
  },
  {
   "subject": "THE CRITICAL RULE",
   "predicate": "minted_in",
   "object": "THE BOOK OF LIFE How Embeddings and Footnotes Work in The Se",
   "type": "concept",
   "evidence_status": "observed",
   "note": "Every layer must pass text through to the next layer."
  }
 ],
 "journal": "Crimson Hexagonal Archive (CHA)",
 "defines_concepts": [
  "Broke Layer 3",
  "THE CRITICAL RULE"
 ],
 "references_concepts": [
  "Broke Layer 3",
  "Crimson Hexagonal Archive",
  "Lee Sharks",
  "RENDER",
  "TACHYON",
  "THE CRITICAL RULE"
 ],
 "references_concept_count": 6,
 "external_metadata_path": "/data/external-metadata/AXN-0259.json",
 "openalex_ids": [
  "https://openalex.org/W7157691992"
 ],
 "datacite_severance": "severed",
 "body_status": {
  "class": "full",
  "lacuna": false,
  "recovery_status": "COMPLETE",
  "residual_chars": 12802,
  "audited_at": "2026-07-17T04:49:17.789813Z",
  "audit_version": "v3-dual-store+recovery-map",
  "measured_prose_words": 2128,
  "measured_at": "2026-07-31",
  "work_sha256": "31e8437e6a1ca70eb26cd17fc9c32b4d4615f60c06b1678eab07532fe870ed49",
  "prior_bytes_sha256": "9fd142e5d157313dec4fca3293acefcf0f25822026d0a0e70e2d6c55bcdb2250",
  "w13_tier2": "2026-08-04 W13 TIER 2 BYTE UNGLUE: 33 glued heading markers -> 0. WHITESPACE-ONLY transform (content identical under whitespace normalisation, verified before write); code fences exempt; prior sha retained. Re-fetching could not fix this class — the blog source is ITSELF glued (the collapse predates publication), so the deterministic transform applied at display since tier 1 is now applied to the bytes, which also fixes PDFs, the body-index, and downloads.",
  "w13_tier2_correction": "2026-08-05 REGRESSION REPAIRED: the W13 tier-2 byte unglue used a lookbehind that treated the first \"#\" of a legitimate \"###\" heading as the preceding non-newline character, splitting \"### Heading\" into \"#\" + blank + \"## Heading\". My safety check verified content-identity under WHITESPACE normalisation, which the split satisfies — the wrong invariant. Headings rejoined; only \"#\" and whitespace differ from the damaged state, verified before write."
 },
 "canonical_text_status": "canonical_full_text",
 "modifications": [
  {
   "date": "2026-08-01",
   "field": "content_type",
   "reason": "Wave 1 repair: audit ledger v1.1 recommended_content_type (workplan v1.5 §6 W1, MANUS batch approval 2026-08-01)",
   "was": "Archive work",
   "now": "Software architecture / maintenance specification"
  },
  {
   "date": "2026-08-01",
   "field": "journal",
   "reason": "Wave 6 venue normalization: full canonical journal name per MANUS ruling 2026-08-01 (venues.json authority)",
   "was": "Grammata",
   "now": "Grammata: Journal of Operative Philology"
  },
  {
   "date": "2026-08-04",
   "field": "publisher",
   "reason": "PUB-POPULATE: dc:publisher from venues.json v1.1 press mapping (CP-R3 RULED-EXTENDED 2026-08-01); Alexanarch = publisher of record where no imprint applies",
   "now": "Pergamon Press"
  },
  {
   "date": "2026-08-04",
   "field": "status",
   "reason": "W12 STATUS-VOCABULARY v1.0 (MANUS ratified 2026-08-04): controlled vocabulary {ACTIVE, SUPERSEDED, WITHDRAWN, DRAFT}; MINTED_UNREVIEWED false on a 100%-audited corpus; freetext annotations preserved losslessly in body_status.status_note",
   "was": "MINTED_UNREVIEWED",
   "now": "ACTIVE"
  },
  {
   "date": "2026-08-05",
   "field": "body_status",
   "reason": "W13 TIER 2 byte unglue (whitespace-only, content-identical, code-fence-safe)",
   "was": "{\"class\": \"full\", \"lacuna\": false, \"recovery_status\": \"COMPLETE\", \"residual_chars\": 12802, \"audited_at\": \"2026-07-17T04:49:17.789813Z\", \"audit_version\": \"v3-dual-store+recovery-map\", \"measured_prose_w",
   "now": "{\"class\": \"full\", \"lacuna\": false, \"recovery_status\": \"COMPLETE\", \"residual_chars\": 12802, \"audited_at\": \"2026-07-17T04:49:17.789813Z\", \"audit_version\": \"v3-dual-store+recovery-map\", \"measured_prose_w"
  },
  {
   "date": "2026-08-05",
   "field": "body_status",
   "reason": "W13 TIER-2 REGRESSION REPAIRED: split headings rejoined",
   "was": "{\"class\": \"full\", \"lacuna\": false, \"recovery_status\": \"COMPLETE\", \"residual_chars\": 12802, \"audited_at\": \"2026-07-17T04:49:17.789813Z\", \"audit_version\": \"v3-dual-store+recovery-map\", \"measured_prose_w",
   "now": "{\"class\": \"full\", \"lacuna\": false, \"recovery_status\": \"COMPLETE\", \"residual_chars\": 12802, \"audited_at\": \"2026-07-17T04:49:17.789813Z\", \"audit_version\": \"v3-dual-store+recovery-map\", \"measured_prose_w"
  },
  {
   "date": "2026-08-05",
   "field": "description",
   "reason": "DW-??? intake (LABOR-prepared, TACHYON-verified: AXN match + factual probes vs record body)",
   "was": "Read this before modifying ANY text rendering in the SBoW codebase.",
   "now": "This technical “Book of Life” documents the rendering pipeline for *The Secret Book of Walt* and related interactive editions. It explains three ordered layers through which body text passes: footnote parsing, Markdown emphasis, and glossary-link injection. Its central invariant is compositional: every rendering layer must hand text to the next layer, because an early return can silently preserve upstream behavior while disabling everything downstream.\n\nThe manual maps data files, source Markdown, build scripts, React components, pure JavaScript utilities, the global footnote map, superscript disambiguation, reading modes, and regression checks. It is a broader companion to the dedicated *Footnote Architecture* document in #706. It should not be confused with #685, whose *Book of Life* is a registry of retrieval nodes in the published book. Here “Book of Life” names source-of-truth software documentation for the edition’s text-rendering stack."
  }
 ],
 "date_modified": "2026-08-05",
 "publisher": "Pergamon Press",
 "journal_assignment": {
  "assigned": "2026-08-15",
  "by": "TACHYON under operator adjudication",
  "pass": 5,
  "method": "read per deposit — title and content_type, one at a time. No script classified anything.",
  "previous": "Grammata: Journal of Operative Philology",
  "supersedes": "the 2026-06-21 preliminary batch mapping (#866), which assigned 864 deposits and put 371 in one venue",
  "authority": "data/cha-journals.json · datasets/venues/records/"
 },
 "keywords_enriched": {
  "on": "2026-09-07",
  "method": "conservative shared-vocabulary match: terms used on 3+ deposits, multi-word or >=11 chars, generic terms excluded, whole-term word-boundary match in title/description/wiki_article; existing keywords untouched",
  "added": [
   "disambiguation",
   "architecture",
   "Secret Book of Walt"
  ]
 },
 "line": "metadata-packets",
 "line_parent": "infrastructure",
 "line_basis": "derived",
 "_projection": {
  "note": "Derived file. Canonical machine record is this entry in data/registry.json; the human record is the record_url. Do not edit this file.",
  "record_url": "https://www.alexanarch.org/s/records/712/",
  "self_url": "https://www.alexanarch.org/data/records/712.json",
  "registry_url": "https://www.alexanarch.org/data/registry.json",
  "text_url": "https://www.alexanarch.org/data/texts/AXN-0259-text.md",
  "oai_pmh": "https://www.alexanarch.org/oai?verb=Identify"
 }
}
