pub struct SessionReviewReport {Show 44 fields
pub root: String,
pub target: String,
pub target_kind: String,
pub sessions_considered: usize,
pub sessions_matched: usize,
pub claude_sessions: usize,
pub codex_sessions: usize,
pub agent_doc_logs: usize,
pub prompt_target_count: usize,
pub command_groups: usize,
pub file_groups: usize,
pub symbol_groups: usize,
pub failure_groups: usize,
pub runtime_event_groups: usize,
pub restart_churn_groups: usize,
pub closeout_groups: usize,
pub usage_samples: usize,
pub prompt_tokens: u64,
pub cached_input_tokens: u64,
pub cache_creation_input_tokens: u64,
pub output_tokens: u64,
pub reasoning_output_tokens: u64,
pub total_tokens: u64,
pub cached_input_ratio: Option<f64>,
pub largest_turn_total_tokens: u64,
pub aggregate_cost: SessionReviewCostSummary,
pub latest_session_cost: Option<SessionReviewCostSummary>,
pub prompt_cache_cross_run: Option<PromptCacheCrossRunComparison>,
pub prompt_cache_roi_scorecard: Vec<SessionCostPromptCacheRoiScorecard>,
pub guardrails: Vec<SessionCostGuardrail>,
pub loop_clusters: Vec<SessionCostLoopCluster>,
pub file_read_diagnostics: Vec<SessionCostFileReadDiagnostic>,
pub prompt_targets: Vec<SessionReviewPromptTarget>,
pub commands: Vec<SessionReviewCommand>,
pub touched_files: Vec<SessionReviewFileRef>,
pub touched_symbols: Vec<SessionReviewSymbolRef>,
pub failures: Vec<SessionReviewFailure>,
pub runtime_events: Vec<SessionReviewRuntimeEvent>,
pub restart_churn: Vec<RestartChurnSummary>,
pub closeout: Vec<SessionReviewCloseout>,
pub largest_turns: Vec<SessionReviewLargestTurn>,
pub sessions: Vec<SessionReviewSession>,
pub next_context: SessionReviewNextContext,
pub warnings: Vec<String>,
}Fields§
§root: String§target: String§target_kind: String§sessions_considered: usize§sessions_matched: usize§claude_sessions: usize§codex_sessions: usize§agent_doc_logs: usize§prompt_target_count: usize§command_groups: usize§file_groups: usize§symbol_groups: usize§failure_groups: usize§runtime_event_groups: usize§restart_churn_groups: usize§closeout_groups: usize§usage_samples: usize§prompt_tokens: u64§cached_input_tokens: u64§cache_creation_input_tokens: u64§output_tokens: u64§reasoning_output_tokens: u64§total_tokens: u64§cached_input_ratio: Option<f64>§largest_turn_total_tokens: u64§aggregate_cost: SessionReviewCostSummary§latest_session_cost: Option<SessionReviewCostSummary>§prompt_cache_cross_run: Option<PromptCacheCrossRunComparison>Cross-run prompt-cache effectiveness comparison for the latest matched
session vs. the previous recorded run (#avbq). Populated by the CLI,
which owns persistence under .tsift/prompt-cache-history/.
prompt_cache_roi_scorecard: Vec<SessionCostPromptCacheRoiScorecard>§guardrails: Vec<SessionCostGuardrail>§loop_clusters: Vec<SessionCostLoopCluster>§file_read_diagnostics: Vec<SessionCostFileReadDiagnostic>§prompt_targets: Vec<SessionReviewPromptTarget>§commands: Vec<SessionReviewCommand>§touched_files: Vec<SessionReviewFileRef>§touched_symbols: Vec<SessionReviewSymbolRef>§failures: Vec<SessionReviewFailure>§runtime_events: Vec<SessionReviewRuntimeEvent>§restart_churn: Vec<RestartChurnSummary>§closeout: Vec<SessionReviewCloseout>§largest_turns: Vec<SessionReviewLargestTurn>§sessions: Vec<SessionReviewSession>§next_context: SessionReviewNextContext§warnings: Vec<String>Trait Implementations§
Source§impl Clone for SessionReviewReport
impl Clone for SessionReviewReport
Source§fn clone(&self) -> SessionReviewReport
fn clone(&self) -> SessionReviewReport
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 moreSource§impl Debug for SessionReviewReport
impl Debug for SessionReviewReport
Source§impl Serialize for SessionReviewReport
impl Serialize for SessionReviewReport
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for SessionReviewReport
impl RefUnwindSafe for SessionReviewReport
impl Send for SessionReviewReport
impl Sync for SessionReviewReport
impl Unpin for SessionReviewReport
impl UnsafeUnpin for SessionReviewReport
impl UnwindSafe for SessionReviewReport
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