fix(queue): a dead seat's sweep finding names the rule that chose its recovery seat #2033
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 172 lines diff across 2 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.308
Shallow Review Depth
shallow_review_depth
0.289
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #2033"
general
weight: 0.35
openrig-review
What a person gets
When a seat's session is confirmed missing, the stuck sweep sends its finding to a live recovery seat. The finding's "why" now says which rule chose that seat, so whoever receives it knows why it landed on them, and which setting to change if it shouldn't have:
Before, it named only the destination. The sentence for "no live recovery seat is available" is unchanged.
The change
packages/daemon/src/domain/queue-stuck-sweep.ts:- the recovery seat is picked by index over the same candidates, in the same order, with the same rules;
- a constant names each rule;
- the reroute sentence appends the name.
Proof
queue-stuck-sweep.test.tspins the rule name for each of the three outcomes. The operator-seat case only checked the destination before.-
queue-stuck-sweep,queue-stuck-sweep-human-custodyandqueue-wake-ladderpass 184 of 184 (two workers);- the daemon's
tsc --noEmitexits 0.🤖 Generated with Claude Code