[BUG] Claude Code Web Routines should not start in plan-mode despite `defaultMode: plan`

Resolved 💬 1 comment Opened May 23, 2026 by ralphjsmit Closed Jun 23, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

I have configured my Claude Code settings to set to defaultMode: plan. This works great, except on routines. I have created some routines that are allowed to create PRs, and right now all routines end up in "plan mode" and want to request permission for their fix. It would be nice if defaultMode: plan could be ignored for routines, or if we can set a mode override in the routine configuration.

Thanks a lot!

What Should Happen?

Claude Code Routines should not default to plan-mode but always in accept edits for example.

Error Messages/Logs

Steps to Reproduce

  1. Set defaultMode: plan.
  2. Create a routine and tell it to create a PR to add a joke to the README.md.
  3. Run the routine.
  4. Verify the PR is created and routine is not stuck in plan mode.

Claude Model

None

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.1.150

Platform

Anthropic API

Operating System

Other

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗