pub struct TaskSupervisorConfig {
pub enrichment_limit: usize,
pub telemetry_limit: usize,
pub abort_enrichment_on_turn: bool,
pub background_shell_limit: usize,
}Expand description
Background task supervisor configuration, nested under [agent.supervisor] in TOML.
Controls per-class concurrency limits and turn-boundary behaviour for the
BackgroundSupervisor in zeph-core.
All fields have sensible defaults that match the Phase 1 hardcoded values; only change
these if you observe excessive background task drops under load.
§Example (TOML)
[agent.supervisor]
enrichment_limit = 4
telemetry_limit = 8
abort_enrichment_on_turn = falseFields§
§enrichment_limit: usizeMaximum concurrent enrichment tasks (summarization, graph/persona/trajectory extraction).
Default: 4.
telemetry_limit: usizeMaximum concurrent telemetry tasks (audit log writes, graph count sync).
Default: 8.
abort_enrichment_on_turn: boolAbort all inflight enrichment tasks at turn boundary to prevent backlog buildup.
Default: false.
background_shell_limit: usizeMaximum concurrent background shell runs tracked by the supervisor.
Should match tools.shell.max_background_runs so both layers agree on capacity.
Default: 8.
Trait Implementations§
Source§impl Clone for TaskSupervisorConfig
impl Clone for TaskSupervisorConfig
Source§fn clone(&self) -> TaskSupervisorConfig
fn clone(&self) -> TaskSupervisorConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more