Bohan Jiang
cc1f5cda8a
fix(issues): don't call an intermediate stage final in child-done comment (MUL-4062) ( #4932 )
...
The staged child-done system comment derived its "final stage vs next
stage" wording from stageProgressSummary over the sub-issues that
currently exist. The server has no declarative workflow model — stages
are agent-driven and often created lazily (stage N+1's sub-issues are
written only after stage N produces the inputs they depend on), so an
intermediate stage reaches nextStage==0 exactly like a true final stage.
The old else branch then asserted "This was the final stage. Wrap up the
parent", pushing leaders/humans to wrap up mid-workflow (GH #4927 ).
Extract the trailing instruction into stageAdvanceInstruction and, when
no later stage exists among the created sub-issues, stop asserting
finality: name both possibilities (create the next stage, or wrap up)
and hand the decision back to the leader. Add a unit test locking in
that the nextStage==0 message never claims a definitive final stage.
Co-authored-by: J <j@multica.ai >
Co-authored-by: multica-agent <github@multica.ai >
2026-07-05 01:35:00 +08:00
..
2026-06-17 15:18:44 +02:00
2026-07-03 14:18:43 +08:00
2026-07-03 14:18:43 +08:00
2026-07-03 14:18:43 +08:00
2026-07-03 14:18:43 +08:00
2026-07-03 17:56:02 +08:00
2026-06-13 15:33:28 +08:00
2026-07-03 17:56:02 +08:00
2026-07-03 17:56:02 +08:00
2026-06-17 08:23:20 +02:00
2026-07-03 14:18:43 +08:00
2026-06-03 16:39:06 +08:00
2026-06-15 14:12:24 +08:00
2026-06-30 12:29:11 +08:00
2026-07-03 14:18:43 +08:00
2026-06-18 13:33:14 +08:00
2026-06-03 16:39:06 +08:00
2026-07-03 14:18:43 +08:00
2026-06-18 09:40:38 +08:00
2026-07-01 12:46:47 +08:00
2026-07-01 12:46:47 +08:00
2026-06-24 12:46:20 +08:00
2026-07-03 14:18:43 +08:00
2026-06-24 09:52:18 +08:00
2026-06-01 08:28:15 +08:00
2026-06-10 14:20:39 +08:00
2026-06-30 12:24:57 +08:00
2026-07-03 17:42:06 +08:00
2026-07-03 14:18:43 +08:00
2026-07-03 14:18:43 +08:00
2026-06-03 16:39:06 +08:00
2026-06-04 13:12:32 +08:00
2026-06-24 16:19:30 +08:00
2026-06-24 16:25:17 +08:00
2026-06-17 16:00:22 +08:00
2026-07-03 14:18:43 +08:00
2026-07-02 18:31:45 +08:00
2026-06-18 11:10:06 +08:00
2026-07-03 14:18:43 +08:00
2026-06-03 16:39:06 +08:00
2026-07-02 14:33:09 +08:00
2026-07-01 13:28:44 +08:00
2026-07-02 17:21:50 +08:00
2026-07-02 17:21:50 +08:00
2026-07-03 14:18:43 +08:00
2026-06-21 23:41:05 +08:00
2026-07-03 14:18:43 +08:00
2026-06-26 12:09:15 +08:00
2026-07-03 16:10:19 +08:00
2026-07-03 16:10:19 +08:00
2026-06-03 16:39:06 +08:00
2026-07-02 14:11:10 +08:00
2026-06-23 00:14:42 +08:00
2026-07-05 01:35:00 +08:00
2026-07-02 15:48:45 +08:00
2026-07-05 01:35:00 +08:00
2026-06-24 16:06:14 +08:00
2026-06-02 17:17:41 +08:00
2026-06-23 13:17:13 +08:00
2026-07-03 14:18:43 +08:00
2026-06-16 12:26:44 +08:00
2026-07-03 14:18:43 +08:00
2026-06-25 00:19:13 +08:00
2026-06-25 00:19:13 +08:00
2026-06-24 12:46:20 +08:00
2026-06-24 12:46:20 +08:00
2026-07-03 14:18:43 +08:00
2026-07-03 14:18:43 +08:00
2026-06-30 12:24:57 +08:00
2026-06-03 16:39:06 +08:00
2026-07-01 17:53:16 +08:00
2026-07-01 17:53:16 +08:00
2026-06-24 16:25:17 +08:00
2026-06-24 16:25:17 +08:00
2026-06-21 23:54:58 +08:00
2026-06-21 23:54:58 +08:00
2026-06-12 16:45:38 +08:00
2026-07-02 18:31:45 +08:00
2026-06-08 13:08:38 +08:00
2026-06-23 16:52:46 +08:00
2026-06-11 13:00:56 +08:00
2026-06-22 13:14:22 +08:00
2026-07-02 14:38:05 +08:00
2026-06-11 13:00:56 +08:00
2026-06-18 15:24:41 +08:00
2026-07-02 14:38:05 +08:00
2026-06-23 14:20:18 +08:00
2026-07-03 14:18:43 +08:00
2026-07-02 14:38:05 +08:00
2026-06-18 11:10:06 +08:00
2026-07-02 14:38:05 +08:00
2026-07-03 14:18:43 +08:00
2026-06-11 13:00:56 +08:00
2026-06-30 14:46:46 +08:00
2026-06-30 14:46:46 +08:00
2026-06-11 13:00:56 +08:00
2026-06-01 15:19:42 +08:00
2026-06-22 13:34:06 +08:00
2026-06-30 14:46:46 +08:00
2026-06-29 14:09:34 +08:00
2026-06-29 14:09:34 +08:00
2026-06-26 16:01:33 +08:00
2026-06-26 16:01:33 +08:00
2026-06-26 16:01:33 +08:00
2026-07-03 17:42:06 +08:00
2026-07-03 14:18:43 +08:00
2026-06-02 13:03:15 +08:00
2026-07-03 14:18:43 +08:00
2026-07-03 17:42:06 +08:00
2026-07-03 17:42:06 +08:00
2026-07-03 14:18:43 +08:00
2026-06-02 14:29:29 +08:00
2026-06-30 12:29:11 +08:00
2026-06-25 01:29:20 +08:00
2026-07-03 14:18:43 +08:00
2026-06-24 12:46:20 +08:00
2026-06-13 01:22:45 +08:00