fix: report send, edge and workflow outcomes accurately #4202
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.40) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 313 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.344
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #4202"
general
weight: 0.35
openrig-review
What a user gets
Single-seat, HTTP
--hostand fan-out sends distinguish an unconfirmed submission from a reported one. Fan-out text also excludes an unconfirmed typed submission from its delivered count, including when--verifycannot capture the pane; API fields and exit codes stay unchanged. Edge receipts use the shared recovery-owner resolver and explain its fallback, including a sole parent without a recorded session.An ambiguous workflow
--next-ownerreturns HTTP 400 / CLI exit 1 instead of HTTP 500 / exit 2, with the packet and workflow unchanged. Credit to the review of #4201's documentation work for the findings, and to CodeRabbit for the single-send, fan-out and missing-session observations there.How you verified it
On Linux, Node 22.23.4: 374 affected tests passed (112 daemon, 262 CLI), with no skips or todos. Both new fan-out cases failed on the merged baseline and passed after the fix. Full build, lint/typecheck and all 58 context packs passed. Native
rig send --helpbefore/after differs only by removing “on this host”. Full repository tests and macOS were not run locally.Anything you were unsure about
Merged main
dbf9a3adnormally, retaining the claimed-work escalation clause alongside the recovery-owner rule. Single and fan-out sends share the existing receipt ternary. The changes add local formatting/counting and shared-resolver reads at edge mutation; no extra transport calls, dependencies, schema changes or route-selection changes.CHANGELOG.mdedit<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
Bug Fixes
Workflow requests with an ambiguous next owner now return a client error without changing workflow state.
Routing messages identify when the existing fallback is used because no recovery owner was resolved.
Improvements
Send results distinguish confirmed deliveries from submissions whose receipt could not be confirmed. Fan-out summaries report unconfirmed submissions separately.
Recovery routing reflects eligible escalation destinations and recorded sessions where available.
Documentation
Updated routing and send guidance to explain fallback behavior and unconfirmed results.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->