ImprovedBuild

Long builds stay on track through context handoffs

On very long builds the agent periodically folds older conversation history into a compact brief to stay fast. That fold used to be lossy: the agent could forget its instructions, lose its place, and re-read files it had just read. The whole handoff was rebuilt:

  • The agent now writes its own handoff note. Instead of an outside

summary, the model working on your project writes a structured continuation brief for itself - what it was doing, what it decided, what comes next, in its own words.

  • Task instructions can no longer be lost. A background task's original

instructions survive every handoff word-for-word.

  • No more re-reading loops. The brief carries the exact code regions the

next step needs, pre-loaded - resuming costs zero extra reads instead of re-opening file after file.

  • A stuck loop breaks itself. If context refills right after a fold, the

agent gets more room instead of folding again and again.

  • A heads-up before the fold. The agent is warned as the handoff

approaches, so it finishes the step it is on and writes things down first.