Modules§
- matrix
- Local matrix orchestration beside the subagent runtime. Canonical snapshots are acknowledged before launch and before exposing completion.
Structs§
- Background
Completion Event - Authoritative terminal notification for a managed background subprocess.
- Background
Record - Background
Subprocess Entry - Background
Subprocess Snapshot - Child
Record - Child
RunResult - Controller
State - Persisted
Background Record - Persisted
Background State - Resolved
Agent Runtime View - Send
Input Request - Spawn
Agent Request - Spawn
Background Subprocess Request - Subagent
Controller - Central controller that manages spawning, lifecycle, and state of all subagents. The background completion monitor is cancelled when the final controller owner is dropped; its task-held clone is intentionally non-owning.
- Subagent
Controller Config - Configuration required to construct a
SubagentController. - Subagent
Input Item - Subagent
Status Entry - Subagent
Thread Snapshot - Turn
Delegation Hints - Verification
Result - Result of a propose/verify cycle.
Enums§
Traits§
Functions§
- agent_
type_ for_ spec - Maps a subagent spec name to its corresponding
AgentTypevariant. - background_
record_ id - build_
background_ subagent_ command - build_
child_ config - compose_
subagent_ instructions - contains_
explicit_ delegation_ request - contains_
explicit_ model_ request - delegated_
task_ requires_ clarification - discover_
controller_ subagents - Discover workspace + plugin primary/subagent specs used by the controller and by interactive session bootstrap primary-agent selection.
- extract_
explicit_ agent_ mentions - extract_
tail_ lines - filter_
child_ tools - is_
subagent_ tool - Returns
trueifnameis one of the reserved subagent-internal tool names. - load_
archive_ preview - load_
memory_ appendix - Loads the persistent memory appendix for a subagent, including key-point highlights.
- load_
memory_ appendix_ async - Async variant of
load_memory_appendixfor child-agent prompt assembly. - load_
primary_ memory_ appendix - Loads a read-only memory appendix for the primary agent from a subagent’s memory scope.
- load_
primary_ memory_ appendix_ async - Async variant of
load_primary_memory_appendixfor prompt assembly. Cache misses, metadata scans, and memory parsing run on Tokio’s blocking pool so an interactive request never monopolizes a runtime worker with synchronous filesystem work. - normalize_
background_ child_ max_ turns - normalize_
child_ max_ turns - normalize_
requested_ model_ override - prepare_
child_ runtime_ config - request_
prompt - sanitize_
subagent_ input_ items - subagent_
display_ label