-
Notifications
You must be signed in to change notification settings - Fork 11.3k
Open
Labels
bugSomething isn't workingSomething isn't workingwebRelates to opencode on web / desktopRelates to opencode on web / desktopwindows
Description
Description
Critical Bug Report:
Bug Summary
The Write tool reports success but files are not actually written to disk. This causes complete loss of work when sessions end or hit context limits.
Evidence
This session: Used Write tool 13 times - all reported "Wrote file successfully"
Verification: Only 2 files exist on disk (both created with bash heredoc, not Write tool)
Previous session: Same issue - extensive work reported as complete, but all files disappeared
Impact
Severe: Complete loss of development work
Users cannot trust Write tool output
Makes agent appear unreliable
Forces use of bash heredoc workarounds
Plugins
@tarquinen/opencode-dcp@latest
OpenCode version
1.2.15
Steps to reproduce
- Use Write tool to create any file
- Tool reports: "Wrote file successfully"
- Check filesystem: file doesn't exist
- Use bash heredoc to create same file: works correctly
Screenshot and/or share link
Operating System
Windows 11
Terminal
OpenCode Desktop
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingwebRelates to opencode on web / desktopRelates to opencode on web / desktopwindows