AI-generated code can compile yet harm a repository when it lacks awareness of existing helpers, callers, tests, service boundaries, and dependencies. The article argues that repository context—a relationship-preserving map or graph—is more valuable than larger prompts for preventing duplication, ar