Files
multica/server
J fcd6a0f4c1 MUL-2766: fix(squad): wake parent on child in_review, not just done
The runtime brief tells child agents to move their issue to `in_review`
when finished (the leader/human promotes to `done` after review). The
child-done notification was hardcoded to fire only on the `done`
transition, so squads were getting stuck: leader assigned work out,
child agents completed and moved to in_review, parent leader was never
woken.

Widen the trigger to fire on the transition into either `in_review` or
`done` (autopilot already treats them as a single completion signal).
Reuse the existing idempotency rule: once the parent has been told the
child is complete, the in_review ↔ done step is a no-op; a real reopen
(in_progress) followed by a fresh completion fires again.

Use different wording per status — in_review asks the leader to inspect
and accept/send back, done carries the existing promote-backlog-sibling
guidance.

Co-authored-by: multica-agent <github@multica.ai>
2026-05-28 13:09:46 +08:00
..