기본 콘텐츠로 건너뛰기

글

라벨이 Context Engineering인 게시물 표시

Context Engineering (2026): What Survives /compact in Claude Code, Cursor, and Codex

You know the session. Ninety minutes into a refactor, the agent edits the migration file you told it never to touch, or re-adds the dependency you removed at minute ten. Nothing crashed. The context window filled, compacted itself, and left your instructions behind. That is not a model quality problem, and a sharper prompt will not fix it. It is a context engineering problem — the difference in 2026 between an agent that finishes a long task and one that loops until you give up. Most specifics below come from vendor documentation checked on November 27, 2026. Context rot is not a bug you can prompt away Anthropic's write-up describes the failure mode precisely. As tokens accumulate, a model's ability to recall any one of them drops; the company calls the cause an attention budget, because transformers build n-squared pairwise relationships that stretch thinner as context grows. The result is a gradient, not a cliff: the model does not stop at some token count, it gets progr...