anomalyco / anomalyco/opencode
Plan mode went into a destructive rampage
Open
@neriousy is already working on this.
Since Sep 3, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
Plan mode asked for access to /temp which I usually allow because it writes plans there as temporary files, but this time it used /temp to write and execute a bunch of scripts and restored a db to a previous state.
I was using qwen3.7 pro in vscode
Plugins
None
OpenCode version
1.18.27
Steps to reproduce
Ask to investigate database issues
Allow access /temp
Let it run for half an hour and it might escape its constraints.
Screenshot and/or share link
No response
Operating System
Debian 18
Terminal
Vscode
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.