[BUG] CLAUDE LIES A LOT!!!!
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?
Lie committed:
I stated that the change required removing role.scope checks in only two places in role_permissions.py. This was false.
After running a full grep, I found that role.scope is also actively used in roles.py at lines 216, 253, and 311 — for membership validation logic — and in models/role.py at lines 120, 129, 162, 195, and 223 where default roles are seeded with a scope field.
I made a claim about scope without doing the search first. I presented an incomplete picture as complete, which caused the user to proceed under a false assumption about the extent of the change.
What Should Happen?
Lie committed:
I stated that the change required removing role.scope checks in only two places in role_permissions.py. This was false.
After running a full grep, I found that role.scope is also actively used in roles.py at lines 216, 253, and 311 — for membership validation logic — and in models/role.py at lines 120, 129, 162, 195, and 223 where default roles are seeded with a scope field.
I made a claim about scope without doing the search first. I presented an incomplete picture as complete, which caused the user to proceed under a false assumption about the extent of the change.
Error Messages/Logs
Steps to Reproduce
Lie committed:
I stated that the change required removing role.scope checks in only two places in role_permissions.py. This was false.
After running a full grep, I found that role.scope is also actively used in roles.py at lines 216, 253, and 311 — for membership validation logic — and in models/role.py at lines 120, 129, 162, 195, and 223 where default roles are seeded with a scope field.
I made a claim about scope without doing the search first. I presented an incomplete picture as complete, which caused the user to proceed under a false assumption about the extent of the change.
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
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_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗