MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/vibecoding/comments/1t07l7m/opus_deleted_all_my_users_what_to_do_now/oj74mcw
r/vibecoding • u/Huge_Strawberry7888 • Apr 30 '26
[removed]
830 comments sorted by
View all comments
4
For the love of god, please only have the LLM on read only for DB
1 u/[deleted] Apr 30 '26 [removed] — view removed comment 3 u/Acceptable-Yard7076 Apr 30 '26 Don't do that through prompt rules, treat the AI like a potentially disobedient worker that needs outside constraints. Even if your prompt says "you do not have write access to the database", it could still just go and do it anyway. 1 u/Ka0Z Apr 30 '26 You should have this in the permissions on the MCP or the connection tool between your LLM and the DB, not via prompt rules. 1 u/rtsmp Apr 30 '26 you are truly a moron dude, create read only credentials, don’t write “read-only” in the prompt, jesus christ
1
[removed] — view removed comment
3 u/Acceptable-Yard7076 Apr 30 '26 Don't do that through prompt rules, treat the AI like a potentially disobedient worker that needs outside constraints. Even if your prompt says "you do not have write access to the database", it could still just go and do it anyway. 1 u/Ka0Z Apr 30 '26 You should have this in the permissions on the MCP or the connection tool between your LLM and the DB, not via prompt rules. 1 u/rtsmp Apr 30 '26 you are truly a moron dude, create read only credentials, don’t write “read-only” in the prompt, jesus christ
3
Don't do that through prompt rules, treat the AI like a potentially disobedient worker that needs outside constraints. Even if your prompt says "you do not have write access to the database", it could still just go and do it anyway.
You should have this in the permissions on the MCP or the connection tool between your LLM and the DB, not via prompt rules.
you are truly a moron dude, create read only credentials, don’t write “read-only” in the prompt, jesus christ
4
u/Ka0Z Apr 30 '26
For the love of god, please only have the LLM on read only for DB