Chapter 18: Context isolation
A sub-agent keeps its full detail in the log. It returns a capped summary with a fixed shape: a finding, a confidence, and a detail id. Set the cap in code, not in the prompt. The parent’s context stays small.
A sub-agent keeps its full detail in the log. It returns a capped summary with a fixed shape: a finding, a confidence, and a detail id. Set the cap in code, not in the prompt. The parent’s context stays small.