pub struct RoundReport {
pub loop_name: String,
pub intent: String,
pub level: LoopLevel,
pub maker: Option<SubagentReport>,
pub checker: Option<SubagentReport>,
pub decision: Option<GateDecision>,
pub action: Option<ActionReceipt>,
pub input_tokens: u64,
pub output_tokens: u64,
pub outcome: RoundOutcome,
}Expand description
The full record of a round — the maker/checker reports, token spend, the gate decision, and the outcome. Suitable for delivery to a channel and for writing to memory.
Fields§
§loop_name: String§intent: String§level: LoopLevel§maker: Option<SubagentReport>§checker: Option<SubagentReport>§decision: Option<GateDecision>§action: Option<ActionReceipt>§input_tokens: u64§output_tokens: u64§outcome: RoundOutcomeImplementations§
Source§impl RoundReport
impl RoundReport
pub fn total_tokens(&self) -> u64
Sourcepub fn should_deliver(&self) -> bool
pub fn should_deliver(&self) -> bool
Whether this round produced something worth delivering to a human. A clean auto-proceed at L3 is intentionally quiet.
Trait Implementations§
Source§impl Clone for RoundReport
impl Clone for RoundReport
Source§fn clone(&self) -> RoundReport
fn clone(&self) -> RoundReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RoundReport
impl RefUnwindSafe for RoundReport
impl Send for RoundReport
impl Sync for RoundReport
impl Unpin for RoundReport
impl UnsafeUnpin for RoundReport
impl UnwindSafe for RoundReport
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