Why Doesn’t Anyone Teach Developers About Context Management?

AI-generated summary of reporting by Oreilly AI ML Blog. Read the original for the full story.

Why it matters

Developers who don't externalize AI session context to files waste hours re-explaining projects and silently lose code quality as context windows fill and reset.

Read this as

This is an essay by Andrew Stellman arguing that developers manage AI 'context', everything an assistant like Claude Code knows in a given conversation, very badly. He says people overestimate what AI can remember and underestimate its ability to orchestrate multi-step work. His fix: have the AI continuously write project details and decision rationales to files, so new sessions bootstrap instantly. He cites a Microsoft developer losing over an hour daily re-explaining things to AI.

Poor context management has measurable cost: one Microsoft developer logged over an hour a day re-explaining project details to AI tools. Stellman argues teams should treat AI context like requirements engineering, written down, version-controlled, and kept current, or risk AI sessions silently undoing deliberate decisions. The article follows his Quality Playbook and Octobatch projects, where a single Copilot session hit 15 million tokens and earned him a 54-hour rate limit before he split work into phases.

Stellman advocates persistent 'development context' files: a top-level DEVELOPMENT_CONTEXT.md read at session start, fanning out to per-directory CONTEXT.md files in scripts/, tui/, pipelines/. Octobatch's file holds 49 'Key Technical Learnings', each recording what happened, why, when, and where, the 'why' prevents future sessions refactoring deliberate choices like recursive set_timer() over Textual's unreliable set_interval(). Context is updated before every commit; compaction is likened to garbage collection. Concrete practices follow in a second article.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Octobatch Quality Playbook Claude Code Cursor Copilot Textual Sens-AI Framework

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading