anomalyco / anomalyco/opencode
todowrite crash with double subagent
Open
@jlongster is already working on this.
Since Aug 1, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
todowrite tool crashes (Effect.orDie on SQLITE_BUSY) for one of two subagents
when both are launched in parallel via task and both call todowrite
as their first action.
I can't find error in log opencode, but glm says that it is.
And it happens every time it’s run
Plugins
No response
OpenCode version
v1.18.8
Steps to reproduce
- Define two subagents with
todowrite: allowin permission - Primary agent launches both via
taskin parallel (background:true) - Both subagents call
todowriteas first action - One succeeds, the other crashes with SQLITE_BUSY
Screenshot and/or share link
No response
Operating System
macOS 15.7.8
Terminal
Ghostty
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.