Think of a model’s context window like a reverse health bar. The more it gets the dumber the model becomes.
For big repos you need to use something like Gemini with its huge context to plan work then give the smaller chunks to Claude or another model for execution.