Orchestrator Role Conflict and Status-Update Durability Failure
Before opening, please confirm:
- [x] I have searched for duplicate or closed issues
Operating System
win32
Kiro Version
0.12.224
Bug Description
When Kiro is invoked to execute tasks from an existing spec (the "Run All Tasks" path or per-task execution), the system prompt loaded into the agent contains two distinct sets of orchestrator instructions that target different lifecycle phases:
- Spec Creation Orchestrator instructions — for transforming a rough idea into requirements / design / tasks documents.
- Task Execution Orchestrator instructions — for dispatching tasks from an already-completed
tasks.mdto subagents.
Both sets use overlapping vocabulary ("orchestrator mode", "tasks.md", "completion") but encode different intents and termination conditions. The agent has to perform role-disambiguation per turn. Two failure modes follow from this, both observed in practice:
- Observed (cosmetic): Closing messages at the end of a successful task-execution run are shaped by spec-creation completion conventions ("the spec is ready for implementation", "navigation links") that do not match what the user actually did.
- Observed (serious — wasted time and tokens): Under parallel task dispatch (wave-based execution where multiple
invoke_sub_agentcalls run concurrently), when one task hangs while siblings complete, the orchestrator's status-update calls for the completed siblings are delayed, batched, or skipped. The completed work's filesystem effects persist, buttasks.mddoes not record the completion. On the next session, the orchestrator re-queues and re-dispatches the already-completed work. The user has paid in tokens for the original completed work and now pays again — plus the time cost of the re-run, plus the risk of the second run producing different (and possibly worse) output than the first.
The two failure modes are linked: the same prompt-conflict pressure that produces the cosmetic defect distorts the agent's understanding of when to call taskUpdate under parallel-execution conditions, where the orchestrator's instructions have to specify per-subagent status writes rather than batch writes.
Version: 0.12.224 (user setup) VSCode Version: 1.107.1 Commit: 0170b9bdc3ab6f4e460d3089084d774a6ebd6dbf Date: 2026-05-20T22:03:21.816Z Electron: 39.6.0 Chromium: 142.0.7444.265 Node.js: 22.22.0 V8: 14.2.231.22-electron.0 OS: Windows_NT x64 10.0.19045
Steps to Reproduce
- Open a workspace with a completed spec (
requirements.md,design.md,tasks.mdall present). - Invoke task execution — "Run All Tasks" or a specific final task — on the spec.
- Allow the agent to dispatch all tasks via
spec-task-executionsubagent and reach the final task. - Observe the closing message produced by the orchestrator after the last
taskUpdatecall.
Expected Behavior
Expected: A short, neutral confirmation that all tasks completed.
Actual (in the session this report originated from): A long completion summary including a dispatch table, deliverable list, verification results, quality metrics, and "Next Steps" — content shaped by spec-creation completion conventions. When asked to introspect, the agent identified the source: the spec-creation rule "Do NOT show navigation links after tasks are generated. Instead, tell the user: 'The spec is ready for implementation!'" was active in its context despite being inapplicable to task execution.
Conversation ID
23392b61-1aa6-48e6-a350-48f64c612353 23392b61-1aa6-48e6-a350-48f64c612353 23392b61-1aa6-48e6-a350-48f64c612353 23392b61-1aa6-48e6-a350-48f64c612353 23392b61-1aa6-48e6-a350-48f64c612353
Additional Context
🤖 Potential Duplicate Detected
This issue appears to be similar to:
- #8800: Task Status - Kiro's internal state mismatches tasks.md (85% similar)
- #8777: Sub Agents In Parallel Working to Task Execution Command Execution Issue (85% similar)
- #8714: Task Management Defect (85% similar)
What happens next?
- ⏰ This issue will be automatically closed in 3 days
- 🏷️ If this is not a duplicate, you can prevent automatic closure by adding a comment or reacting with 👎 to this message.
- 💬 Comment on the original issue if you have additional information
Why is this marked as duplicate? Both issues report problems with Kiro's internal state not properly matching tasks.md status updates, leading to task execution inconsistencies and potential re-execution of completed work
similar, but extra details.
Thank you for your feedback! 🙏
The duplicate label has been removed and this issue has been sent back for maintainer review.
A maintainer will review this issue shortly.
Appreciate the careful separation of the cosmetic (completion-message templating) and serious (status-update durability under parallel dispatch) failure modes. This is closely related to #8800. The orchestrator prompts and parallel task-status writes were both reworked in the 1.0.x line. Could you retest on 1.0.52 and confirm whether the completed-sibling status writes are still dropped under wave execution? To update: download from kiro.dev.
This issue has been automatically closed due to inactivity. It has been 7 days since we requested additional information.
If you still need help with this issue, please feel free to reopen it or create a new issue with the requested details.