Hey, thanks for the detailed report. There are two separate bugs here, and both are known.
- Ask mode uses sed or cat for edits
This happens because the state can get out of sync when switching modes Agent to Ask to Agent inside the same chat. Composer 1 is especially prone to this. Similar reports:
- Agent in ask mode trying to make edits infinite loop
- Switch Mode is Ignored, Cursor Reverts to Agent Behavior
Workaround: when you change modes, it’s better to start a new chat instead of switching inside the existing one. You can also try a different model, Sonnet 4.5 or Claude 4.6 tend to be more stable in Ask mode.
- Edits made via sed or cat don’t show up in Files for Review
This is an architectural limitation. The review panel only tracks changes made via the built-in edit tools. Terminal commands like sed and cat bypass that system. The team is aware.
Thanks for the Request ID, I’ve forwarded it along with the report. Let me know if starting a new chat helps.