pub struct Inputs {Show 18 fields
pub window_start_ms: u64,
pub window_end_ms: u64,
pub events: Vec<(SessionRecord, Event)>,
pub files_touched: Vec<(String, String)>,
pub skills_used: Vec<(String, String)>,
pub tool_spans: Vec<ToolSpanView>,
pub skills_used_recent_slugs: HashSet<String>,
pub usage_lookback_ms: u64,
pub skill_files_on_disk: Vec<SkillFileOnDisk>,
pub rule_files_on_disk: Vec<SkillFileOnDisk>,
pub rules_used_recent_slugs: HashSet<String>,
pub file_facts: HashMap<String, FileFact>,
pub aggregates: RetroAggregates,
pub eval_scores: Vec<(String, f64)>,
pub prompt_fingerprints: Vec<(String, String)>,
pub feedback: Vec<FeedbackRecord>,
pub session_outcomes: Vec<SessionOutcomeRow>,
pub session_sample_aggs: Vec<SessionSampleAgg>,
}Expand description
Workspace-local facts assembled once at the IO boundary.
Fields§
§window_start_ms: u64§window_end_ms: u64§events: Vec<(SessionRecord, Event)>Joined rows time-ordered.
files_touched: Vec<(String, String)>§skills_used: Vec<(String, String)>§tool_spans: Vec<ToolSpanView>§skills_used_recent_slugs: HashSet<String>Skills referenced in the last usage_lookback_ms window (for H1).
usage_lookback_ms: u64§skill_files_on_disk: Vec<SkillFileOnDisk>§rule_files_on_disk: Vec<SkillFileOnDisk>.cursor/rules/*.mdc stems (same shape as SkillFileOnDisk).
rules_used_recent_slugs: HashSet<String>§file_facts: HashMap<String, FileFact>§aggregates: RetroAggregates§eval_scores: Vec<(String, f64)>LLM-as-Judge eval scores for sessions in the window: (session_id, score 0..1).
prompt_fingerprints: Vec<(String, String)>Sessions with a recorded prompt fingerprint: (session_id, fingerprint).
feedback: Vec<FeedbackRecord>Human feedback records in the window.
session_outcomes: Vec<SessionOutcomeRow>Measured test/lint outcomes (Tier C) for sessions in the window.
session_sample_aggs: Vec<SessionSampleAgg>Aggregated process samples (Tier D) for sessions in the window.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Inputs
impl RefUnwindSafe for Inputs
impl Send for Inputs
impl Sync for Inputs
impl Unpin for Inputs
impl UnsafeUnpin for Inputs
impl UnwindSafe for Inputs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more