[Bug]: Session error - Failed to start Gemini Cli due to "@BotFather" in agent_tools
What happened?
Error msg:
Detail: [ERROR] [ImportProcessor] Failed to import BotFather): ENOENT: no such file or directory, access '/ductor/agents/bot7-agency/workspace/tools/agent_tools/BotFather)'
ductor_bot/_home_defaults/workspace/tools/agent_tools/RULES.md contains @BotFather, which gets synced into agent-facing AGENTS.md / GEMINI.md. Gemini CLI’s memory import parser treats bare @... tokens as imports, so it tries to load BotFather) as a file and logs ENOENT.
Steps to Reproduce
- After the system is initialised
- Choose Gemini as the provider
- Send msg to any agent
Expected Behavior
plain Telegram handles in docs should not be parsed as imports.
Current workaround:
D:\Documents\GitHub\ductor\ductor_bot_home_defaults\workspace\tools\agent_tools\RULES.md
replace "@BotFather" with "Telegram BotFather" in the template.
Operating System
Windows
Environment
Docker
Which LLM provider?
Gemini
ductor version
0.12.0
/diagnose output
Relevant log output
LLM self-diagnosis (optional)
No response
Additional context
No response
Before submitting
- [x] I have searched existing issues for duplicates.
- [x] I am running the latest version.
Fixed — @BotFather replaced with Telegram BotFather in RULES.md. Your PR #35 had the same fix, merged cleanly.