feat(doubts): cap fact-doubt claims and alarm on a loop answering none #3719
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.43) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.43 · 370 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 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
Diff Size
diff_size
0.354
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #3719"
general
weight: 0.35
cursor[bot]
The scheduled fact-doubt loop (#3715) claims doubts and answers them on the subscription. Two gaps found on its first fire (2026-11-22 19:05 UTC):
One migration,
20261122201000_fact_doubt_claim_cap.sql:fact_doubt_ineligibility: the 20261120070000 body (repo matches live, compared 2026-11-22) plusclaimed_6_times. A doubt claimed six times is no longer offered or accepted.assay_subscription_readers: the 20261122190000 body plus a failure when thefact-doubt-cycleheartbeat carries three or more zero-answer fires begun over two hours ago. The run is carried byreader-heartbeat.mjsonframes/read, which the cycle reports from #3718.Live before: 0 open fact doubts at six claims.
Test plan
test_fact_doubt_questions.sqlon PG17 with the capped function: the whole contract plus five claims offered, sixth claimed, its answer refused withclaimed_6_times, not offered againtest_fact_doubt_cycle_heartbeat.sqlon PG17: two runs or a run begun 30 min ago pass; three over two hours fail with the failure classessubscription-reader-watchstays green🤖 Generated with Claude Code
<!-- CURSOR_SUMMARY -->
---
<!-- /CURSOR_SUMMARY -->