anomalyco / anomalyco/opencode

Plan mode went into a destructive rampage

Open
#47,146 1 comment 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.