pub struct WorkflowConfig {
pub name: String,
pub enabled: bool,
pub description: String,
pub classifier: WorkflowClassifierConfig,
pub trigger_terms: Vec<String>,
pub steps: Vec<WorkflowStep>,
pub delegate_hint: Option<String>,
pub progress_horizon_rounds: Option<usize>,
}Expand description
A configured workflow steer.
Fields§
§name: StringWorkflow name. For drop-ins this may be omitted; the filename stem wins.
enabled: boolWhether this workflow is eligible for steering.
description: StringShort description shown in nudges.
classifier: WorkflowClassifierConfigClassifier front matter for selecting this workflow.
trigger_terms: Vec<String>Compatibility alias for early workflow configs. Prefer
[classifier].keywords in new drop-ins.
steps: Vec<WorkflowStep>Ordered workflow steps.
delegate_hint: Option<String>A short model-facing hint recommending crew/team sub-agent
delegation instead of continuing to spend this session’s own round
budget, offered only when this workflow matches AND sub-agent dispatch
is actually available this session. None (the default) means this
workflow never suggests delegation.
progress_horizon_rounds: Option<usize>Override for how many rounds without a plan/edit checkpoint still
count as “recent progress” for round-cap grace, when this workflow
matches. None uses the shared default. Diagnostic workflows
legitimately need more read-only rounds between checkpoints than
routine edits do.
Trait Implementations§
Source§impl Clone for WorkflowConfig
impl Clone for WorkflowConfig
Source§fn clone(&self) -> WorkflowConfig
fn clone(&self) -> WorkflowConfig
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 WorkflowConfig
impl Debug for WorkflowConfig
Source§impl<'de> Deserialize<'de> for WorkflowConfig
impl<'de> Deserialize<'de> for WorkflowConfig
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>,
Source§impl PartialEq for WorkflowConfig
impl PartialEq for WorkflowConfig
Source§fn eq(&self, other: &WorkflowConfig) -> bool
fn eq(&self, other: &WorkflowConfig) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for WorkflowConfig
impl Serialize for WorkflowConfig
impl StructuralPartialEq for WorkflowConfig
Auto Trait Implementations§
impl Freeze for WorkflowConfig
impl RefUnwindSafe for WorkflowConfig
impl Send for WorkflowConfig
impl Sync for WorkflowConfig
impl Unpin for WorkflowConfig
impl UnsafeUnpin for WorkflowConfig
impl UnwindSafe for WorkflowConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more