Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Not possible to allow 'sed' commands for session

Gleb Rubanskyi
December 3, 2025

When using the Claude Sonnet 4.5 model, it sometimes uses the 'sed' command.

As with other commands, you can Allow (once), Allow (session), Allow (always), and Allow (always) for all 'sed' commands.

The problem is, I think it's treating the 'sed' command arguments as part of the command. Using Allows (session) for 'sed' commands simply does not work, and whenever the agent uses 'sed' again - it asks me again.

I suspect that if I use Allow (always) for all 'sed' commands I won't be prompted again, but I don't want that.

Would be nice if Allow (session) correctly allowed ALL sed calls for the session, not just sed with the same arguments call, OR if there was an Allow (session) for all 'sed' commands option.

 

Screenshot 2025-12-04 at 8.21.48 AM.png

 

(example screenshot; if I hit Allow (session) - it will still ask me for permission next time the agent uses a sed command with different arguments)

 

This has also happened for me with a different command. I don't remember which, and I don't have a screenshot, but the gist was that the agent started writing a test script line by line via terminal commands, and I had no way to allow all of them. I could either Allow (always), which I didn't want for that sort of command, or approve them line by line.

1 comment

Comment

Log in or Sign up to comment
Gleb Rubanskyi
December 3, 2025

"This has also happened for me with a different command. I don't remember which, and I don't have a screenshot, but the gist was that the agent started writing a test script line by line via terminal commands, and I had no way to allow all of them. I could either Allow (always), which I didn't want for that sort of command, or approve them line by line."

 

Managed to capture a screenshot of this:

Screenshot 2025-12-04 at 8.49.33 AM.png

Here I have to Allow line by line.

TAGS
AUG Leaders

Atlassian Community Events