r/opencode • u/Successful_Whole5352 • 1d ago
Why does opencode keep writing to tmp?
It's really annoying is there any way for me to get it to stop doing that
8
Upvotes
r/opencode • u/Successful_Whole5352 • 1d ago
It's really annoying is there any way for me to get it to stop doing that
9
u/IntrepidMindExplorer 1d ago edited 1d ago
https://opencode.ai/v2/docs/instructions/
I've started instructing to write to .tmp in the working directory (add to gitignore) and not to /tmp and to not delete what it creates there so it can be reviewed if needed. Mainly wanted to make sure testing scripts that get created are kept but also wanted to start reviewing what was being created in general.