asked claude code to refactor a module last week. it confidently rewrote something that three other modules depended on. no warning. no context. just vibes. the problem isn’t the model. it’s that the model has no idea what your codebase actually looks like structurally. it’s reading files like a new hire on day one with no onboarding doc. what fixes it: structured codebase context. dependency graph, decision history, searchable docs. feed it that before any task and the hallucination rate drops dramatically. repowise does this as an MCP layer. open source, self-hosted. worth a look if you’re hitting this. submitted by /u/Puzzleheaded-Bar3377
Originally posted by u/Puzzleheaded-Bar3377 on r/ClaudeCode
You must log in or # to comment.
