Skip to content

Interview question · Build-an-Agent Coding Rounds

Implement compaction that keeps decisions, open tasks and identifiers.

The summariser is a model and will miss things, so the code around it carries the guarantees: extract what must survive into structure first, ask the model only for the narrative, and refuse a summary that dropped an identifier or a promise.

hardNewUpdated Nov 2026

The summariser is a model and will miss things, so the code around it carries the guarantees: extract what must survive into structure first, ask the model only for the narrative, and refuse a summary that dropped an identifier or a promise.

Make your first attempt

Before you read on, answer it yourself

  1. 01 State the assumptions your answer depends on.
  2. 02 Explain the mechanism and choose a control.
  3. 03 Say what fact, if it changed, would flip your answer.

Then open the worked answer: the approach, how a panel scores it, and the follow-ups. Check where your reasoning diverged.

a free account opens extra answers in every topic
UP NEXT ON YOUR JOURNEY
DISCUSSION · 0

Nobody has commented. Post a correction or another way to answer.