From 2320deb759e0bf142423f9d1c479c98d2cd69e4b Mon Sep 17 00:00:00 2001 From: nanobot Date: Tue, 30 Jun 2026 06:42:01 +0200 Subject: [PATCH] dream: periodic memory consolidation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hotovo. Změny v MEMORY.md: - Rozšířen záznam o Dream routing rules — přidány Phase 1/2 instrukce, klasifikace fact/decision/ephemeral, dedup logika; upřesněno, že jsou hardcoded v Python zdrojáku, ne jen v promptu; vyjmenována skutečně konfigurovatelná nastavení (intervalH, modelOverride, maxBatchSize, maxIterations) - Přidán záznam o workspace safety guard — omezení file toolů na `~/.nanobot/workspace/` - Přidán záznam o `compact-memory-auto-daily` cron jobu — běží v Telegram session (id: 69484aa6), reporty chodí do Telegramu místo WebUI SOUL.md a USER.md beze změn — žádné nové osobní atributy ani behaviorální pravidla. Žádný nový skill. --- memory/.dream_cursor | 2 +- memory/MEMORY.md | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/memory/.dream_cursor b/memory/.dream_cursor index cadbe92..96baa13 100644 --- a/memory/.dream_cursor +++ b/memory/.dream_cursor @@ -1 +1 @@ -378 \ No newline at end of file +381 \ No newline at end of file diff --git a/memory/MEMORY.md b/memory/MEMORY.md index 548eb59..5b5774b 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) are hardcoded in Dream prompt, not user-configurable beyond interval/model/batch size +- 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 - User wants native deterministic command dispatch (`!command text` → registered Python function/external app, no LLM involvement) and is exploring litellm proxy for Ollama - User considers Raspberry Pi good for testing - User wants to try writing a nanobot extension in TypeScript @@ -17,6 +17,8 @@ This file stores important information that should persist across sessions. - Installed as a `uv` tool: package `nanobot-ai`, update via `uv tool upgrade nanobot-ai` - Runs as a systemd user service `nanobot.service` - Model switching via `my` tool requires `tools.my.allow_set = true` in config +- Workspace safety guard restricts file tool access to `~/.nanobot/workspace/`; paths outside are inaccessible even for reading nanobot source code +- `compact-memory-auto-daily` cron job runs in Telegram session (id: 69484aa6) so reports deliver to Telegram instead of WebUI ---