pub struct Evaluation {
pub rule_id: Id,
pub decision: Decision,
pub readiness_bucket: ReadinessBucket,
pub evidence_refs: Vec<EvidenceRef>,
pub failure_code: Option<FailureCode>,
pub human_approval_required: ApprovalGate,
pub safe_agent_actions: Vec<SafeAgentAction>,
}Expand description
Evaluation used by the booking-readiness workflow; it keeps booking work grounded in deterministic policy evidence before any agent draft reaches staff.
Fields§
§rule_id: IdRule id preserved as evidence for audit, review, or agent context.
decision: DecisionDecision preserved as evidence for audit, review, or agent context.
readiness_bucket: ReadinessBucketReadiness bucket preserved as evidence for audit, review, or agent context.
evidence_refs: Vec<EvidenceRef>Evidence refs preserved as evidence for audit, review, or agent context.
failure_code: Option<FailureCode>Failure code preserved as evidence for audit, review, or agent context.
human_approval_required: ApprovalGateHuman approval required preserved as evidence for audit, review, or agent context.
safe_agent_actions: Vec<SafeAgentAction>Safe agent actions preserved as evidence for audit, review, or agent context.
Implementations§
Source§impl Evaluation
impl Evaluation
Sourcepub fn pass(rule_id: Id, evidence_refs: Vec<EvidenceRef>) -> Self
pub fn pass(rule_id: Id, evidence_refs: Vec<EvidenceRef>) -> Self
Builds or derives pass data for the booking-readiness workflow’s reviewed decision model.
Sourcepub fn unknown(finding: ReviewFinding) -> Self
pub fn unknown(finding: ReviewFinding) -> Self
Builds or derives unknown data for the booking-readiness workflow’s reviewed decision model.
Sourcepub fn needs_human_approval(finding: ReviewFinding) -> Self
pub fn needs_human_approval(finding: ReviewFinding) -> Self
Builds or derives needs human approval data for the booking-readiness workflow’s reviewed decision model.
Sourcepub fn hard_block(finding: ReviewFinding) -> Self
pub fn hard_block(finding: ReviewFinding) -> Self
Builds or derives hard block data for the booking-readiness workflow’s reviewed decision model.
Trait Implementations§
Source§impl Clone for Evaluation
impl Clone for Evaluation
Source§fn clone(&self) -> Evaluation
fn clone(&self) -> Evaluation
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more