Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.
This repository was archived by the owner on May 15, 2026. It is now read-only.

[Bug] After AI edits a file, the next user message sometimes or always disappears #5188

@indiesewell

Description

@indiesewell

App Version

v3.22.1

API Provider

Anthropic

Model Used

Claude 4 Sonnet

🔁 Steps to Reproduce

Describe the bug
When the AI uses editing tools during normal programming (for example, editing or updating a file in response to a prompt), the next message I send is often lost:

If the edit succeeds, the next message occasionally disappears.

If the edit fails, the next message always disappears.

The message does not appear in the chat UI and is not saved in .roo task history.

The rest of the task remains intact.

This issue is present across multiple versions.

Steps to reproduce

Start a coding session with Roo Code.

Let the AI edit a file (e.g., refactor, modify documentation, etc.).

After the edit completes, send a message in the chat panel.

If the edit failed, the message will always be lost.

If the edit succeeded, the message will sometimes be lost.

Expected behavior
All user messages should display in the chat and be saved in the task history.

Actual behavior
The first message after an edit is sometimes or always silently dropped, depending on whether the edit succeeded.

💥 Outcome Summary

Expected the follow-up message to appear in the chat and be saved, but it was silently discarded with no error.

📄 Relevant Logs or Errors (Optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - Needs ScopingValid, but needs effort estimate or design input before work can start.bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions