From dc9fdd3a38659b4a14c603dd5beda86e5a52cbbe Mon Sep 17 00:00:00 2001 From: Anto01 Date: Tue, 14 Apr 2026 11:24:25 -0400 Subject: [PATCH] chore(ledger): end-of-session sync (2026-04-14) Reflects today's massive work: engineering layer + wiki + Karpathy upgrades + OpenClaw importer + auto-detection. Active memories 47 -> 84. Ready for next session to pick up cold. Co-Authored-By: Claude Opus 4.6 (1M context) --- DEV-LEDGER.md | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/DEV-LEDGER.md b/DEV-LEDGER.md index 1f67d28..e45eb3b 100644 --- a/DEV-LEDGER.md +++ b/DEV-LEDGER.md @@ -6,19 +6,22 @@ ## Orientation -- **live_sha** (Dalidou `/health` build_sha): `4f8bec7` (dashboard endpoint live) -- **last_updated**: 2026-04-12 by Claude (full session docs sync) -- **main_tip**: `4ac4e5c` (includes OpenClaw capture plugin merge) -- **test_count**: 290 passing -- **harness**: `17/18 PASS` (only p06-tailscale — chunk bleed, not a memory/ranking issue) -- **vectors**: 33,253 (was 20,781; +12,472 from atomizer-v2 ingestion) -- **active_memories**: 47 (16 project, 16 knowledge, 6 adaptation, 3 identity, 3 preference, 3 episodic) -- **candidate_memories**: 0 -- **registered_projects**: p04-gigabit, p05-interferometer, p06-polisher, atomizer-v2, atocore -- **project_state_entries**: p04=5, p05=9, p06=9, atocore=38 (61 total) +- **live_sha** (Dalidou `/health` build_sha): `3f23ca1` (signal-aggressive extractor live; fix needs redeploy) +- **last_updated**: 2026-04-14 by Claude (OpenClaw importer live, Karpathy upgrades shipped) +- **main_tip**: `58ea21d` +- **test_count**: 297 passing (+7 engineering layer tests) +- **harness**: `17/18 PASS` (only p06-tailscale — chunk bleed) +- **vectors**: 33,253 +- **active_memories**: 84 (31 project, 23 knowledge, 10 episodic, 8 adaptation, 7 preference, 5 identity) +- **candidate_memories**: 2 +- **registered_projects**: atocore, p04-gigabit, p05-interferometer, p06-polisher, atomizer-v2, abb-space (aliased p08) +- **project_state_entries**: 78 total (p04=9, p05=13, p06=13, atocore=43) +- **entities**: 35 (engineering knowledge graph, Layer 2) - **off_host_backup**: `papa@192.168.86.39:/home/papa/atocore-backups/` via cron, verified -- **nightly_pipeline**: backup → cleanup → rsync → LLM extraction (sonnet) → auto-triage (sonnet) -- **capture_clients**: claude-code (Stop hook), openclaw (plugin) +- **nightly_pipeline**: backup → cleanup → rsync → **OpenClaw import** (NEW) → vault refresh (NEW) → extract → auto-triage → weekly synth/lint Sundays +- **capture_clients**: claude-code (Stop hook), openclaw (plugin + file importer) +- **wiki**: http://dalidou:8100/wiki (browse), /wiki/projects/{id}, /wiki/entities/{id}, /wiki/search +- **dashboard**: http://dalidou:8100/admin/dashboard ## Active Plan @@ -156,6 +159,9 @@ One branch `codex/extractor-eval-loop` for Day 1-5, a second `codex/retrieval-ha ## Session Log +- **2026-04-14 Claude** MAJOR session: Engineering knowledge layer V1 (Layer 2) built — entity + relationship tables, 15 types, 12 relationship kinds, 35 bootstrapped entities across p04/p05/p06. Human Mirror (Layer 3) — GET /projects/{name}/mirror.html + navigable wiki at /wiki with search. Karpathy-inspired upgrades: contradiction detection in triage, weekly lint pass, weekly synthesis pass producing "current state" paragraphs at top of project pages. Auto-detection of new projects from extraction. Registry persistence fix (ATOCORE_PROJECT_REGISTRY_DIR env var). abb-space/p08 aliases added, atomizer-v2 ingested (568 docs, +12,472 vectors). Identity/preference seed (6 new), signal-aggressive extractor rewrite (llm-0.4.0), auto vault refresh in cron. **OpenClaw one-way pull importer** built per codex proposal — reads /home/papa/clawd SOUL.md, USER.md, MEMORY.md, MODEL-ROUTING.md, memory/*.md via SSH, hash-delta import, pipeline triages. First import: 10 candidates → 10 promoted with lenient triage rule. Active memories 47→84. State entries 61→78. Tests 290→297. Dashboard at /admin/dashboard. Wiki at /wiki. + + - **2026-04-12 Claude** `4f8bec7..4ac4e5c` Session close. Merged OpenClaw capture plugin, ingested atomizer-v2 (568 docs, 12,472 new vectors → 33,253 total), seeded Phase 4 identity/preference memories (6 new, 47 total active), added deeper Wave 2 state entries (p05 +3, p06 +3), fixed R9 project trust hierarchy (7 case tests), built auto-triage pipeline, observability dashboard at /admin/dashboard. Updated master-plan-status.md and DEV-LEDGER.md to reflect full current state. 7/14 phases baseline complete. All P1s closed. Nightly pipeline runs unattended with both Claude Code and OpenClaw feeding the reflection loop. - **2026-04-12 Codex (branch `codex/openclaw-capture-plugin`)** added a minimal external OpenClaw plugin at `openclaw-plugins/atocore-capture/` that mirrors Claude Code capture semantics: user-triggered assistant turns are POSTed to AtoCore `/interactions` with `client="openclaw"` and `reinforce=true`, fail-open, no extraction in-path. For live verification, temporarily added the local plugin load path to OpenClaw config and restarted the gateway so the plugin can load. Branch truth is ready; end-to-end verification still needs one fresh post-restart OpenClaw user turn to confirm new `client=openclaw` interactions appear on Dalidou. - **2026-04-12 Claude** Batch 3 (R9 fix): `144dbbd..e5e9a99`. Trust hierarchy for project attribution — interaction scope always wins when set, model project only used for unscoped interactions + registered check. 7 case tests (A-G) cover every combination. Harness 17/18 (no regression). Tests 286->290. Before: wrong registered project could silently override interaction scope. After: interaction.project is the strongest signal; model project is only a fallback for unscoped captures. Not yet guaranteed: nothing prevents the *same* project's model output from being semantically wrong within that project. R9 marked fixed.