pub struct SupervisorReview {
pub verdict: SupervisorVerdict,
pub scope_ok: bool,
pub findings: Vec<String>,
pub summary: String,
pub agent: String,
pub duration_secs: f32,
}Expand description
The result of an AI supervisor reviewing staged changes.
Embedded in DraftPackage.supervisor_review.
Fields§
§verdict: SupervisorVerdictOverall verdict: pass, warn, or block.
scope_ok: boolWhether changes stayed within the goal’s declared scope.
findings: Vec<String>Specific findings from the review (concerns, observations).
summary: StringOne-sentence summary of the review.
agent: StringWhich supervisor produced this review (“builtin”, “claude-code”, “codex”, etc.).
duration_secs: f32How long the supervisor took in seconds.
Trait Implementations§
Source§impl Clone for SupervisorReview
impl Clone for SupervisorReview
Source§fn clone(&self) -> SupervisorReview
fn clone(&self) -> SupervisorReview
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SupervisorReview
impl Debug for SupervisorReview
Source§impl<'de> Deserialize<'de> for SupervisorReview
impl<'de> Deserialize<'de> for SupervisorReview
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
Auto Trait Implementations§
impl Freeze for SupervisorReview
impl RefUnwindSafe for SupervisorReview
impl Send for SupervisorReview
impl Sync for SupervisorReview
impl Unpin for SupervisorReview
impl UnsafeUnpin for SupervisorReview
impl UnwindSafe for SupervisorReview
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