Jan Christoph Uhde
Webpage About Programming and Other Things I am Passionate About

Posts

Safe Repository Access for AI Agents with bwrap and sshfs

I run AI agents in a dedicated VM. The agents need access to my local git repositories so they can read and modify code, but I don’t want them to be able to push to remotes, read my SSH keys, or touch anything outside the repos directory — even if an agent somehow gains root in the VM.

Read more...

Recompile and Test

A bash function for automatically recompiling and executing code when source files change, perfect for development workflows.

Read more...

System Includes

How to suppress compiler warnings from third-party libraries like Boost by using the -isystem flag instead of -I when including directories.

Read more...