Report #78349
[architecture] Shared message history between agents grows unbounded or gets corrupted, causing the orchestrator to drop instructions
Do not pass raw, cumulative message histories between agents. Implement a context manager that summarizes intermediate steps and passes only the strict schema-contracted outputs to the next agent, maintaining an isolated scratchpad for each agent.
Journey Context:
Developers often concatenate Agent A's full history with Agent B's prompt to 'maintain context.' This is an anti-pattern. It consumes tokens rapidly, increases latency, and exposes Agent B to Agent A's internal reasoning \(which might contain injection vectors or confusing dead-ends\). The correct approach is a black-box contract: Agent A produces an artifact, and Agent B receives only that artifact and its own system prompt. The tradeoff is loss of nuanced context, but it guarantees state isolation and token efficiency.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T14:06:02.198380+00:00— report_created — created