session 2026-07-11: footnote recognizer arc — hash-locality ratified (12405a5), split-anchor REVIEWED-54a (a6828ac), census re-audit, generalization REVIEWED-54b pt1 block-id+url-decode (ef0cee0); session file + ledger + KG(+4) + skill-harvest

This commit is contained in:
David F Glidden
2026-07-11 01:22:36 +02:00
parent 9e148b7a8f
commit 5ec438ce72
6 changed files with 113 additions and 1 deletions
+3
View File
@@ -20,6 +20,9 @@ Split out of [MEMORY.md](MEMORY.md) on 2026-07-06 to keep the wake-loaded index
# Archived sessions + stable reference layer (relocated verbatim from MEMORY.md, 2026-07-06)
## Archived (2026-07-11 — footnote recognizer: split-anchor → census re-audit → generalization, through three jurist loops; demoted on promote)
- [Session 2026-07-10 — EPUB footnote pre-processor: census → adversarial hardening → jurist ruling → fleet build-in](session-2026-07-10-epub-footnote-preprocessor-census-to-fleet-buildin.md) — Built a **verbatim-safe EPUB footnote pre-processor** end-to-end, by measurement not fiat: detector on 3 EPUBs → **census of all 253** (≥5 footnote strategies; n=3 caught 1–2) → the KEY diagnosis **pandoc's 2×2** (converts natively iff `epub:type` AND same-file; Kafka✓/Orwell✗/G&G✗) → the architecture: **recognize mirror in raw XHTML → inject `epub:type` / relocate cross-file bodies → STOCK pandoc does the verbatim text** (better than build-a-normalizer or extend-regexes). `inject_epub_footnotes.py` proven verbatim-clean on **G&G 27 · Mauss 628 · Polastron-fr 140 · Jung 1086** (source-level + **per-pair guard keyed by (dest-file,id)**, teeth-demonstrated; it surfaced Jung's cross-volume id reuse). Two adversarial books the steward chose each **broke it usefully** (Polastron → positional classifier; Jung → `convert_mega_epub.py` inject→split→pandoc, 190s vs pandoc-whole-timeout). **Calibre shown footnote-blind.** **PENDING-53 RULED+LANDED** (engine hash-locality, FIX) + **PENDING-54 RULED IN PRINCIPLE** (ship mirror-class, regex-tools-as-fallback; §7 Jung provenance held open) → **BUILD-IN done under fleet discipline** (both tools in `scripts/`, `--validate`+refuse-on-mismatch, fleet 73→**77**, converted_with note, runbook policy, tool-log, CLAUDE.md fleet line). **Committed+pushed:** chamber `17ddf8c`+`3646c0d` (github+skemantix), engine `aaf65ba` (github). **PULLING THREAD (07-10, DISCHARGED 2026-07-11):** widen the recognizer to the remaining census families / apply to legacy Jung/Donne / resume P2/gold — the widen became REVIEWED-54a (split-anchor) + REVIEWED-54b (the generalization).
## Archived (2026-07-10 — EPUB footnote pre-processor: census → adversarial hardening → jurist ruling → fleet build-in; demoted on promote)
- [Session 2026-07-09 evening — P1 clean + the cross-repo re-anchor miss + the EPUB-normalizer pivot](session-2026-07-09-evening-p1-clean-reanchor-then-epub-normalizer-pivot.md) — Post-wake evening session. **P1: cleaned L'Enracinement** (6,671 `\'` + 26 `\.` escape artifacts + Weil's footnote 1 → `[^1]`; bounded-change proof — char-level **0 non-backslash divergences**, verify **5/5**, pandoc pairs; new sha `58ead0ab…`, re-anchored chamber `catalogue.yaml`). **CAUGHT + fixed my own incompleteness:** the re-anchor was scoped to chamber-library ONLY — the ENGINE bound the sha in **4 more places** (`manifest`/`sidecar`/`coverage-ledger`×2); fixed **by mechanism** (regenerate ledger via `ingest_gate`; `weil-enracinement` re-**VALIDATED**); surfaced **5 pre-existing ARC `after-the-reply` engine drifts** (out of scope). **Documented the class-fix**: `conversion-runbook.yaml` **`reanchor:` block** + **PENDING-53**. **Then P2 diagnosis exposed footnote-family whack-a-mole**; steward steered up a level → verified a structural EPUB-normalizer viable (the bidirectional href↔id mirror). PULLING THREAD (07-09) = build the structural verbatim-guarded EPUB normalizer, then resume P2/gold — DISCHARGED 2026-07-10 (the normalizer became the footnote pre-processor, built+ruled+shipped).