๐Ÿ› Bug Report: /reset command ignores per-agent workspace and model in multi-agent setup

What I'm trying to do
Run a multi-agent setup with two Telegram bots, each routed to a different agent with its own workspace and model:
- main โ†’ sin_bot โ†’ workspace: /home/ubuntu/clawd, model: openai-codex/gpt-5.2-codex
- trick โ†’ trick_bot โ†’ workspace: /home/ubuntu/trick_workspace, model: google-antigravity/claude-opus-4-5-thinking

What's happening instead
When I send a new message to trick_bot, the session is created correctly with:
cwd: "/home/ubuntu/trick_workspace" โœ…
model: "claude-opus-4-5-thinking" โœ…

But when I use the /reset command on trick_bot, the new session uses:
cwd: "/home/ubuntu/clawd" โŒ (from agents.defaults.workspace)
model: "gpt-5.2-codex" โŒ (fallback to default)
Even the identity becomes "Sin" instead of "Trick" โŒ
Relevant config (secrets redacted)
\\json { "agents": { "defaults": { "workspace": "/home/ubuntu/clawd", "model": { "primary": "google-antigravity/claude-opus-4-5-thinking" } }, "list": [ { "id": "main", "workspace": "/home/ubuntu/clawd", "model": { "primary": "openai-codex/gpt-5.2-codex" } }, { "id": "trick", "workspace": "/home/ubuntu/trick_workspace", "model": { "primary": "google-antigravity/claude-opus-4-5-thinking" } } ] }, "bindings": [ { "agentId": "main", "match": { "channel": "telegram", "accountId": "sin_bot" } }, { "agentId": "trick", "match": { "channel": "telegram", "accountId": "trick_bot" } } ] } \\
Session after new message (correct)
\\json {"type":"session","cwd":"/home/ubuntu/trick_workspace"} {"type":"model_change","provider":"google-antigravity","modelId":"claude-opus-4-5-thinking"} \\
Session after /reset (wrong)
\\json {"type":"session","cwd":"/home/ubuntu/clawd"} {"type":"model_change","provider":"openai-codex","modelId":"gpt-5.2-codex"} \\
Setup
Ubuntu 24.04 / AWS EC2
Clawdbot 2026.1.14-1
Gateway: systemd daemon
Node 22.22.0
Expected: /reset should respect per-agent config based on binding.
Was this page helpful?