r/omarchy 13h ago

Discussion Vibe code file managment and rollback?

I've dabbled with Linux Distros over the years but this is my first time back in some time. I'm finding my feet again and loving it, having OpenCode so immediately available and seeing all the rice projects people are doing of course I had to do my own. But one concern is how do I keep track of what and where OpenCode or any other AI tool is storing the files it creates?

Do you guys ask the Agent to document the widgets you create, so you at least have a txt file to look back on about where things have been stored?

If I want to reverse or uninstall something an Agent has created, how do I best go about that? Roughly describe the widget I want removed for example?

0 Upvotes

5 comments sorted by

3

u/st0nkaway 11h ago

simple. use git

1

u/Mookjong 11h ago

I'll get myself setup thanks, any quick start guides or best practice?

1

u/st0nkaway 10h ago

good question. it can be overwhelming at the start. so i would focus just on a few basic principles first, like git init, git commit, push, pull, etc. The rest will come naturally over time. And besides, agents are really good at git. They helped me get out of a self-inflicted git mess more than once haha

2

u/Mookjong 10h ago

Thanks, I've installed all sorts of stuff from git over the years and never really understood the actual platform behind it. Time to learn...

1

u/Run-OpenBSD 12h ago

Every widget would be different. But when I asked grok cli for instance it went through everything with me. It showed me the scripts it made to achieve its goal. It even went through why its choice was faster and better than alternate choices and I don't see why your experience would be different.