Skip to main content

Module assertion

Module assertion 

Source

Structs§

Assertion
Collection of assertion clauses evaluated against one turn.
AssertionEvalContext
Runtime inputs needed while evaluating one assertion tree.
AssertionResultDetail
Result detail for one evaluated assertion clause.
FactsAssertion
Assertion over actor facts collected after a turn.
ObservabilityAssertion
Assertion over the observability report for a turn.
ObservabilityDimensionAssertion
Assertion over observability metrics matching all listed dimensions.
OrchestrationAssertion
Assertion over orchestration metadata attached to a turn.
PathAssertion
Dot-path assertion used for metadata, context, tools, and metrics.
RelationshipAssertion
Assertion over actor relationship memory evidence.
ToolCalledObject
Object form for checking tool execution evidence.

Enums§

AssertionOutcome
Final outcome returned by assertion evaluation.
DisambiguationExpectation
Expected disambiguation state for an assertion.
SecretAssertion
Boolean or ID form for persona secret assertions.
StringList
YAML helper accepting either one string or a list of strings.
ToolCalledAssertion
String or object form for tool call assertions.

Functions§

evaluate_assertion