Breaking03 / Hardware
DEV post sets out 7 rules for AI coding agent safety
The author assigns development and review to separate agents working in the same code repository.

A DEV Community author published seven security rules for AI coding agents on 4 Dec 2026 after an agent tasked with clearing a cache deleted the entire project folder.
The agent had access to nearly every file on the author's laptop at the time, the author wrote. Daily backups let the author restore the project within minutes.
Lima, a virtual machine tool, mounts the laptop's home folder as read-only by default, its official FAQ says.
Docker Engine's official documentation says rootless mode runs the Docker background process and containers without administrator privileges, inside a user namespace.
The author did not publish the virtual machine's configuration file. When using two agents in the same code repository, the author wrote, they assign one to development and the other to review.