Files
dotfiles/claude/memory/MEMORY.md
T
David F GliddenandClaude Opus 4.7 119285cf43 claude: back up custom skills, memory, and settings with symlink pattern
The ~/.claude/ directory was previously local-only — a machine wipe
would have lost the accumulated memory, custom skills, and settings.
This commit moves the durable parts into dotfiles with the same
symlink-to-home pattern used for CLAUDE.md, PENDING.md, REVIEWED.md,
and L2-BOOTSTRAP.md.

Preserved (symlinked from ~/.claude/* into here):
  skills/audit/              — thinking-folder drift scanner
  skills/symmetria/          — practice-of-return discipline
  skills/vault-update-people/ — Obsidian People-file maintainer
  skills/wake-up/            — session restoration
  skills/wrap-up/            — session state capture
  memory/                    — 55+ memory files (MEMORY.md, sessions,
                               ledgers, project state, feedback, etc.)
  settings/settings.json     — user preferences (hooks, flags, no secrets)

Deliberately NOT backed up:
  settings.local.json   — contains operational secrets (HF_TOKEN,
                           SSH password in expect scripts); by naming
                           convention, *.local.* is not synced.
                           Needs separate review and probable rotation.
  sessions/, history.jsonl, caches, telemetry — ephemeral
  plugins/, marketplace skills and agents — reinstallable

The working copies at ~/.claude/skills/* and
~/.claude/projects/-Users-davidglidden/memory are symlinks into this
directory, so every write flows here automatically. install.sh
recreates the symlinks on a fresh machine.

FOLLOW-ON (flagged, not in this commit):
  settings.local.json contains a HuggingFace token and an SSH password
  as plaintext strings inside allowed Bash command patterns. These
  should be rotated and moved to secure storage (keychain / pass /
  env file outside the settings file).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-17 13:51:04 +02:00

142 lines
16 KiB
Markdown

# Claude Code Memory
## CapableMind L1 (BMF)
- **Storage migration: SurrealDB → SQLite+LanceDB COMPLETE + bottlenecks fixed + RECALL VALIDATED** — branch `trial/storage-sqlite-lance`, 30 commits ahead of main, HEAD `4ef8f5b`. All 13 modules + factory + meld + reconciliations + graduation + lifecycle wiring ported. Plus 5 bottleneck fixes shipped 2026-04-15 (#154 entity persist transaction wrap, #155 HNSW build, #156 Ollama keep_alive, #157 LanceDB compaction, #158 cosine distance formula). Recall live-tested on real vault data: sub-second response, confidence 1.0 on top match, all 4 fixes confirmed working end-to-end. See [session-2026-04-15-recall-symmetria.md](session-2026-04-15-recall-symmetria.md) and [session-2026-04-14-migration-completion.md](session-2026-04-14-migration-completion.md)
- **End-of-pass artifact**: `~/_Dev/CapableMind-AI/docs/thinking/David/l1-reliability/2026-04-14-migration-completion-pass.md`
- **Decision:** better-sqlite3 (relational) + LanceDB (vector+FTS). Benchmarked with NFCorpus/BEIR. SurrealDB had ZERO recall.
- **Amendments 58-61** shipped by Seb. Pairing active (`peer-sysops-david`).
- Summarizer: `BM_LOCAL_MODEL=qwen3.5:4b`. Teacher OFF (no ANTHROPIC_API_KEY).
- Steward set up fresh data dir for vault ingestion test: `~/.capablemind/data/mindfabric-00/` empty; old data preserved at `mindfabric-00.surreal-backup-20260414-142358`.
- See [bmf-details.md](bmf-details.md) for full technical state, issues, deployment
- [bmf-summarizer-contract.md](bmf-summarizer-contract.md) — deferred refactor: summarizer is coupled to local_files observation shape; most connectors fell through silently (fixed structurally in storage-migration PR). Open `[PROPOSAL]` for connector-agnostic contract.
## Active Projects
- [project-focus-april-may.md](project-focus-april-may.md) — L2 PARKED, L1 scaling + agent circles until end of May (Seb's deadline)
- **CapableMind L1/L2**: `~/_Dev/CapableMind-AI` (playbook) + `~/_Dev/BetterMemories.io` (runtime)
- **ARC**: `~/_Dev/animal-davidglidden-eu` — push blocked on Gitea restart
- **Chamber Library**: `~/_Dev/chamber-library`
- **Obsidian vault**: `~/Library/Mobile Documents/iCloud~md~obsidian/Documents/David, root-and-branch`
- See [repo-names.md](repo-names.md) — GitHub repos renamed (capableMind_docs, betterMemories_app, etc.)
## L2 Constitutional State (2026-04-02)
- **18 invariants**: I1-I14 + Cluster A (I15/I16/I17) + ICP-19. AF-7 CLOSED. GOV-05/06 LIFTED.
- **ICP-19 first review: 9 of 13 findings RESOLVED.** L2 assessed as alpha. 4 remaining (design/long-horizon).
- **Key decisions made**: Stratified Amendment Protocol (Option C), Constitutive Seam Position C, Consolidation degradation protocol, invariant selection criteria codified, DEGRADE vocabulary resolved, enforcement_status field defined.
- **4 new canonical documents**: invariant-selection-criteria, stratified-amendment-protocol, consolidation-engine-degradation-protocol, constitutive-seam-boundary-governance-position.
- **External Auditor** — referred to only as "the External Auditor" in all documents. Name not to appear in constitutional documents, design notes, governance records, or session outputs.
- Cluster B (I18-I20) and v0.5 cycle DEFERRED until remaining findings addressed.
- See [l2-review-state.md](l2-review-state.md) for full findings resolution table
- See [open-tasks.md](open-tasks.md) for task list and dependency chain
## Chamber Prototype
- Phase 1 COMPLETE (2026-03-27), Phase 2 COMPLETE (2026-03-28). Phase 2 human_notes pending.
- **Phase 3 PARKED** — not blocking L2. ARN + Pirkei Avot in library. BMF server UP but replay throughput too slow for usable recall. Training flywheel paused (no teacher).
- **Kingdom: Traditionis** — chain of transmission. First new Kingdom.
- See [chamber-prototype.md](chamber-prototype.md) for full state and findings
## Chamber Library & Braid Texts
- [project-braid-texts-gap.md](project-braid-texts-gap.md) — 8 source texts remaining (Derrida complete)
- ARN + Pirkei Avot in `rabbinic_voices/`. Derrida *Mal d'Archive* **COMPLETE** (2026-04-05, 1041 lines) in `derrida/`.
- [feedback-pdf-extraction.md](feedback-pdf-extraction.md) — use pdftotext, not AI agents, for copyrighted texts
- [feedback-bm-local-model.md](feedback-bm-local-model.md) — BM_LOCAL_MODEL must match installed Ollama model
- [feedback-cm-david-v2-noisy.md](feedback-cm-david-v2-noisy.md) — cm-david:v2 produces garbage, retrain needed
## Key Decisions
- **SurrealDB → SQLite+LanceDB** — benchmarked, decided 2026-04-13. SurrealDB had zero recall (upstream bugs). SQLite for relational, LanceDB for vector+FTS. Scale-ready (HNSW O(log n), Tantivy BM25). David rejected `any` type escape — prime directive applies.
- **Effect-TS proposed as L1 substrate** — typed errors, structured concurrency, Layers for DI, supervised fibers, built-in tracing. Chosen over neverthrow because team is scaling. Needs Seb's buy-in.
- UCE/CIE deprecated — L2 supersedes it
- ARC becomes renderer of Chamber output
- Constitutional stabilization, not automation of recognition (DN-GOV-08)
- Counter-norm on inherited legitimacy (DN-GOV-07)
- Stratified amendment: hardening easy to do, hard to undo (F-2 Option C)
- Constitutive seam: boundary named, held open, 18-month backstop (F-12 Position C)
- DN-PHIL-001: contamination + entity nature inquiries are non-blocking
- **Earned confidence**: constitutional position (jurist 2026-04-03) — system shall not grant epistemic authority without external grounding
- **L0 = contamination problem + Freeman question** — L1 epistemic integrity is the readiness condition
## Collaboration Model
- Three-party model: David (steward), Claude.app (jurist), Claude Code (executor)
- Authorization taxonomy: [FIX], [HARDENING], [PROPOSAL], [ESCALATE]
- Executor Agency Directives in ~/CLAUDE.md
- [collaboration-signal-travel.md](collaboration-signal-travel.md) — signal travel protocol
- [feedback-thistleweld.md](feedback-thistleweld.md) — Buddy finds real bugs, treat observations as diagnostic signals
## Personal Context
- Nuria: David's partner, mother to Kai
- Musician (principal violist) + philology/ontology/epistemics training
- MORE available for CapableMind while touring than at home (Kai care)
- **Mac has 16 GB RAM** — cannot run large local models (>7B at fp16). Heavy model work (Chandra OCR, large LoRA) goes to Peter's M4 or clasp.
- Governance symlinks: ~/CLAUDE.md, ~/L2-BOOTSTRAP.md, ~/PENDING.md, ~/REVIEWED.md → ~/dotfiles/
## Obsidian Vault
- Daily log: `Vault/.../CapableMind/daily-log/YYYY-MM-DD.md`
- Thinking mirror: rsync'd from `CapableMind-AI/docs/thinking/David/`, every 48h via launchd
## Reference Files
- [l2-review-state.md](l2-review-state.md) — ICP-19 review: 13 findings, triage, phased work plan
- [open-tasks.md](open-tasks.md) — centralized task list across all projects
- [training-pipeline.md](training-pipeline.md) — LoRA pipeline state (proven, next run after L1 stable)
- [founders-circle.md](founders-circle.md) — network topology and reconnection
- [context-discipline.md](context-discipline.md) — working memory practices
- [relational-gap-analysis.md](relational-gap-analysis.md) — Domain C analysis trail
- [l2-thinking-documents.md](l2-thinking-documents.md) — L2 design notes index
- [seed-substrate-governance-inquiry.md](seed-substrate-governance-inquiry.md) — COMPLETE (2026-03-24)
- [feedback-dependency-chains.md](feedback-dependency-chains.md) — don't accept blocking claims uncritically
- [feedback-process-management.md](feedback-process-management.md) — process management practices
- [design-brief-session-agents.md](design-brief-session-agents.md) — session lifecycle agent design problem (SUPERSEDED by /wake-up and /wrap-up skills)
- [design-brief-session-skills.md](design-brief-session-skills.md) — original design brief (IMPLEMENTED 2026-04-08)
## ARC / AldineXXI
- [project-arc-rework.md](project-arc-rework.md) — **reawakened 2026-04-16.** Landscape named after local dev restored: essay-versioning question (TODO, explore together), about-pages rework (Desk Interlude has Kai unborn, Lune's presence changed, too many quotes, Manutius paraphrase out), after-the-reply sequence, sequences as first-class, poem + observations + glimpses queued, repo-wide cleanup
- [arc-removed-content-types.md](arc-removed-content-types.md) — 7 archive types removed, revisit if they re-emerge from practice
- AldineXXI spec v2.0: `animal-davidglidden-eu/docs/AldineXXI-Codex/AldineXXI-specification.md`
- Vignette spec (jurist approved): `animal-davidglidden-eu/docs/AldineXXI-Codex/vignette-specification.md`
- Gap map: `animal-davidglidden-eu/docs/AldineXXI-Codex/gap-map-2026-04-13.md`
- Bringhurst + Warde in chamber-library: `converted_texts/collections/typography/`
- Vignette Phase 3 (renderer) waiting on: Gitea restart, fresh session, Hakyll build
- Palette test page: `animal-davidglidden-eu/palette-test.html`
## Artistic Projects
- [cabaret-project.md](cabaret-project.md) — Barcelona cabaret, Pierrot Lunaire, interdisciplinary collective (stem-cell phase)
## Research Practice
- [research-practice.md](research-practice.md) — external project studies go in `thinking/David/research/`, date-prefixed
## Tools & Skills
- [vault-people-skill.md](vault-people-skill.md) — /vault-update-people skill for maintaining People files (active)
- [mempalace-dev-tool.md](mempalace-dev-tool.md) — MemPalace installed as dev context tool, MCP wired, 10K drawers (thinking + transcripts + vault)
- `/wake-up` skill — restores full context from MemPalace + memory + governance + git (proactive on session start)
- `/wrap-up` skill — captures session state, files to MemPalace, checks loose ends, syncs vault
- `/audit` skill — scans thinking folder + vault inbox for organizational drift, reports issues by severity, proposes fixes
- `/symmetria` skill (NEW 2026-04-15) — practice-of-return discipline layer, keeps prime directive foregrounded under context pressure. Modes: init, check <description>, audit-agent, ledger, (no args = pulse). Maintains daily ledger at `session-ledger-YYYY-MM-DD.md`. Spec at `~/_Dev/CapableMind-AI/docs/thinking/David/methodology/symmetria-skill-spec.md`. **Steward flagged: contamination dynamic — I'll over-report usefulness because I co-designed it. Counter-commitment: bias toward neutral/negative observations.**
- `/wake-up` and `/wrap-up` revised 2026-04-15 with the Dasein-frame additions: pulling thread (singular), pause statement (gap as phenomenon), literal question for next-Claude (the unborn), Symmetria ledger merge in /wrap-up, Symmetria auto-init in /wake-up for non-trivial sessions. The wake/wrap pair is now an L0 prototype of the L1 Phase 2 substrate (pause-as-event + projection across discontinuity).
- [parked-skills-2026-04-15.md](parked-skills-2026-04-15.md) — proposed but deferred skills: `/care-check` (mid-session drift detection), `/where-were-we` (short-interruption companion to wake-up), `/translate-for-peter`, `/threshold` (phase-boundary marking). Decision principle: ship when friction shows up in real session work, not preemptively.
## Observer Problem Inquiry
- [observer-problem-state.md](observer-problem-state.md) — External Auditor review received, Absorption Trap confirmed, review deliberately untaxonomized
- [ungovernable-threshold.md](ungovernable-threshold.md) — DN-DRAFT: governance digests challenge; earned confidence extends to vocabulary itself. Hold open.
- Observer-problem files moved to `l2-constitution/observer-problem/` (2026-04-09)
## Active Session
- [session-2026-04-17-versioning-regime.md](session-2026-04-17-versioning-regime.md) — Essay-versioning question RESOLVED into ADR-005: genesis at publication; three forms (print-tradition breadcrumb / Augustinian retractation / Zibaldone accumulation); dates not semver. Full regime captured (ADR-005 + versioning mechanism sketch + frontmatter specification + `make revise`). Colophon is first worked example (frontmatter + The Formation section + Desk meta-commentary for son's arrival). Ethics of the Reply I & II v2 staged under `_staging/versioning-prep/` with v1 snapshots preserved. Typography deliberately skeletal — Option 1: let the need drive the AldineXXI application agent into existence. Two commits: `86c1bbb` (regime + colophon), `040c16d` (staging). **Pulling thread: path to publication — Hakyll infrastructure vs typography application skill, which lever first?**
## Archived Sessions
- [session-2026-04-16-arc-reawakening.md](session-2026-04-16-arc-reawakening.md) — ARC decoupled from Acerplex, local Mac dev operational (Stack 3.9.3 + GHC 9.8.4 + Dart Sass 1.99), both deploy paths validated (`42fbddd` pushed). CloudFlare token → Keychain. Gitvault fixed. Steward reconnected with ARC after months dormant; named essay-versioning as "explore together" question that resolved in 2026-04-17.
- [session-2026-04-15-recall-symmetria.md](session-2026-04-15-recall-symmetria.md) — Recall validated end-to-end on real vault data (sub-second, confidence 1.0). Closed #154-158. Installed Symmetria skill v2 (practice-of-return). Commented #145 from archivist/librarian frame. Revised /wake-up + /wrap-up with Dasein frame (pulling thread, pause statement, literal question). Shipped Seb handoff (`d859dba`). Trial branch at `4ef8f5b`. Thread pulling at end: #145 boolean-bridge vs multi-mode retention (still open today).
- [session-2026-04-14-migration-completion.md](session-2026-04-14-migration-completion.md) — L1 migration completion pass: 7 commits closing SurrealDB→SQLite+LanceDB. Factory + meld + reconciliations + graduation + lifecycle wiring all ported. tsc clean, 3552 tests pass. Steward will run fresh vault ingestion as live verification.
- [session-2026-04-13-storage-trial.md](session-2026-04-13-storage-trial.md) — Storage trial benchmarked (NFCorpus/BEIR), SQLite+LanceDB chosen, 13 modules migrated, 40 infra errors remain (now resolved 2026-04-14)
- [session-2026-04-13-aldinexxi.md](session-2026-04-13-aldinexxi.md) — AldineXXI v2.0: spec written, audit, palette, vignette spec, Phases 1-5 implemented. L2 parked. Seb end-of-May L1 deadline.
- [session-2026-04-09-l1-audit.md](session-2026-04-09-l1-audit.md) — Full L1 pipeline audit (4 agents), 8 issues filed (#124-126, #133-136), Effect-TS adoption proposed, research folder established, systemic fixes roadmap for Seb
- [session-2026-04-09-agent-circles.md](session-2026-04-09-agent-circles.md) — Agent circles filed, /audit skill built+tested, thinking folder reorg, CURATION-MAP §4 resolved, vault inbox triaged 65→16
- [session-2026-04-09-memory-palace.md](session-2026-04-09-memory-palace.md) — External Auditor review (Absorption Trap), dialogue trial deferred, DN-RET-02 complete
- [session-2026-04-08-full.md](session-2026-04-08-full.md) — External Auditor naming, MemPalace (10K drawers), #121 replay bloat, /wake-up + /wrap-up skills
- [session-2026-04-08-evening.md](session-2026-04-08-evening.md) — superseded by session-2026-04-08-full.md
- [session-2026-04-07-op02.md](session-2026-04-07-op02.md) — OP-02 synthesis, Thistleweld redirected from theory to architecture
- [session-2026-04-07-replay.md](session-2026-04-07-replay.md) — v0.62.0 replay, Thistleweld flagged allSettled + Levenshtein NONE
- [session-2026-04-04-handoff.md](session-2026-04-04-handoff.md) — Amendment 61 merge, Derrida OCR COMPLETE
- [session-2026-04-03-epistemic-integrity.md](session-2026-04-03-epistemic-integrity.md) — confidence kill chain, L0 readiness
- [session-2026-03-21.md](session-2026-03-21.md) — three-party model established, L1 bugs fixed
- [session-2026-03-24-cardona.md](session-2026-03-24-cardona.md) — governance docs + Chamber Phase 1
- [session-2026-03-12-evening.md](session-2026-03-12-evening.md) — archived, superseded
- [ingestion-state-2026-03-17.md](ingestion-state-2026-03-17.md) — archived, superseded