16 lines
666 B
Rust
16 lines
666 B
Rust
//! Host adapter types and assessment results for synchronous Guardian review.
|
|
//! The extension supplies agent startup and owns the reviewer pool and its lifecycle.
|
|
|
|
pub use crate::guardian::GuardianReviewSession;
|
|
pub use crate::guardian::GuardianReviewState;
|
|
pub use crate::guardian::PreparedGuardianContext;
|
|
pub use crate::guardian::prepare_review_prewarm;
|
|
|
|
/// The result of checking a recorded call without executing it.
|
|
#[derive(Debug, PartialEq, Eq)]
|
|
pub struct GuardianReviewResult {
|
|
pub call_id: String,
|
|
/// Absent when current policy or a remembered approval skips review.
|
|
pub assessment: Option<akode_guardian_reviewer::GuardianAssessment>,
|
|
}
|