pub struct WorkflowConfigToml {
pub automatic: bool,
pub auto_start_read_only: bool,
pub require_approval_for_writes: bool,
pub auto_start_child_limit: u32,
pub max_children: u32,
pub max_concurrent: u32,
pub max_depth: u32,
pub default_token_budget: u64,
pub max_parallel_writes_without_worktree: u32,
pub persist_completed_activity: bool,
pub persist_completed_across_restarts: bool,
}Expand description
On-disk schema for the [workflow] table (#4128 / Section 2.11).
Automatic Workflow launch, write/approval gates, child/isolation budgets,
and completed-activity persistence all read from this one model. When the
table is absent, consumers resolve WorkflowConfigToml::default.
See config.example.toml for documentation.
Fields§
§automatic: boolAllow the parent agent to auto-launch Workflow for multi-agent work.
Product default is on; set false to require explicit /workflow.
auto_start_read_only: boolWhen automatic launch is enabled, start read-only child plans without
an approval card. Write/shell/network plans still consult
Self::require_approval_for_writes.
require_approval_for_writes: boolRequire an operator approval card before launching plans that write, elevate shell/network, or otherwise leave the read-only envelope.
auto_start_child_limit: u32Soft upper bound on children admitted by automatic launch. Larger plans
should ask the operator or use explicit /workflow.
max_children: u32Hard ceiling on total children in one Workflow run (product: 1000).
max_concurrent: u32Maximum concurrently live agents inside one Workflow run (product: 16).
max_depth: u32Maximum nested Workflow / child-orchestration depth.
default_token_budget: u64Default shared token budget for a Workflow run and its children.
max_parallel_writes_without_worktree: u32How many parallel write children may share the parent worktree without
isolation. 0 forces worktree isolation for parallel writes.
persist_completed_activity: boolKeep completed Workflow activity visible in the session activity surface until the next run (or explicit clear).
persist_completed_across_restarts: boolPersist completed Workflow activity across process restarts via the durable run journal.
Trait Implementations§
Source§impl Clone for WorkflowConfigToml
impl Clone for WorkflowConfigToml
Source§fn clone(&self) -> WorkflowConfigToml
fn clone(&self) -> WorkflowConfigToml
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for WorkflowConfigToml
impl Debug for WorkflowConfigToml
Source§impl Default for WorkflowConfigToml
impl Default for WorkflowConfigToml
Source§impl<'de> Deserialize<'de> for WorkflowConfigToml
impl<'de> Deserialize<'de> for WorkflowConfigToml
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for WorkflowConfigToml
Source§impl PartialEq for WorkflowConfigToml
impl PartialEq for WorkflowConfigToml
Source§impl Serialize for WorkflowConfigToml
impl Serialize for WorkflowConfigToml
impl StructuralPartialEq for WorkflowConfigToml
Auto Trait Implementations§
impl Freeze for WorkflowConfigToml
impl RefUnwindSafe for WorkflowConfigToml
impl Send for WorkflowConfigToml
impl Sync for WorkflowConfigToml
impl Unpin for WorkflowConfigToml
impl UnsafeUnpin for WorkflowConfigToml
impl UnwindSafe for WorkflowConfigToml
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.