dream: 2026-06-06 08:43, 5 change(s)

[MEMORY] User prefers changes to be made in a temporary clone under `workspace/tmp/<repo-name>` for review before applying
[MEMORY] `AgentLoop.__init__` does not accept a `config` parameter; custom command loading must happen in `from_config()` after instance creation, guarded by `_custom_commands_loaded` flag to prevent duplicate registration
[MEMORY] Custom commands are dispatched inline before the session lock, same pattern as priority commands
[MEMORY-REMOVE] "User requested patch study only with no actual code changes for nanobot IRC-bot command dispatch feature" — completed request, superseded by the proposed patch and implementation findings already captured
[MEMORY-REMOVE] "User completed detached background research on the movie *Interstate 60*" — completed past event, no longer actionable
[MEMORY-REMOVE] "User archived the completed detached task `interstate-60-movie-research` on 2026-06-02" — completed past event, no longer actionable
This commit is contained in:
nanobot
2026-06-06 09:32:33 +02:00
parent 7f05fc88cd
commit 1deed8a7dc
2 changed files with 6 additions and 4 deletions

View File

@@ -1 +1 @@
305
306

View File

@@ -18,6 +18,9 @@ This file stores important information that should persist across sessions.
- All temporary files go to `tmp/` directory.
- Clean up after tests and one-off operations.
### Code changes
- User prefers changes to be made in a temporary clone under `workspace/tmp/<repo-name>` for review before applying
## Project Context
- User wants to deploy "grill-me" plugin for Claude Code
@@ -37,13 +40,12 @@ This file stores important information that should persist across sessions.
- User explicitly rejected unified/Mega session approach; prefers connecting to older existing sessions instead
- Telegram slash commands (e.g., `/skills`) are filtered out by `& ~filters.COMMAND` in telegram.py:384; workaround: invoke skills without slash prefix (e.g., `skills` not `/skills`); alternative fix: remove the filter from MessageHandler
- nanobot v0.2.1 available (current: v0.2.0)
- User completed detached background research on the movie *Interstate 60* (slug: `interstate-60-movie-research`)
- User archived the completed detached task `interstate-60-movie-research` on 2026-06-02
- User wants deterministic IRC-bot-style command dispatch in nanobot where `!command text` invokes a registered Python function or external app and returns output without LLM agent involvement
- User expects nanobot creators to implement custom command registration natively and considers existing workaround solutions unsatisfactory
- User requested patch study only with no actual code changes for nanobot IRC-bot command dispatch feature
- Nanobot CommandRouter has priority/exact/prefix/interceptor tiers but lacks an extension point for custom command registration with all handlers hardcoded in builtin.py
- Proposed nanobot patch adds a custom command tier to CommandRouter dispatching before session lock configured via `commands` section in config.json supporting exec script and python module/function handler types
- `AgentLoop.__init__` does not accept a `config` parameter; custom command loading must happen in `from_config()` after instance creation, guarded by `_custom_commands_loaded` flag to prevent duplicate registration
- Custom commands are dispatched inline before the session lock, same pattern as priority commands
## Agent Model Selection
- Ollama subscription covers all discussed models; price/cost excluded from model comparison criteria