pub struct SupervisorAgent { /* private fields */ }Expand description
Supervisor agent that validates artifact dispositions against dependencies.
Implementations§
Source§impl SupervisorAgent
impl SupervisorAgent
Sourcepub fn validate(&self, artifacts: &[Artifact]) -> ValidationResult
pub fn validate(&self, artifacts: &[Artifact]) -> ValidationResult
Validate artifact dispositions against the dependency graph.
Returns a ValidationResult with warnings about:
- Rejecting artifacts that others depend on (coupled rejections)
- Approving artifacts that depend on rejected ones (broken dependencies)
- “Discuss” artifacts blocking approvals
And errors for:
- Cyclic dependencies
- Self-dependencies
Auto Trait Implementations§
impl Freeze for SupervisorAgent
impl RefUnwindSafe for SupervisorAgent
impl Send for SupervisorAgent
impl Sync for SupervisorAgent
impl Unpin for SupervisorAgent
impl UnsafeUnpin for SupervisorAgent
impl UnwindSafe for SupervisorAgent
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