[Bug] /clear command doesn't respect defaultMode setting
Resolved 💬 3 comments Opened Jan 17, 2026 by Zolmok Closed Jan 21, 2026
Bug Description
When using the /clear command with "defaultMode": "plan" configured in .claude/settings.json, the session should reset to plan mode, but it currently preserves the previous permission mode instead.
Expected behavior: /clear should honor the defaultMode: "plan" setting
Actual behavior: Permission mode is preserved after /clear
Configuration:
~/.claude/settings.jsonhas"defaultMode": "plan"- After using
/clear, the session remains in execute mode if that was the previous state
Environment Info
- Platform: linux
- Terminal: tmux
- Version: 2.1.9
- Feedback ID: 616e62f6-2343-4ff5-9aad-44aeca95bff9
Errors
[]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗