News for hackers. Stuff that matters.
Re:Shall I implement it? No by andoando on Thursday March 12, 2026 @09:52PM (#47359781)
Yeah I don't know why they didn't figure to have something in between. I find it completely unusable without the flag.

Even a --permit-reads would help a lot

Re:Shall I implement it? No by dang on Friday March 13, 2026 @12:57AM (#47360833)
I have the same experience as you and joegibbs.

I imagine it's really hard to find an adequate in-between that works in general. (Edit: but it also feels like a CYA thing.)

Re:Shall I implement it? No by ryan14975 on Friday March 13, 2026 @02:19AM (#47361259)
The settings.json allowlist gives you exactly this kind of granularity. You can permit specific tool patterns like Read, Glob, Grep, Bash(git *) while keeping destructive operations gated. It's not as discoverable as a CLI flag but it's been working well for me for unattended sessions.