pub struct AgenticSystemValidationReport { /* private fields */ }Expand description
The complete outcome of analysing an agentic system design.
Every defect, not the first one: a design has a dozen kinds of element that can disagree with each other, and an author told about one at a time would need a dozen round trips to get a publishable system.
The resolved pins travel with the report because they are what the analysis was performed against. A report that said “publishable” without saying which published definitions it checked would be an opinion about an unnamed set of documents.
Implementations§
Source§impl AgenticSystemValidationReport
impl AgenticSystemValidationReport
pub fn new( findings: impl IntoIterator<Item = AgenticSystemValidationFinding>, resolved_pins: impl IntoIterator<Item = (SystemCeremonyId, DefinitionPin)>, ) -> Self
pub fn findings(&self) -> &[AgenticSystemValidationFinding]
pub const fn resolved_pins(&self) -> &BTreeMap<SystemCeremonyId, DefinitionPin>
pub fn errors(&self) -> impl Iterator<Item = &AgenticSystemValidationFinding>
pub fn warnings(&self) -> impl Iterator<Item = &AgenticSystemValidationFinding>
Sourcepub fn first_error(&self) -> Option<&AgenticSystemValidationFinding>
pub fn first_error(&self) -> Option<&AgenticSystemValidationFinding>
The first blocking finding, in check order.
Sourcepub fn is_publishable(&self) -> bool
pub fn is_publishable(&self) -> bool
A design may be published only when no finding blocks it.
Sourcepub fn blocking_summary(&self) -> String
pub fn blocking_summary(&self) -> String
Every blocking finding on one line, for an error envelope that has room for a sentence rather than a structure.
Trait Implementations§
impl StructuralPartialEq for AgenticSystemValidationReport
Auto Trait Implementations§
impl Freeze for AgenticSystemValidationReport
impl RefUnwindSafe for AgenticSystemValidationReport
impl Send for AgenticSystemValidationReport
impl Sync for AgenticSystemValidationReport
impl Unpin for AgenticSystemValidationReport
impl UnsafeUnpin for AgenticSystemValidationReport
impl UnwindSafe for AgenticSystemValidationReport
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