pub struct SessionReviewPromptCacheHealth {
pub status: String,
pub cached_input_ratio: Option<f64>,
pub net_cached_read_tokens: Option<i64>,
pub read_create_ratio: Option<String>,
pub trend: Option<String>,
pub top_drift_attribution: Option<String>,
pub cross_run_regressions: Vec<String>,
pub summary_line: String,
}Expand description
Inline prompt-cache health for the resumable handoff (#wwm1): surfaces
caching effectiveness + top prefix-drift attribution so an agent sees cache
health in session-review --next-context / context-pack without running
the session-cost --fixture gate.
Fields§
§status: Stringhealthy | watch | regressed.
cached_input_ratio: Option<f64>§net_cached_read_tokens: Option<i64>§read_create_ratio: Option<String>§trend: Option<String>§top_drift_attribution: Option<String>Top prefix-drift attribution (the latest session’s suspected prompt-cache invalidation cause).
cross_run_regressions: Vec<String>Cross-run regression detail lines, enriched by the CLI from the persisted
.tsift/prompt-cache-history comparison (#avbq) when available.
summary_line: StringOne-line human summary for compact/human renderings.
Trait Implementations§
Source§impl Clone for SessionReviewPromptCacheHealth
impl Clone for SessionReviewPromptCacheHealth
Source§fn clone(&self) -> SessionReviewPromptCacheHealth
fn clone(&self) -> SessionReviewPromptCacheHealth
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 Serialize for SessionReviewPromptCacheHealth
impl Serialize for SessionReviewPromptCacheHealth
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
impl StructuralPartialEq for SessionReviewPromptCacheHealth
Auto Trait Implementations§
impl Freeze for SessionReviewPromptCacheHealth
impl RefUnwindSafe for SessionReviewPromptCacheHealth
impl Send for SessionReviewPromptCacheHealth
impl Sync for SessionReviewPromptCacheHealth
impl Unpin for SessionReviewPromptCacheHealth
impl UnsafeUnpin for SessionReviewPromptCacheHealth
impl UnwindSafe for SessionReviewPromptCacheHealth
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