Using Claude to fix PyPy3.11 test failures securely
Briefly

"I was worried about letting an AI agent loose on my development machine. I noticed a post by Patrick McCanna that pointed to using bubblewrap to sandbox the agent."
"There are stories about agents wiping out databases, or deleting mail boxes. I needed to see what bubblewrap does and followed the instructions in the blog post."
"Ubuntu spreads the executables around the operating system, so I needed access to various directories. I wanted a /tmp for running pytest."
Access to Claude Max was granted for six months to assist with PyPy's failing 3.11 tests. The main issues involved edge cases with error messages and debugging tools. To mitigate risks, bubblewrap was utilized to sandbox the AI agent. The setup process included installing bubblewrap and configuring AppArmor on Ubuntu 24.04 to allow bwrap to run. Various exceptions were opened to enable access to necessary directories for testing, ensuring a secure environment for the AI agent's operations.
Read at PyPy
Unable to calculate read time
[
|
]