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

Status Closed — not planned
Reported on v2.1.119
Maintainer reply None cached
Activity 3 comments · opened Apr 25, 2026 · 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 3 comments on GitHub. Read the full discussion on GitHub ↗