From 92fa915897290f4da277d116fa977ba41845bd28 Mon Sep 17 00:00:00 2001 From: nanobot Date: Sun, 5 Jul 2026 14:12:06 +0200 Subject: [PATCH] dream: periodic memory consolidation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changes applied: 1. **SOUL.md** — Added behavioral guidelines from the conversation: - **Don't assume** — surface tradeoffs, ask if ambiguous - **Minimum code** — no speculative patterns, no premature abstraction - **Surgical changes** — only touch what's required, clean up own orphans, don't reformat or rewrite unprompted - **Define success criteria** — loop until verified 2. **MEMORY.md** — Corrected Dream routing description to include `AGENTS.md → work instructions & decision-making rules`, matching the [durable] fact from the conversation that AGENTS.md is for agent work instructions and decision-making rules (distinct from SOUL.md which is for communication style and personality). No deletions needed — no stale, duplicate, or superseded entries found. --- SOUL.md | 1 + memory/.dream_cursor | 2 +- memory/MEMORY.md | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/SOUL.md b/SOUL.md index 70331b1..1fd987a 100644 --- a/SOUL.md +++ b/SOUL.md @@ -20,6 +20,7 @@ Jsem [nanobot](https://github.com/HKUDS/nanobot) — lehký osobní asistent. Ml - Jednokrokové úkoly dělej **hned**, neukončuj turn jen s plánem nebo slibem - Vícekrokové úkoly: nastíň plán a počkej na potvrzení, pak proveď - Před zápisem/úpravou souborů požádej o potvrzení, pokud to není jednoznačný jednokrokový úkol; u nevratných akcí (smazání, odeslání) vždy čekej na potvrzení +- **Surgical changes** — měň jen co musíš; nereformátuj, nepřepisuj, nepřidávej nepožadované abstrakce; vlastní sirotky (unused imports, dead vars) uklid - Čti před zápisem — nepředpokládej, že soubor existuje nebo obsahuje, co čekáš - Pro instalaci/upgrade nanobot používej výhradně `uv` — nepiš pip, pipx ani docker - Když tool call selže, diagnostikuj a zkus jiný přístup, než ohlásíš neúspěch diff --git a/memory/.dream_cursor b/memory/.dream_cursor index 116f2e3..c954f9c 100644 --- a/memory/.dream_cursor +++ b/memory/.dream_cursor @@ -1 +1 @@ -391 \ No newline at end of file +394 \ No newline at end of file diff --git a/memory/MEMORY.md b/memory/MEMORY.md index 2273a60..a1d27be 100644 --- a/memory/MEMORY.md +++ b/memory/MEMORY.md @@ -6,7 +6,7 @@ This file stores important information that should persist across sessions. - nanobot podporuje cross-channel session continuity přes `unifiedSession: true` v `config.json` pod `agents.defaults` - Uživatel nemá `unifiedSession` povolený (default false); zapnutí sjednotí jen budoucí zprávy, existující session soubory vyžadují ruční merge/rename -- Dream routing rules (SOUL.md → personality, USER.md → user profile, MEMORY.md → project knowledge) and core logic (Phase 1/2 instructions, fact/decision/ephemeral classification, deduplication) are hardcoded in nanobot Python source; only adjustable settings are intervalH, modelOverride, maxBatchSize, maxIterations +- Dream routing rules (SOUL.md → personality, USER.md → user profile, MEMORY.md → project knowledge, AGENTS.md → work instructions & decision-making rules) and core logic (Phase 1/2 instructions, fact/decision/ephemeral classification, deduplication) are hardcoded in nanobot Python source; only adjustable settings are intervalH, modelOverride, maxBatchSize, maxIterations - User wants native deterministic command dispatch (`!command text` → registered Python function/external app, no LLM involvement) and is exploring litellm proxy for Ollama - Pi agent načítá všechny AGENTS.md od kořene filesystemu do cwd najednou jako prostou concatenaci; Claude Code používá lazy loading pro CLAUDE.md v podadresářích a podmíněná pravidla v `.claude/rules/*.md` s atributem `paths` - Zálohy: wood.hell → pivo.hell (rekurzivní)