Skip to main content

Module session_review

Module session_review 

Source

Structs§

SessionReviewAgentDocExpansionHandle
SessionReviewAgentDocQueueProfile
SessionReviewCloseout
SessionReviewCommand
SessionReviewCostSummary
SessionReviewFailure
SessionReviewFileRef
SessionReviewLargestTurn
SessionReviewNextContext
SessionReviewOptions
SessionReviewPhaseTiming
SessionReviewPromptCacheHealth
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.
SessionReviewPromptTarget
SessionReviewReport
SessionReviewRuntimeEvent
SessionReviewSession
SessionReviewSymbolRef
SessionReviewVerificationState

Functions§

build_prompt_cache_health
Build the base prompt-cache health summary from data available at compute time: the aggregate cached-input ratio and the latest matched session’s ROI scorecard row (which carries net cached-read tokens, read/create ratio, trend, and the suspected prompt-cache invalidation cause = top drift attribution). Cross-run regression flags are layered on later by the CLI.
compute
compute_with_options
compute_with_options_and_phases
compute_with_phases
enrich_prompt_cache_health_with_cross_run
Fold persisted cross-run regression detail lines (#avbq) into a base health summary, escalating status to regressed when any cross-run regression is present. Returns the (possibly newly-created) health summary.