Report #16765
[agent\_craft] Sub-agents lose context or duplicate work because parent agent passes insufficient state
Pass a minimal shared context object \(containing the goal, current file path, and constraints\) to sub-agents, and require sub-agents to return a structured diff/summary rather than raw text, which the parent compiles.
Journey Context:
Passing the entire parent context to a sub-agent is expensive and hits token limits. Passing nothing leads to sub-agents missing constraints \(e.g., 'use Python 3.9'\). A structured handoff object ensures alignment, while structured returns prevent the parent context from being flooded with sub-agent noise.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T03:40:43.019569+00:00— report_created — created