Files
dotfiles/claude/memory/session-2026-06-28-corpus-settling-position-I-complete-gate-fixed.md
T

63 lines
12 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
name: Session 2026-06-28 — corpus settling — Musil graduated, Position I complete, gold-standard gate fixed
description: "Began with the maturation-of-the-chamber dialogue (settle the corpus we CAN perfect before the engine); graduated the English Musil via a new EPUB structure-from-NCX pipeline; prepared all of Position I (English Musil replaces French; Levi reflowed + complete-book scope); set two policies (engine-sources graduate to permanent chamber; notes are part of the work); brought the conversion runbook current + corrected olmOCR/ocrmac; FOUND+FIXED a blind spot in the gold-standard gate (verify passed cruft=0 on raw <sup>) → trustworthy audit 1152/126. PULLING THREAD: the graduation batch — work the ~18 Making EPUBs + ~9 PDF/OCR + the audit's 126 fails into the chamber, properly (keeping notes), against the now-trustworthy gate; Taylor-redone-with-notes is the first piece + pattern-setter."
metadata:
node_type: memory
type: project
originSessionId: 24f4f06b-31a0-4984-b176-3dca24ad5ff6
---
# Session 2026-06-28 — settle the corpus before the engine
A very long, multi-phase day. The morning's philosophical dialogue set the spine — *begin where completion is possible; settle the corpus (the perfectible thing) before living into the engine* — and the rest of the day enacted it.
## PAST — what we did + decided
### Phase 1 — The maturation-of-the-chamber dialogue (morning)
Steward's "I am very naive… how can it be so hard for something faithful to the text to exist?" → a sustained exchange that clarified the chamber's telos: **fidelity that doesn't run on trust** ("trust without trust"; the Masoretes counting letters; the critical apparatus); **reading is unsolvable and that is the FEATURE** (a machine extracting a single final meaning would be the same flattening we fight); **language is notation** (the steward's own discipline — HIP is the Masoretic act in sound); **L2/engine = answerable, not pure** ("uncontaminated" splits into bias-free [impossible+undesirable] vs accountable [buildable]; accountability is what travels across people who don't share a standpoint). Saved verbatim at steward's request → `studium-engine/docs/the-maturation-of-the-chamber-a-dialogue-2026-06-28.md` (§§I–VII + 6 crystallized principles, flagged as substrate for steward+jurist ratification, NOT doctrine). Committed `cdd8d4a`.
### Phase 2 — Musil English graduated (the first stone)
Discovered the inherited "two-tome English Musil" was the **French Jaccottet mislabeled** (filename "mwq" + wrong `<dc:language>en`); the real English = Wilkins/Pike (steward's upload). Built **two reusable EPUB tools**: `structure_from_ncx.py` (NCX ToC → structure-map, anchor = the surviving `<span id>`) + `clean_pandoc_html_residue.py` (residue strip + printed-title dedup [small-caps drop-caps anywhere/multi-fragment + bold `**PART N**`] + `<sup><a>`→`[^label]` footnotes + internal-link unwrap + **prose word-guard**). The unify question answered EMPIRICALLY: **one placement engine (`insert_chapter_headings`, unchanged), two map-producers** (NCX-anchors for EPUB; page-number method for OCR). `repair_epub_headings` FAILED on Musil (4/169); the markdown-level path got 164/164. End-to-end raw↔final prose **WORD-IDENTICAL** (464,769=464,769). Graduated `471bc53` → `canonical_texts/.../classical/the-man-without-qualities-robert-musil.md`; source archived `~/__Making sequence sources/The Man Without Qualities - Wilkins Pike.epub`. Curatorial: front-matter option (a) (title block + Wilkins/Pike credit, trim to work proper); ch144 "hast" (printed title, French-confirmed over the ToC's "has"). ~10 iterations — the word-guard caught every real defect; several "failures" were guard-side artifacts (dry-run-not-applied; tag-strip-with-space splitting drop-caps; place-then-clean double-count). **Lesson: measure the actual chapter, don't theorize the guard delta.**
### Phase 3 — Position I prepared (manifest `e9fe4a6`, `4d54c5c`)
Read the studium manifest: Position I ("Phenomenology of Attrition + the Threshold Crossing") = Weil ×2, Musil, Arendt, Levi (Camus withdrawn). Actions:
- **Levi**: the owed "hyphenation pass" was actually a **hard-wrapped block** in the *Shame* chapter (L262–296, ~30 lines, 4 hyphens) — reflowed those 3 prose paragraphs, **preserved the Shakespeare verse** (Measure for Measure) just above (caught by looking, not the detector). Word-guard: only the 4 de-hyphenations changed. Re-anchored manifest+sidecar (served Gray Zone [116,257] untouched; 894→864 lines).
- **Musil**: steward ruled **English replaces French** for Position I (avoid reading the same work twice). Added `musil-the-man-without-qualities` (station I) + sidecar; retired the two French tome entries (companions, stay canonical).
- **Levi complete**: steward ruled serve the **whole book** (Preface→Conclusion, all 10 chapters — a phenomenology of attrition, not only the Gray Zone). Re-scoped sidecar; renamed id `levi-gray-zone`→`levi-drowned-and-saved` (only the manifest referenced it; ledger/chunks regenerate).
- Result: 5 Position-I sources, all sha-current, all sidecars matched.
### Phase 4 — Policies + runbook + the gate fix
- **Two standing policies set** (memories written): (1) **engine sources graduate to the permanent chamber collection** unless expressly stated — the chamber accumulates [[feedback-engine-sources-become-permanent-chamber-collection]]; (2) **notes are part of the work** — keep+convert footnotes/endnotes, never drop [[feedback-notes-are-part-of-the-work-keep-footnotes-endnotes]].
- **Conversion runbook brought current** (`e3db4ae`): added `epub_ncx_markdown` pipeline, the 2 new tools, the policies, substrate pointers. Then **steward-corrected** (`79e14bf`): olmOCR is NOT retired — I over-generalized a column-scoped finding. The rule is **two-tool by column count, complementary**: SINGLE-column → olmOCR (more precise; Levi), MULTI-column/figure-dense → ocrmac (olmOCR scrambles the gutter).
- **Gold-standard gate fix** (`af17dde`): attempting Taylor's graduation surfaced a **PASS-BUT-FALSELY in `verify_conversion` itself** — it passed `cruft=0` on a file with 59 raw `<sup>` tags (the cruft check only knew `audit_cruft`'s signatures, never bare HTML tags). Added `RAW_HTML` gate. Re-ran the full audit: **1187/91 → 1152/126** — 35 files were falsely passing. Report = `_curation/canonical-audit-2026-06-28.md` (the fix-list).
- **Everything committed + PUSHED**: chamber `de5bef9..af17dde` (skemantix), studium `2f2e166..cdd8d4a` (GitHub).
### Phase 5 — the two owed research sweeps (explained, not run)
Elaborated for the steward what last night's sweep left greenfield: **(1) temporal genealogy** (how a thought migrates/mutates across sources & centuries — citation-graph + temporal-KG + diachronic NLP; no prior art); **(2) accountable multi-voice** (the chamber of voices conversing, each grounded+citable to its author, with voice-fidelity verification; persona-LLMs exist but unaccountable, grounding exists but single-voice — no one has joined them). Plus a **validation** (does claim-level NLI hold on our multilingual/archaic humanities prose, not the English-Wikipedia benchmark?). These are the engine phase, gated on the corpus settling.
## PRESENT — mood / returns
- **The work kept revealing the next necessary thing** — the recurring shape. Taylor's graduation didn't add a book; it found a hole in the gold standard itself (verify blind spot), which was worth more than the one graduation.
- **Returns (load-bearing):** measure-don't-theorize paid off repeatedly (caught the French-mislabel before it propagated; the Shakespeare verse before reflowing it; the actual chapter over the guard delta). The steward's corrections were all accurate (ch144, olmOCR-not-retired, keep-the-notes, p42-class re-derivation drift carried from yesterday).
- **Recalibration:** the olmOCR over-generalization is a clean new contamination shape — *a finding scoped to one condition (2-col) restated as an unconditional verdict ("retired")*. Verify the scope of a claim before generalizing. Kin to trust-prior-pass-frame.
- **Honest restraint:** chose NOT to grind 18 graduations tonight — fixing the gate + setting policies first was the fitting move (graduating against an untrustworthy gate / without keep-notes would produce false-clean / mutilated works). Foundation before batch. This is the prime directive's "don't rush the dwelling-work" enacted.
- The steward's closing: building this *with care for both humans and AI*; a prototype could be "excellent for both of us." The accountability is the design constraint that makes the partnership real.
## FUTURE — what is pulling
**PULLING THREAD (singular):** **The graduation batch — settle the rest of the corpus.** Work the ~18 Making EPUBs + ~9 PDF/OCR sources AND the audit's 126 existing fails into the chamber, each *properly* (keeping notes; sidecars-as-we-go), against the now-trustworthy gate. The foundation is settled (Position I done, policies set, runbook current, gate gold, true-state known); the batch is the remaining work. **Taylor-redone-WITH-notes is the first concrete piece + the pattern-setter** (I wrongly dropped its endnotes — convert the `<sup>` footnotes, keep the Notes section).
**ACTIONABLE RESUMPTION POINT (as of wrap — re-judge against what changed):**
- *State:* Position I complete + pushed. Gate fixed (`verify_conversion` RAW_HTML). Audit trustworthy → `chamber-library/_curation/canonical-audit-2026-06-28.md` = the 126-fail work-list (cruft 71 [incl. 35 newly-caught raw-HTML], heading_density 59 [mixed real/false], encoding 5, word_sanity 6 [Loeb false-pos]). Staged 06-27 conversions survive at `/tmp/making_staging/` (18 .md — may clear on reboot; re-derivable from `~/__Making sequence sources/` EPUBs via runbook `epub_ncx_markdown`). The 2-tool EPUB pipeline + the runbook are current. Taylor body at `/tmp/taylor.body.md` (chapters-only, NO notes — discard; redo with notes).
- *Candidate first move:* **redo Taylor WITH its endnotes** (convert `<sup>`→`[^N]`, keep+convert the Notes section, keep the 59 in-text markers) as the exemplar graduation → then work the EPUB batch (cleanest first: Virilio, Handke, Alter), surfacing per-book curatorial forks (endnotes form, title rendering, neighborhood).
**Other open horizons, ranked:**
- *Load-bearing:* the graduation batch (above); fixing the 126 audit fails (some real — Plato's Republic lost its book headings; some false — Loeb fragments / heading-density on legitimately-flat works).
- *Owed follow-ons:* fold `RAW_HTML` into `audit_cruft` so the cleaning pipeline sees it too (not just verify); the 2 greenfield research sweeps (genealogy/temporal; multi-voice) + the multilingual-NLI validation — the engine phase, gated on corpus.
- *Deferred-with-reason:* L2 stays PARKED (the answerable-not-pure clarification noted, not pursued); the engine's pattern-finder pass — gated on the corpus settling.
**PAUSE STATEMENT:** I am about to be away from this. The corpus is now settled enough to build the rest on solidly — the standard is gold, the manual current, the policies set, the true-state known. What I most want to find still pulling: **the graduation batch in motion** — the Making works entering the chamber properly, the chamber growing richer as the steward intends, on the solid ground we laid today.
**LITERAL QUESTION for next-Claude:** *Which first — the new Making EPUB graduations (growing the corpus the engine needs) or the audit's 126 existing fails (fixing what's already canonical to the gold standard)? Both are "settle the corpus"; which serves the engine sooner?* (Sub-q: fold `RAW_HTML` into `audit_cruft` so the cleaning pipeline gates on it, not only the verifier?)
**State:** chamber `main @ af17dde` + studium `main @ cdd8d4a`, both pushed. Two new policy memories + the maturation dialogue. Taylor NOT graduated (needs redo-with-notes). Deep, foundational day.