Hacker News new | ask | show | jobs
by hombre_fatal 149 days ago
Prompt instructions are never sufficient for this. The tool call itself needs to be gated.

With Claude Code, tools like Bash(“git *”) always ask for permission unless you’ve allowed it.

Figure out the Cursor equivalent of that.

2 comments

Any command needs to be allowed the first time in the ui for that run or for all (add to allowlist)
It happened multiple times to me on Claude Code too, next time I caught it I will try to record its history and show it here