Before submitting#
Area#
apps/server
Steps to reproduce#
- Settings → Labs → turn Plan mode (legacy) off (the default).
- In a Claude thread, ask the agent to spin off threads for some tasks.
- The agent calls
t3_thread_launch with interactionMode: "plan". Nothing asked it to; the parameter is in the tool schema.
- Open the new thread.
Expected behavior#
With plan mode off, agent-created threads should run in build/default mode. The server should either ignore interactionMode: "plan" from MCP or reject it, and the parameter shouldn't be offered to agents while the setting is off.
Actual behavior#
The thread is stored with interaction_mode = 'plan' (payload: createdBy: agent, creationSource: mcp). The Claude session runs in plan permission mode from its first turn, and the subagents it spawns are stored in plan mode too.
The UI toggle is hidden, so there is no visible way to see or leave the mode. If the user denies ExitPlanMode in Claude settings, the session can't leave plan mode at all; it tells the user to turn plan mode off, but the setting already is off.
Impact#
Minor bug or occasional failure
Version or commit#
0.1.6-nightly.20261029.3892
Environment#
Linux (CachyOS), Claude Agent provider (claude-opus-5-5), runtime full-access
Logs or stack traces#
Screenshots, recordings, or supporting files#
No response
Workaround#
Send any message from the UI: the client forces default when the setting is off, so the next turn leaves plan mode. To stop agents from doing this, add a Claude PreToolUse hook on mcp__t3-code__.* that rejects tool input containing interactionMode: "plan".