session 2026-08-24: the heap got a dynamo — thread-query.py + daybook-cue.py, 11 user-memories harvested to the vault

- thread-query.py: the turning. Queries both corpora with the pulling thread, excluding
  the recency slice (/wake-up reaches 0.71% of an 859,803-word corpus) and favouring age.
  Wired into /wake-up §2.b.3, replacing a described-not-invoked grep step. Trial
  pre-registered, graded 2026-10-05 from --log. Caught PASS-BUT-FALSELY on its first live
  run at 14/14 green; rescored on windowed co-occurrence, length-bias control added.
- daybook-cue.py: PostToolUse cue for the daily note. Diagnosed from the record — the
  hook only ever CREATED and nothing ever prompted filling. 16/16, fail-open, never blocks.
- All 11 user-* memories harvested into the vault (12 notes, 10 into 09. Atlas of Roots,
  empty since 2025-09-29); each memory file back-pointed, vault note canonical for the idea.
- N-now corrected in MEMORY.md: 49/84, down 11 — the counter is a rolling window.

Steward-authorized. Trials: thread-query + Smart Connections, both graded 2026-10-05.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JQKeKY9T9d95KpvHwwok8T
This commit is contained in:
David F Glidden
2026-08-24 11:25:39 +02:00
co-authored by Claude Opus 5
parent e3da9abad1
commit edf71fb173
20 changed files with 1094 additions and 20 deletions
+8 -8
View File
@@ -34,7 +34,7 @@ permalink: claude-memory/memory
**Loud trigger — pointer suffices**
- [Chamber work: ground in constitution + charter + runbook FIRST](feedback-chamber-work-ground-in-constitution-charter-runbook.md) — **any chamber work *or talk about it*** begins there (incl. `reanchor:`). Repo CLAUDE.mds are pointers, not state; corpus claims come from a self-tested tool, never a hand grep.
- [Governance files are dotfiles symlinks](reference-governance-files-are-dotfiles-symlinks.md) — Edit/Write refuse to write through a symlink, so **edit the real `~/dotfiles/…` path** when appending — **`PENDING`/`REVIEWED` only.** ⚠ That refusal is a tool artifact, **not** a permission check, and this note is the documented route past the only friction guarding the constitution (PENDING-107). **`~/CLAUDE.md`/`~/REVIEWED.md`/L2 = `[ESCALATE]`, steward's hand — a jurist sign-off does not authorize one.**
- [Verification ladder](reference-verification-ladder.md) — the named instruments; reach for the gate the claim's shape demands instead of re-deriving one. ⚠ **FROZEN — REVIEWED-123 (2026-08-17): no additions, rewordings, removals or reorderings, from ANY source, whatever its authorization**, until the trial is graded (N-now **60/84**). Entries earned meanwhile queue in **PENDING-141's owed-entries list** (4 rows). Reading it is unaffected — that is the point of the freeze.
- [Verification ladder](reference-verification-ladder.md) — the named instruments; reach for the gate the claim's shape demands instead of re-deriving one. ⚠ **FROZEN — REVIEWED-123 (2026-08-17): no additions, rewordings, removals or reorderings, from ANY source, whatever its authorization**, until the trial is graded (N-now **49/84 as of 2026-08-24** — *down 11 from the 60 recorded 2026-08-23; the counter is a 30-day ROLLING WINDOW per PENDING-147, so it falls as transcripts age out. Re-measure, never relay: `len(glob('~/.claude/projects/-Users-davidglidden/*.jsonl'))`, the trial's own method at `governance-drift-check.py:331`*). Entries earned meanwhile queue in **PENDING-141's owed-entries list** (4 rows). Reading it is unaffected — that is the point of the freeze.
- [Skill-harvest register](skill-harvest-register.md) — canonical home for proposed skills (governed analog of PENDING.md for tooling); `/wrap-up` §1.6 proposes, steward authorizes. **Rebuilt 2026-08-07** from the archive: **154 live proposals**, grouped by kind, each with an exact `archive:L###` pointer. ⚠ The 2026-08-01 compaction was *lossless but illegible* (55 scraped header rows, 95% of cells cut mid-word) — the count it advertised, 177, was never the number. ⚠ **THE STROKE-2 BATCH IS AUTHORIZED BUT SHOULD NOT BE EXECUTED YET — PENDING-141.** 41 rows stamped `S2` are authorized (2026-07-19, execution not a ruling) and 22 are `S2?` (unsettled). **BUT appending them triples the ladder from 20 entries WHILE a pre-registered trial is measuring whether the ladder is reached** (baseline 14%, graded at 84 transcripts). Ladder size is an uncontrolled variable in that design, so executing the authorized batch would confound the only check behind REVIEWED-95's causal claim. **⚖ RULED — REVIEWED-123 (2026-08-17): AUTHORIZED (a) HOLD, on six conditions, and the freeze is GENERAL rather than S2-specific.** Grading does NOT authorize the append — the batch returns for a *ruling*. Report **N-now at every wake** until lifted; 30-day review is a live `DEFERRED-DECISION`. ⚠ Filing new proposals now requires a **declared firing moment** (`/wrap-up` §1.6); one that cannot name it is documentation and must say so.
- [Copy-paste-clean governance drafts](feedback-governance-drafting-copy-paste-clean.md) — draft PENDING/REVIEWED blocks as plain fenced markdown; display formatting leaks into the placed record.
- [Verify-before-compose hook](feedback-verify-before-compose-hook.md) — chamber constitutional writes are BLOCKED without `<!-- GROUNDED-IN: … -->` + verbatim Grounding. Don't fight the block.
@@ -72,14 +72,14 @@ permalink: claude-memory/memory
- Chamber-typography — *tracker not yet established*; moves live in per-session memories (2026-05-11 →) + `project-chamber-cruft-restoration.md` + `project-chamber-typography-mining-plan-2026-05-15.md`.
## Active Session
> 🔑 **PULLING THREAD — THE VAULT HAS INSTRUMENTS AND CONVENTIONS BUT NO *VENUES*.** Re-encounter is named and unbuilt. Everything built 2026-08-23 — hook, resolver, spec, convention — is apparatus; **none of it yet makes a forgotten note come back.** ⚠ **HARD DATE OVERRIDES ON THE DAY: the beacon, 2026-08-25T12:00:00Z** (epoch-ms `1787659200000`) — run ONCE, curl, record `outputValue` BEFORE running, pass exactly as served, **stop and report on ANY failure**. §2a now records the ruling correctly (`d6377af`).
> 🎯 **RE-ENCOUNTER IS THE VAULT'S NAMED DEFICIT — not organisation.** Marshall: retrieval that is *"neither searching nor browsing"*. **54% of live notes have no link in or out.** The hub notes (`Presence Before Performance` 34 · `Care Through the Grain` 28 · `Look Again, Harder` 9) and the alias repair are **venues**, not housekeeping. A notebook affords re-encounter by construction; the vault affords none.
> ⚠ **A QUICK GREP IS NOT A PARSER — FIRED THREE TIMES TODAY ON THE SAME FIELD.** `grep '^canonical:'` reads body text: 501 where frontmatter holds 75. **Named as a drift pattern at midday and committed again at the wrap status.** Knowing the pattern did not prevent its third instance.
> ⚠ **A SUBSTRING IS NOT A PATH.** `99. Archive` is a prefix of `99. Archives—Previous Iterations` — **78 live notes silently excluded from every figure of the day.** Live is **1,298**, not 1,220. Fixed in `vault-links.py` with three controls.
> ✅ **THE PAPER BRIDGE WORKS.** First transcription filed under its own entry date. **Nana and Baba are Moy and ABG — the Prime Directive's own lineage.** Provenance cites the NOTEBOOK; dates are a red rubber stamp; weekly batches.
> ⏸ **TOMORROW, steward-set:** re-read the **Mod essay properly** (he remembers more in it than we used) · **rebuild the vault status from trackers, not from tonight's summary** (he suspects it was incomplete) · sweep for tooling/uses missed.
> 🔑 **PULLING THREAD — THE TURNING EXISTS NOW BUT HAS NEVER RUN IN ANGER.** `thread-query.py` is built, selftested and wired into `/wake-up`; beneath it sits the real question: **Darwin's containers were keyed to THE CHAPTER HE WAS WRITING; ours is keyed to the SESSION'S THREAD.** If those are not the same move, the work-shaped container is still missing rather than approximated.
> ⚠ **STEWARD'S HANDS, TIME-SENSITIVE: set Smart Connections to `Xenova/multilingual-e5-small` BEFORE it embeds anything** (restart Obsidian first). The default `bge-micro-v2` is **English-only** and this vault is deliberately multilingual. Measured cost from MemPalace's own docs: cross-lingual similarity **~0.35 vs ~0.88**. Switching after the fact re-embeds everything.
> ⚠ **PASS-BUT-FALSELY FIRED AGAIN, ON A TOOL I HAD JUST SELFTESTED — second day, second tool.** 14/14 green while the live run put two million-word books top of every query. **The fixture held only small uniform files, so the selftest certified its author's blind spot.** Knowing the lesson from the day before did not prevent it; **only the live run caught it.**
> ✅ **THE VAULT NOW HOLDS THE STEWARD'S OWN VOICE.** All 11 `user-` memory files harvested → **12 notes**, 10 into `09. Atlas of Roots` — a structure specified 2025-09-29 and **empty for eleven months**. Verbatim first, readings marked as readings, private register carried in `assurance.risk_flags` AND a visible block. **`moy-glidden` and `abg` deliberately unwritten — the steward's to write.**
> ✅ **TWO MECHANISMS BUILT, both steward-authorized:** `thread-query.py` (the turning, in `/wake-up` §2.b.3, trial graded 2026-10-05 from `--log`) · `daybook-cue.py` (PostToolUse; the daily note's missing cue — **the hook only ever CREATED; nothing ever prompted filling**).
> 📊 **THE MEASURED PICTURE:** two corpora — vault (1,298 notes, the steward's voice, ~15/mo) and `claude/memory/` (**506 files, 859,803 words**, fed every session, **largely mine**). **The wake reads 0.71%.** Harvest register: **170 PROPOSED / 4 BUILT** — the largest unturned heap we own.
- [Session 2026-08-23 evening — instruments, a convention, and a name for what the vault lacks](session-2026-08-23-evening-the-vault-got-instruments-and-a-deficit.md) — fool §2a corrected two days before the beacon (`d6377af`); **paper bridge tested and working**; `vault-links.py` built (`9bc84a6`) and **caught itself failing PASS-BUT-FALSELY twice**; Paradigm + Marshall read in full, **Marshall refuting the archive mechanism I had proposed an hour earlier**; Archive Convention + Re-encounter placed; **vault `CLAUDE.md` rewritten after 15 months stale**.
- [Session 2026-08-24 morning — the heap got a dynamo](session-2026-08-24-the-heap-got-a-dynamo.md) — Mod re-read in full (**three contradictions**, incl. the passage we mined arguing against what we built); **compost heap / putrefaction / dynamo-as-the-turning**, two of three already the steward's own figures; the honest audit; the **Atlas of Roots** discovery + harvest; both mechanisms built; Smart Connections installed with the **multilingual finding**.
## Historical reference → MEMORY-reference.md
Older archived-session pointers and the stable reference layer (steward profile · project-state detail · L1/L2/Chamber inventories · legacy pending-work · reference-file list) live in [MEMORY-reference.md](MEMORY-reference.md) — consult on demand; not loaded at wake. Recent cross-session trajectory comes from the Active Session entry above + the recent `session-*.md` files (wake §2.b.1).