Report #6789
[architecture] Polluting a worker agent's context window with the entire conversational history of the manager agent during handoff
Do not pass raw chat history between agents. Extract and pass only the structured task payload, the current shared state, and the specific instructions the worker needs.
Journey Context:
Naive handoffs append the entire preceding transcript to the new agent's prompt. This is expensive, wastes context window space, and degrades the worker's performance due to the lost-in-the-middle effect where it gets confused by irrelevant reasoning steps. The worker only needs the what and the where, not the how we got here. State extraction preserves the worker's reasoning capacity for its actual task.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T01:07:01.132182+00:00— report_created — created