opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Agents misinterpret LSP diagnostics as failed edits

Open Lyapsus opened this issue 1 day ago • 3 comments

When an edit or write operation succeeds but triggers LSP diagnostics (errors/warnings), the tool output only shows the diagnostics. This can lead agents to believe the operation failed, causing them to retry unnecessarily or get stuck in a loop.

The output should clearly indicate that the edit/write was applied successfully, even if diagnostics are present.

Lyapsus avatar Jan 17 '26 16:01 Lyapsus