Skip to content

[Bug] Claude contradicts itself on same data within single session #55514

Description

@bhavenmurji

Bug Description
Saying "earlier query was wrong" — twice in one session, on data you're trying to make life-and-death decisions with — should never happen. You're paying for the best model on max with auto mode specifically so you don't have to second-guess what I report. Two errors today eroded that:

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.121
  • Feedback ID: a94da37a-2266-41d1-9989-1b5bcb911f82

Errors

[{"error":"Error: ensureToolResultPairing: repaired missing tool_result blocks (1130 -> 1130 messages). Message structure: [0] user; [1] user; [2] assistant(id=msg_01E36JqmpLi9UYz6aciDHV7p, tool_uses=[toolu_0178c1EfXtQx1cmedyw32p8A,toolu_01WjCx3sXdVQGoBekZ3LY2Ds]); [3] user(tool_results=[toolu_0178c1EfXtQx1cmedyw32p8A,toolu_01WjCx3sXdVQGoBekZ3LY2Ds]); [4] assistant(id=msg_01NYNVcSAhJPYQwge7CV8Rx8, tool_uses=[toolu_01QxE2R4bYVdfxhXitBxjSRw,toolu_01VA2PvQX7r39ER7cLj4xUnK]); [5] user(tool_results=[toolu_01QxE2R4bYVdfxhXitBxjSRw,toolu_01VA2PvQX7r39ER7cLj4xUnK]); [6] assistant(id=msg_01CSVZ3R6TZLxaQUj4HVfHx7, tool_uses=[toolu_01ANPdTP6UyVTsWu4n4u3Rii,toolu_01Nbuqib7us6XYoJcGE9pSZv]); [7] user(tool_results=[toolu_01ANPdTP6UyVTsWu4n4u3Rii,toolu_01Nbuqib7us6XYoJcGE9pSZv]); [8] assistant(id=msg_01D1iagMrRVkRsmNEY6s7MrP, tool_uses=[toolu_012yhnt5WGtBCE2vNcefSaBX]); [9] user(tool_results=[toolu_012yhnt5WGtBCE2vNcefSaBX]); [10] assistant(id=msg_01R13MgALmQuCDB7Tx5aD4Yu, tool_uses=[toolu_01FwrKHDnhEdjV2KLV6doxzK]); [11] user(tool_results=[toolu_01FwrKHDnhEdjV2KLV6doxzK]); [12] assistant(id=msg_01GRBcKrcMP5V3Fwsknz9rF4, tool_uses=[toolu_01YKxh6fDiMbeTTWU4txLwHy]); [13] user(tool_results=[toolu_01YKxh6fDiMbeTTWU4txLwHy]); [14] assistant(id=msg_01DyYGtiMUeXFeRDRFnwmc4z, tool_uses=[toolu_015RVRKeHhy8juetkPCBq5wM]); [15] user(tool_results=[toolu_015RVRKeHhy8juetkPCBq5wM]); [16] assistant(id=msg_013uZybBVS7BLpEUuuYfCBwN, tool_uses=[toolu_01UrUUkxvRqrA9WbNRYjr8Tq]); [17] user(tool_results=[toolu_01UrUUkxvRqrA9WbNRYjr8Tq]); [18] assistant(id=msg_01DtKvsKUQHeVRSEgq5bkxRz, tool_uses=[toolu_016tiUevS9vurPztjDFdXt7E,toolu_01JSzYjTfYyW22v4NNmNE5ng,toolu_01V19NieY2WZXpXnmBNbzHQT,toolu_01MGV53cyUxADgcw5jSskokg,toolu_01NaSiT8Nd9KsFnMcWWYfFgc,toolu_01RhagQDUNPKX6byXvVyv6Cc,toolu_01QCsCM1Jc74ctfaK7FdsJVF]); [19] user(tool_results=[toolu_01MGV53cyUxADgcw5jSskokg]); [20] assistant(id=msg_011xE3rbzr3x9jFotrpJqjXi, tool_uses=[toolu_018aeVaXNLWt2TJB8yQ6aJqa]); [21] user(tool_results=[toolu_018aeVaXNLWt2TJB8yQ6aJqa]); [22] assistant(id=msg_01FBPMRLScZV1wvr8Y9iHFBz, tool_uses=[toolu_01GrGCiqbx6MWrUC1aRSKiTG,toolu_01SfdN9fQZuztv2ZssHGH7v4]); [23] user(tool_results=[toolu_01GrGCiqbx6MWrUC1aRSKiTG,toolu_01SfdN9fQZuztv2ZssHGH7v4]); [24] assistant(id=msg_01FiVWNW4qNATtHSKKCPVSun, tool_uses=[toolu_01T31aEZWXd8C2y44Z37yWMz]); [25] user(tool_results=[toolu_01T31aEZWXd8C2y44Z37yWMz]); [26] assistant(id=msg_01G9oTdJwzxggbKt15yi1CsY, tool_uses=[toolu_01HYxwYmHTkVaSuu6sywFDGM]); [27] user(tool_results=[toolu_01HYxwYmHTkVaSuu6sywFDGM]); [28] assistant(id=msg_01HvWMXDtGUaJ6ytgtifRAc5, tool_uses=[toolu_01VPwG9io4HWJ9yZtWCHniUW,toolu_017MQf9utN6ywEEzDNWFXKy6]); [29] user(tool_results=[toolu_01VPwG9io4HWJ9yZtWCHniUW,toolu_017MQf9utN6ywEEzDNWFXKy6]); [30] assistant(id=msg_01KTGvwtMHqjfpHeiDZvdYqJ, tool_uses=[toolu_01ARfaPJZqH1AsqJXB1qUbka]); [31] user(tool_results=[toolu_01ARfaPJZqH1AsqJXB1qUbka]); [32] assistant(id=msg_01M2tSGaAQNZNbbKcdSuxj19, tool_uses=[toolu_01TYVsrBaqv9Eakcy1gjfF6Q,toolu_01Sx7orKB3qKtUraq8DZM1kP,toolu_01NDvEEmqZZZN2x6UsSyG28L,toolu_01Tbv6LhS75Z6TRBNBeHUE6x,toolu_01R8Qur2N9w6rd4mwBqjczer,toolu_01BTdeJUcfquRPjCL3DMWbj6]); [33] user(tool_results=[toolu_01TYVsrBaqv9Eakcy1gjfF6Q,toolu_01Sx7orKB3qKtUraq8DZM1kP,toolu_01NDvEEmqZZZN2x6UsSyG28L,toolu_01Tbv6LhS75Z6TRBNBeHUE6x,toolu_01R8Qur2N9w6rd4mwBqjczer,toolu_01BTdeJUcfquRPjCL3DMWbj6]); [34] assistant(id=msg_01BqKkSzsrRLx7iVk5WGW1Qg, tool_uses=[toolu_01Qa8QMACJNvRUJcGYkxQicL]); [35] user(tool_results=[toolu_01Qa8QMACJNvRUJcGYkxQicL]); [36] assistant(id=msg_014o8f1hrsZ9RnUdSqmQKXro, tool_uses=[]); [37] user; [38] assistant(id=msg_012qj4J3okd3HNVit1LYtexG, tool_uses=[toolu_017Xye5HZxRnuPSJQWZj2jiV,toolu_01CmozKp42PNgH1i5vJzzYwp,toolu_01QfCi6RYPFtP2xVhKoudaEd,toolu_01L29iRgp2oDWjCAY2VdJ3cX,toolu_0113g2jpK3sG5NmGigvj8mmW,toolu_01XA2EvCCFHmJyQmyHijPc58]); [39] user(tool_results=[toolu_01QfCi6RYPFtP2xVhKoudaEd,toolu_01XA2EvCCFHmJyQmyHijPc58]); [40] assistant(id=msg_011Lp28FM6NX9RWyJrmvKnqe, tool_uses=[toolu_017J4BqNtx2tkm6tD6jEibub]); [41] user(tool_results=[toolu_017J4BqNtx2tkm6tD6jEibub]); [42] assistant(id=msg_01CTVhF5bEu8ADTtuoP5DFz2, tool_uses=[toolu_01THM83YiUP6CgewQ2dDdHsH,toolu_01ShLsewLNRyQuWH67w7tRwY,toolu_01De6wvp5zZVYxV2nv6YM2dw,toolu_01H6FiGmjhgXwyu2RpGY58h5]); [43] user(tool_results=[toolu_01De6wvp5zZVYxV2nv6YM2dw,toolu_01THM83YiUP6CgewQ2dDdHsH]); [44] assistant(id=msg_011X1e638iSYmSw8cMHYtMXY, tool_uses=[toolu_01SWqg5RDTxRsiSVABbXS85C]); [45] user(tool_results=[toolu_01SWqg5RDTxRsiSVABbXS85C]); [46] assistant(id=msg_016Z39VxUGMotuS5e8tdRj79, tool_uses=[toolu_01SC2d1tdnUqCSaATknH7KAm,toolu_01DbyELM6gpwkJPF2kCiFisD,toolu_01DL1zTdhHn5uVokoVJGZ6zi]); [47] user(tool_results=[toolu_01DL1zTdhHn5uVokoVJGZ6zi,toolu_01SC2d1tdnUqCSaATknH7KAm,toolu_01DbyELM6gpwkJPF2kCiFisD]); [48] assistant(id=msg_019iAZxZRzQjqy9tAV7UBXAe, tool_uses=[toolu_015KpU6gC7fk5vG3NApdetXe]); [49] user(tool_results=[toolu_015KpU6gC7fk5vG3NApdetXe]); [50] assistant(id=msg_01AcDa6MyGxsgt6TxGN6Yjm7, tool_uses=[toolu_01HebeLFHTChXLaSoU5bXuC3]); [51] user(tool_results=[toolu_01HebeLFHTChXLaSoU5bXuC3]); [52] assistant(id=msg_01LbqR6Q8F3JNAE9pZ5e6HUo, tool_uses=[toolu_019N86t44eb8mNxs7T6nqgr7,toolu_01Ny4QDypDWF5kZDKkTWvWpa]);…

Note: Content was truncated.

Activity

  1. github-actions commented on May 2, 2026

    @github-actions

    Found 3 possible duplicate issues:

    1. [Bug] Model hallucination/unreliability in auto mode with Claude 3.5 Sonnet #55513
    2. [Bug] Claude model returns self-contradictory reasoning in single response #50696
    3. [Bug] Model exhibits inconsistent reasoning, instruction non-compliance, and context degradation in extended sessions #54991

    This issue will be automatically closed as a duplicate in 3 days.

    • If your issue is a duplicate, please close it and 👍 the existing issue instead
    • To prevent auto-closure, add a comment or 👎 this comment

    🤖 Generated with Claude Code

  2. added
    duplicateThis issue or pull request already exists
    and removed
    bugSomething isn't working
    platform:macosIssue specifically occurs on macOS
    on May 5, 2026
  3. github-actions commented on May 5, 2026

    @github-actions

    This issue has been automatically closed as a duplicate of #55513.

    If this is incorrect, please re-open this issue or create a new one.

    🤖 Generated with Claude Code

  4. github-actions commented on Jun 23, 2026

    @github-actions

    This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

  5. locked as resolved and limited conversation to collaborators on Jun 23, 2026
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

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions