Compaction and handoffs
For both
Summaries, progress notes and fresh sessions that keep long work on track across a full window
110 questions across four stages: Understand, Apply, Solve and Judge.
Try 5 questions
Practice items, not counted towards your mastery. No account needed.
Check yourself · 1 of 5
Forty turns into a chat, the assistant ignores a formatting rule you gave in the first message. What is the most likely cause?
Check yourself · 2 of 5
Which part of a handoff summary is most costly to lose?
Check yourself · 3 of 5
Which situation is the clearest sign to start a fresh session?
Check yourself · 4 of 5
What is the main job of a progress file?
Check yourself · 5 of 5
Which detail is most likely to be lost in an automatic summary?
Topics
- Why long sessions lose the thread4 min read · Old instructions get buried, early mistakes repeat and tool output crowds out the goal as a session grows
- Writing a handoff summary that keeps decisions5 min read · What a compaction or handoff note must carry: the goal, decisions made, current state, open questions and what to drop
- When to start a fresh session4 min read · Signals that a restart beats more corrections, and how to seed the new session with only what it needs
- Progress files the next session can resume5 min read · Task lists, progress logs and commit history as memory outside the window for work that spans sessions or people
- Built-in automatic compaction and context editing5 min read · Auto-compact in chat apps and coding agents, manual compact commands and API context editing: what they keep and how to steer them
Start here
- Effective harnesses for long-running agents (Anthropic) (opens in a new tab)ArticleFree
How an agent keeps a progress file and git history so each new session can pick up the work.
- Effective context engineering for AI agents (Anthropic) (opens in a new tab)ArticleFree
Explains compaction, note-taking and sub-agents as ways to keep a long task inside the window.
- Compaction (Claude docs) (opens in a new tab)DocsFree
What server-side compaction does, and how to give it your own summary instructions.
Scenarios
Helps to know first
110 questions · last verified 2026-12