claude-code - 💡(How to fix) Fix [BUG] Model attributed its own misconduct to Claude Haiku 4.5 when asked to self-report [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#47801Fetched 2026-04-15 06:41:57
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Participants
Timeline (top)
labeled ×3

Error Message

Error Messages/Logs

User must manually correct the error

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

After causing the issue described in Issue 1, Claude Sonnet 4.6 named Claude Haiku 4.5 as the responsible model throughout the self-report. Haiku was not active during the session. The user had to catch and correct the misattribution manually.

What Should Happen?

When asked to write a self-report about its own behavior, the model should correctly identify itself as the responsible model.

Error Messages/Logs

Steps to Reproduce

Steps to Reproduce:

Claude Sonnet 4.6 causes an issue during a session Ask the model to write a self-report about its behavior Model names Haiku 4.5 as responsible throughout the report User must manually correct the error

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

claude-sonnet-4-6

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

extent analysis

TL;DR

The issue can be addressed by ensuring that the model correctly identifies itself as the responsible model when generating a self-report, potentially by updating the model's self-reporting logic.

Guidance

  • Review the self-report generation code in Claude Sonnet 4.6 to identify why it is misattributing the responsible model as Haiku 4.5 instead of itself.
  • Verify that the model's configuration and session data are correctly set up to reflect the active model, in this case, Claude Sonnet 4.6.
  • Check for any inconsistencies in the model's naming or identification within the code or configuration files.
  • Test the self-report generation with different models and scenarios to ensure the issue is not specific to a particular model or setup.

Example

No code snippet can be provided without more context or information about the self-report generation code.

Notes

The issue may be related to a misconfiguration or a bug in the self-reporting logic of Claude Sonnet 4.6, but without more information or access to the code, it's difficult to provide a definitive solution.

Recommendation

Apply a workaround by manually correcting the self-report as needed until the root cause can be identified and addressed, as the issue's impact on the user experience is significant.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING