Return finished briefs instead of "being written" on frozen instances #13
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.33) × (1 − Review Confidence (0.43)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.33 · 145 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 49% · 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.298
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #13"
general
weight: 0.35
cursor[bot]
Found while verifying the production deploy of
main.Bug
After a brief was written,
get_build_briefkept answering "The brief … is being written right now", even though/j/<id>showed the finished brief. In production this persisted well past the intended 60 s.Cause
After a successful write, the in-memory entry was removed by a 60 s
setTimeout. Vercel freezes an instance between requests, so the timer may not fire. Meanwhile, lookups saw the entry and reported the job aspendingbefore checking whether it had finished.Fix
Verification
saved. The other uses mocked time to confirm the minute-long window expires with no timer involved.🤖 Generated with Claude Code