[Bug] Claude hallucinating code without repository context validation

Resolved 💬 2 comments Opened May 31, 2026 by TechGuiderau Closed Jul 3, 2026

Bug Description
The lack of awareness and guessing is terrible, I find it just making things up reguarly without actually fact checking the repo its working on.
It's wasting huge amounts of time and tokens going down paths based on assumptions, and then building out code only to them realise it already exisits. It needs to scan the surroundings better before jumping in.

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.158
  • Feedback ID: ce54383b-509d-4447-b44a-6a1c688bb440

Errors

[]

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗