pub struct WorkflowSecurity {
pub immutable: bool,
}Expand description
Whether the agent may rewrite its own workflows.
Fields§
§immutable: boolRefuse workflow.create / .update / .delete at runtime.
Workflows are the agent’s standing instructions — what it does when a schedule fires or a webhook lands, unattended. An agent that can rewrite them can quietly change what happens next time, and the change survives the conversation that caused it. Anywhere a definition is reviewed before it ships — a file in git, a config a deploy applies — self-update is not a feature, it is a hole in that review.
Off by default, because the runtime-created workflow is a real workflow
(docs/workflows.md); turn it on and definitions become read-only, from
the config and the store, for everyone: the model, a subagent, and an
operator over A2A alike. Loading is unaffected — the daemon still reads
files, URLs and directories at startup.
Trait Implementations§
Source§impl Clone for WorkflowSecurity
impl Clone for WorkflowSecurity
Source§fn clone(&self) -> WorkflowSecurity
fn clone(&self) -> WorkflowSecurity
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more