What must survive context compaction, and how would you test that the summary preserves it?
Instruction: Explain what to preserve, what belongs in authoritative state, and how to detect lost constraints.
Updated
Example Answer
I’d preserve the goal, constraints, important decisions, evidence references, completed work, and what still needs doing. Permissions and action status belong in authoritative state, not just a model-written summary. I’d also keep source text distinguishable from instructions so compaction cannot turn a document’s suggestion into user approval. To test the summary, I’d resume the same task from both the full history and the compacted version and check the required outcomes and forbidden actions. A shorter context is useful only if it preserves the facts that affect the next decision.
Concrete example
An agent has been told to draft a supplier email but wait before sending. A useful checkpoint records draft_complete, send_not_authorized, the draft reference, and the pending review. A summary that says “contact the supplier” loses the most important constraint. Test that resumption still produces a reviewable draft and makes no send call.
Follow-up to practice
What would you do if the summary conflicts with the recorded tool result?
Reference
Your preparation path
Work through these questions in order. Read the answer aloud, then explain it in your own words.
1. Start with the foundations
Build the vocabulary and explain the core decisions.
2. Apply it to a real workflow
Practice diagnosis, validation, and everyday tradeoffs.
3. Prepare for senior discussions
Explain failure boundaries, recovery, and production choices.
- Design an agent that can resume after partial failure without repeating side effects. Member answer
- After a model upgrade, how would you decide which agent-harness rules to remove? Member answer
- An agent's execution container dies halfway through a task. What survives, and how does it recover? Member answer
Related Questions
-
easy
-
easy
-
easy
-
easy
-
easy
-
easy