[Bug] Agents and sub-agents ignore dontAsk permission model

Resolved 💬 2 comments Opened Apr 25, 2026 by daniel-brivo Closed May 29, 2026

Bug Description
Agents and sub-agents do not respect permission model of dontAsk

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.119
  • Feedback ID: 5ed9e7fa-77d8-43ea-add7-526782d88f29

Errors
Run in dontAsk mode with sandbox.
Run a sub-agent that modifies a file outside the sandbox.
Instead of being rejected, the sub-agent will prompt for permission to modify the file.

Note: Content was truncated.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗