Skip to content

Agent reverts the user's own change when asked to fix a failing test #1767

Closed

Description

@hkaltai

When asked to fix a broken test, the agent undid the user's own change instead of updating the test or asking. The rule to never revert changes the agent did not make is present in the codex, gpt and gemini prompts but missing from the anthropic, qwen, trinity, beast and builder prompts, and no prompt says to ask when it is unclear whether a change was intentional.

Activity

  1. sahrizvi commented on Nov 21, 2026

    @sahrizvi
    Collaborator

    Resolved in v0.12.12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions