Skip to content

Comment on Tell HN: Cursor agent force-pushed despite explicit "ask for permission" rules

Comments

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.

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

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.