Dumping the whole repo is not context engineering
A bigger context window just means the model can ignore more. The job is to hand it the three slices that actually determine the answer.
A bigger context window just means the model can ignore more. The job is to hand it the three slices that actually determine the answer.
An agent reads your file, writes a summary for the next session, and in that paraphrase the generic constraint, the discriminated union, the branded ID all collapse into a vague noun. The next session then builds on a version of your code that never existed.
You hand the agent a map of the codebase. By the time it acts on it, the map is wrong. The fix isn't a bigger context window — it's cheap freshness checks.
The most useful guardrail I've added to my agentic workflow isn't a better model or a longer context window. It's a hard rule: three files per task. Anything bigger gets split, even when the agent insists it can handle it.
Instruction files used to be docs humans skimmed. Now they are runtime input an agent trusts literally. The rot that didn't matter in a README will derail your next agent run.
A 4-hour agent conversation starts re-suggesting things it already tried. The fix isn't more prompting. It's a checkpoint and a clean session.