pub struct AgentGraphNodeTemplate {
pub node_id: String,
pub role: AgentRole,
pub dependencies: BTreeSet<String>,
pub review_target_node_id: Option<String>,
pub delegated_criterion_ids: BTreeSet<String>,
pub added_constraints: Vec<String>,
pub authority: AgentAuthorityTemplate,
pub read_paths: BTreeSet<String>,
pub write_paths: BTreeSet<String>,
pub budget: AgentBudget,
pub allowed_action_classes: BTreeSet<ActionClass>,
}Expand description
Parent-independent recipe for one worker, reviewer, or adversary node.
Fields§
§node_id: StringStable graph-local identifier.
role: AgentRoleRuntime authority class for this node.
dependencies: BTreeSet<String>Nodes whose proof barriers must complete before this node is ready.
review_target_node_id: Option<String>Worker inspected by a reviewer or adversary node.
delegated_criterion_ids: BTreeSet<String>Exact parent criteria owned by a worker node.
added_constraints: Vec<String>Additive constraints that may narrow, never widen, a worker contract.
Provider/model material bound to a fresh runtime-owned authority.
read_paths: BTreeSet<String>Workspace-relative scopes visible to the isolated node.
write_paths: BTreeSet<String>Workspace-relative scopes a worker may mutate.
budget: AgentBudgetHard provider/tool/time reservation for this node.
allowed_action_classes: BTreeSet<ActionClass>Runtime-owned action classes exposed to the node.
Trait Implementations§
Source§impl Clone for AgentGraphNodeTemplate
impl Clone for AgentGraphNodeTemplate
Source§fn clone(&self) -> AgentGraphNodeTemplate
fn clone(&self) -> AgentGraphNodeTemplate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AgentGraphNodeTemplate
impl Debug for AgentGraphNodeTemplate
Source§impl<'de> Deserialize<'de> for AgentGraphNodeTemplate
impl<'de> Deserialize<'de> for AgentGraphNodeTemplate
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AgentGraphNodeTemplate
Source§impl PartialEq for AgentGraphNodeTemplate
impl PartialEq for AgentGraphNodeTemplate
Source§impl Serialize for AgentGraphNodeTemplate
impl Serialize for AgentGraphNodeTemplate
impl StructuralPartialEq for AgentGraphNodeTemplate
Auto Trait Implementations§
impl Freeze for AgentGraphNodeTemplate
impl RefUnwindSafe for AgentGraphNodeTemplate
impl Send for AgentGraphNodeTemplate
impl Sync for AgentGraphNodeTemplate
impl Unpin for AgentGraphNodeTemplate
impl UnsafeUnpin for AgentGraphNodeTemplate
impl UnwindSafe for AgentGraphNodeTemplate
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
Mutably borrows from an owned value. Read more