Persist every subagent transcript entry by appending with explicit parent UUIDs so transcripts become a linear, resumable sidechain.
Split conversation history into API-round buckets so compaction retries cut only the chunks tied to the failed round.
On prompt-too-long retries, drop the oldest API-round groups first and inject a synthetic user preamble when needed so the summarize request stays valid.
Connect each agent’s frontmatter MCP servers safely and tear them down without leaking clients, while honoring plugin-only guards.
Merge agent-specific tool sets (MCP clients + fetched tools) into the parent context without disrupting the parent’s existing pool.