Slightly safer vibecoding by adopting old hacker habits
addxorrol.blogspot.com
Slightly safer vibecoding by adopting old hacker habits
1–10 of 110 posts
Re: Slightly safer vibecoding by adopting old hacker habits
#2Re: Slightly safer vibecoding by adopting old hacker habits
#3Generally a good idea, but I'm not sure why you should even want to fork a git repo when a local clone should be sufficient. But this is probably a terminology mixup from the way github presents forks and clones.
Essentially using a repo that doesn’t matter with the coding agent and then creating a cross-repo PR to the real repo.
Re: Slightly safer vibecoding by adopting old hacker habits
#4Generally a good idea, but I'm not sure why you should even want to fork a git repo when a local clone should be sufficient. But this is probably a terminology mixup from the way github presents forks and clones.
Re: Slightly safer vibecoding by adopting old hacker habits
#5Re: Slightly safer vibecoding by adopting old hacker habits
#6Generally a good idea, but I'm not sure why you should even want to fork a git repo when a local clone should be sufficient. But this is probably a terminology mixup from the way github presents forks and clones.
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…
Re: Slightly safer vibecoding by adopting old hacker habits
#7Re: Slightly safer vibecoding by adopting old hacker habits
#8 # Create a new sandbox copying . as workdir (default container, but you can choose vm)
yoloai new mybugfix . --isolation vm
# attach to it (it has tmux already)
yoloai attach mybugfix
# Chat with the bot inside...
# Happy with its work? Diff it to be sure
yoloai diff mybugfix
# Happy with the changes? Apply them to your workdir
yoloai apply mybugfix
# All done? Destroy the sandbox
yoloai destroy mybugfix
The agent stays isolated at all times. No access to your secrets (except what you want), no access to your workdir until you apply. You can also easily restrict network access.Re: Slightly safer vibecoding by adopting old hacker habits
#9Generally a good idea, but I'm not sure why you should even want to fork a git repo when a local clone should be sufficient. But this is probably a terminology mixup from the way github presents forks and clones.
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…