pub enum TypedAssertion {
OutputContains {
turn: usize,
values: Vec<String>,
any: bool,
},
WorkspaceFile {
path: String,
contains: Vec<String>,
max_bytes: Option<usize>,
},
CommandExit {
name: String,
command_ref: String,
expected_exit_code: i32,
},
TraceEvent {
event_type: String,
minimum_count: usize,
},
ArtifactExists {
artifact_kind: String,
},
AgentEvaluator {
evaluator_ref: String,
config: Value,
},
Plugin {
plugin_ref: String,
config: Value,
},
}Expand description
Versioned typed assertion schema used by immutable Case versions.
Variants§
OutputContains
WorkspaceFile
CommandExit
TraceEvent
ArtifactExists
AgentEvaluator
Repository-owned evaluator executed by the Agent Runtime against the concrete trace and Workspace produced for this Case.
Plugin
A custom evaluator that is executed by the isolated executor. The control plane accepts only an attested result for the exact immutable plugin reference; it never loads plugin code into the service process.
Trait Implementations§
Source§impl Clone for TypedAssertion
impl Clone for TypedAssertion
Source§impl Debug for TypedAssertion
impl Debug for TypedAssertion
Source§impl<'de> Deserialize<'de> for TypedAssertion
impl<'de> Deserialize<'de> for TypedAssertion
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 TypedAssertion
Source§impl PartialEq for TypedAssertion
impl PartialEq for TypedAssertion
Source§impl Serialize for TypedAssertion
impl Serialize for TypedAssertion
impl StructuralPartialEq for TypedAssertion
Auto Trait Implementations§
impl Freeze for TypedAssertion
impl RefUnwindSafe for TypedAssertion
impl Send for TypedAssertion
impl Sync for TypedAssertion
impl Unpin for TypedAssertion
impl UnsafeUnpin for TypedAssertion
impl UnwindSafe for TypedAssertion
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