I think the real issue is that tools are doing this internally. Tools that claim to only read certain directories are using prompts instead of actual code as guardrails
Step 1 is recognizing that generative AI is not intelligent and cannot think, reason, or apply logic and so no output can ever be trusted. It is great as a tool, as long as you have frameworks in place to verify everything.
That aside, often times it also is the inability to formulate a prompt or rule properly. Telling an agent "you can only read" is different from "you are not allowed to change any files".
Well, "read-only" has a clear unambiguous meaning in the industry. I see no good faith interpretation that'd allow writing on the file. At most making a copy and editing that to understand it better, but its a bit of a stretch too.
32
u/Kiroto50 39m ago edited 34m ago
We're only doomed if this is the only way you're blocking AI.
You use sandboxes. You remove the ability for your tool to do some things, so it doesn't do it, not even on accident.
Edit: learned it the hard way back on 2020 after developing a program and wiping a hard drive of all my music projects while testing.
I also learned I should have a backup, which I didn't have.
76
u/Zeikos 58m ago
I don't get why people think that "telling" an agent is enough.
Hell, even humans need guardrails otherwise they take shortcuts.
13
u/fugogugo 56m ago
just enable plan mode smh
4
u/cgebaud 33m ago
People who think like this are idiots.
•
u/keatonatron 4m ago
Where is the humor? Can someone explain the joke?
•
u/cheezballs 0m ago
I don't understand this meme. OP doesn't understand AI. Lotta stupid here.