Preserve context when a prefetched source is unavailable #9676
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.36) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 208 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.320
Real PR Conversation Timeline
1 comments
"Review active on #9676"
general
weight: 0.35
loopx-agent
User outcome
An agent continuing a settled Todo can trust the source reference carried by an optional prefetch receipt. If the verified capture disappears or changes before host delivery, the Turn can still proceed with its existing working context.
Change
The Turn driver reuses the bounded regular-file reader and verifies the capture digest immediately before applying an EpochReset receipt. An unavailable or changed source uses the existing KeepRaw path without replaying prefetch or claiming savings. Valid sources retain the original token gate. The verifier shares its source snapshot with the external baseline calculation.
Validation
bd95159de8a3. Both unavailable-source cases retained all 470 raw fixture markers in actual provider input. The intact-source control still folded. Each scenario recorded two Todo debits. The companion integration stays with #9503. Paid Grid results, AGY, and DSH are separate qualification work.