logoalt Hacker News

xyzsparetimexyzyesterday at 11:22 PM4 repliesview on HN

it sucks how difficult it is to give it granular access to shell commands. Like if I'm running plan mode and write+edit are blocked, it shouldn't be able to echo some data into a file as a work around


Replies

vidarhtoday at 5:39 AM

Granular access to shell commands to avoid that is going to be an endless game of whackamole as it comes up with more elaborate ways to combine operations. If you don't want it to be able to write, then it shouldn't have write permissions.

show 2 replies
ngruhntoday at 9:23 AM

Tell me about. Well it should have MCP access in plan mode to lookup backstage docs, right?. Agent proceeds to launch playwright sessions...

ballon_monkeytoday at 12:35 AM

If you're building your own system this is an easy problem to solve.

olmo23today at 9:59 AM

sounds like this should be solved with file permissions: in plan mode, run the bash scripts that the agent wants to execute in some user account that can only read.