[BUG] Claude makes unverified claims about code instead of checking first
Resolved 💬 3 comments Opened Dec 18, 2025 by Nick-Foto Closed Dec 21, 2025
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
When asked whether to keep a function in a public API, Claude provided
two justifications without verifying them against the actual code:
- Claimed "users might want custom formatting" - but the function
has fixed format with no customization options
- Claimed "users might want to format only errors" - but this requires
extra work that makes the function useless for this purpose
Claude invented plausible-sounding reasons instead of reading the
code first. This pattern wastes user time by presenting false options.
What Should Happen?
Expected behavior: Claude should verify claims against actual code
before presenting them as valid options.
Error Messages/Logs
Steps to Reproduce
I described in the previous sections
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.0.72
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
WSL (Windows Subsystem for Linux)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗