Earlier quoted context omitted.
The part that worries me here is the diff. Does it happen in the host or in the guest? What code gets run when you run `yoloai diff`?
It actually runs git (with hooks disabled) to generate the diff. It happens on the host when using copy mode, and inside the sandbox when using overlay mode. The above example doesn't specify workdir mounting mode, so it would be copy, not overlay.
Slightly safer vibecoding by adopting old hacker habits
21–30 of 110 posts
Re: Slightly safer vibecoding by adopting old hacker habits
#22Earlier quoted context omitted.
It actually runs git (with hooks disabled) to generate the diff. It happens on the host when using copy mode, and inside the sandbox when using overlay mode. The above example doesn't specify workdir mounting mode, so it would be copy, not overlay.
If it runs inside the sandbox and the guest is compromised, can't the guest just lie?
Re: Slightly safer vibecoding by adopting old hacker habits
#23Re: Slightly safer vibecoding by adopting old hacker habits
#24Re: Slightly safer vibecoding by adopting old hacker habits
#25Earlier quoted context omitted.
I believe the author's idea is to do dev work from a Github account that only has access to the fork, but not to the main repo. Then, as a contributor, you'd open PRs from your fork to the main repo. I think this would only work if your Github account doesn't have write access to the main repo, though. I know you can use 'deployment keys' to give read-access to a single repo using an SSH key, but not sure if you can…
Oh, a separate GitHub account that has its own forks of the repos the agent is working on. Yeah, that's probably the most secure, isolated, and safest. The merge to the canonical repo then needs to go through a human, or at least separately controlled, process via a GitHub pull request.
Re: Slightly safer vibecoding by adopting old hacker habits
#26Gotta love how someone downvoted this.
Re: Slightly safer vibecoding by adopting old hacker habits
#27Re: Slightly safer vibecoding by adopting old hacker habits
#28- user and home directory for data
- crontab for scheduled jobs
- cgi for serving user space apps
- rsync for backups
We even rediscovered email patches but with agent to agent help making and applying them.
It’s simpler for us to operate and the agent to figure out.