fix(queue): route parent backlog notices past terminal seats #4216
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.44) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.44 · 264 lines diff across 3 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.334
Shallow Review Depth
shallow_review_depth
0.289
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #4216"
general
weight: 0.35
openrig-review
A delegation-parent backlog notice could be addressed to a terminal seat, leaving nobody to act on it. Reuse the unclaimed-reminder recipient resolver from #4215, without its creator override: try the parent, then the configured receiver, then the registered person. Unknown runtimes remain eligible. Topology ownership is unchanged.
A selection failure is reported for that notice while the sweep continues to later seats and phases. Existing standing notices are left untouched on failure. When a current parent's notice needs a replacement, it closes only after the replacement is written; notices already handed elsewhere keep that custody. The underlying work remains assigned and unclaimed.
Related: #4209. Thanks to Kayhusk for reporting this class of stranded escalation.
Merged main including #4215 with an ordinary merge; the diff against that main is only the sweep and its parent-backlog test.
Validation: 486 tests pass across eight focused files on the merged tree, with no failures, skips, or pending cases; daemon build and typecheck pass. This includes main's new conversation-answer-return tests. The two feature files are byte-identical to reviewed R1 head d6edf2fc; the diff against merged main is only those files. Earlier C1 proof remains recorded: eight regression variants failed on 2482ac09 because the later healthy seat got no notice, while six controls passed.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
Bug Fixes
Backlog notices are now directed to an eligible recipient, including an alternate recipient when the delegation parent cannot receive them.
Notices are deferred when no recipient is available. If recipient selection fails, existing notices remain unchanged, and processing can continue for other eligible recipients.
Existing notices are returned to the delegation parent when it is no longer eligible, unless they have already been transferred elsewhere.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->