feat(orchestrator): a wave's slices for one assignee in one message (M3, D1562) #333
All Vouch review confidence checks passed
Residual risk 0.25 = Change Risk (0.42) × (1 − Review Confidence (0.41)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 332 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 77% · 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.347
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #333"
general
weight: 0.35
claude[bot]
What
M3's second L3 leak (
docs/plans/agents.md→ M3, D1562): a wave's slices for one assignee arrive as one message.slices.handoff.together { sliceIds }(new command, Zod in/out,missions.write+agents.message): hands slices asslices.handoffdoes (readiness, the escalation hold, thread links, active at the first step,nodefor another node's mission, D1545), grouped by mission and assignee, oneagents.sendper group. Answers{ handoffs, failed }: a group that cannot be handed fails whole with its error, the other groups go on; slices already active answerhanded: falseand send nothing.handoff-<slice>-<updatedAt>); several get "[Slices handed to you]" (handoffsTextinbrief.ts) with each slice's spec, step and review line and what they serve once; several review briefs share the room underMAX_MESSAGE_LENGTH(D1245), each cut with itsreview_briefaddress. The id of a group is a hash of its slices as planned, so a retry delivers once.slices.handoffper slice.slices.handoffis nowhandOffTogether([sliceId]), behaviour unchanged.SLICES_APART.docs/map.md,GLOSSARY.md(Handoff), the L3 Deferred item struck.Before (the L3 run): each handoff started a turn of its own; the reviewer did the wave in its first turn and spent the others answering "Duplicate handoff".
Evidence
New test
hands one assignee's slices together, in one message (D1562): two builder slices, an owner slice and an unassigned one in one call → the unassigned one infailed(SLICE_NOT_READY), the rest active; both builder slices link the same thread;agents.conversationwith the builder holds exactly one message, whose text names both slices, and the generation's turn starts with it; handing them again sends nothing (still one message). The existing orchestrator tests (one node and the mesh: a lead on another node, a node away) now run through the new path.The E2E civilization scenario (
handed: [walls, review], two assignees) keeps its order: groups go in the order of their first slice. CI runs it.🤖 Generated with Claude Code