Doesn't codex already do this when it decides whether to use subagents, and what prompt to give each subagent?
Yes, but as far as I'm aware, subagents can't spawn their own subagents, so the root agent tends to grow its context linearly
Yes, but as far as I'm aware, subagents can't spawn their own subagents, so the root agent tends to grow its context linearly