[BUG] Switching to accept edits mode mid-session in a dynamic workflow keeps asking for permission.

Status Open
Reported on v2.1.220
Maintainer reply None cached
Activity 1 comment · opened Jul 30, 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?

When a subagent in a dynamic workflow makes a file edit and you choose "Yes, allow all edits this session" in the permission dialog, the session changes to accept edits mode, but this setting doesn't get applied to any of the subagents already running, even the one for which you chose the option.

What Should Happen?

Claude Code should stop presenting a write/edit permission dialog when the mode has been switched to accept-edits.

Error Messages/Logs

Steps to Reproduce

  1. Start a dynamic workflow with manual approval required for edits
  2. Choose "Yes, allow all edits this session" on the first permission prompt

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.220 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

WSL (Windows Subsystem for Linux)

Additional Information

_No response_

View original on GitHub ↗

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