Task Status - Kiro's internal state mismatches tasks.md
Before opening, please confirm:
- [x] I have searched for duplicate or closed issues
Operating System
win32
Kiro Version
0.12.224
Bug Description
can you describe what's happening between what I see and what you see? I want to make an issue report,so talk like a tech at Kiro would read.
Issue Report: Task Status Desynchronization Between Editor and Task System
Summary
The editor displays task checkbox states that do not match the task system's internal state tracking. Specifically, tasks marked [x] (complete) in the markdown file are reported as "Not Started" by task_list queries.
What You See (Editor)
- Tasks 1–10:
[x](checked, visually complete) - Tasks 11–14:
[ ](unchecked, visually not started) - Task 15:
[x](checked, visually complete)
What I See (Task System)
When querying task_list on the same file:
- Total: 15 tasks
- Completed: 11
- Remaining: 4
- Ready: 0
When querying specific tasks:
- Tasks 6, 7, 8: Reported as
status: "Not Started"despite being marked[x]in the file - Tasks 11–14: Reported as
status: "Not Started"with dependencies on 6, 7, 8 - Task 15: Reported as
status: "completed"(matches editor)
Root Cause Analysis
Hypothesis: The task system parses checkbox state ([x] vs [ ]) from the markdown, but the internal status field (**Status**: Not Started | In Progress | Complete) is the authoritative source. The two are out of sync.
Evidence:
- Task 15 shows
[x]in editor ANDstatus: "completed"in system → match - Tasks 6, 7, 8 show
[x]in editor BUTstatus: "Not Started"in system → mismatch - The
task_listsummary reports 11 completed, which aligns with the count of[x]checkboxes (1–10, 15), not with the internal status fields
Likely Mechanism:
- The checkbox state is parsed from markdown syntax (
[x]vs[ ]) - The
**Status**: ...field is parsed separately - When they disagree, the system may be using the
**Status**field as authoritative for queries, but the checkbox for display - OR the checkbox parser is working, but the status field wasn't updated when checkboxes were marked
Impact
- Wave-based scheduling is blocked: tasks 11–14 show as "not ready" even though their dependencies (6, 7, 8) are marked complete
- Orchestrator cannot proceed to the next wave because the system doesn't recognize task 10 as complete (it shows
[x]butstatus: "Not Started") - Manual task status updates via
task_updatework correctly (Task 15 was updated and now shows as complete), but bulk checkbox updates in the markdown don't sync
Reproduction Steps
- Open
tasks.mdin editor - Mark a task as complete: change
- [ ]to- [x] - Query
task_liston that task - Observe: checkbox shows
[x], buttask_listreportsstatus: "Not Started"
Suggested Fix
The task system should either:
- Option A: Parse checkbox state as the source of truth and ignore the
**Status**field, OR - Option B: Require that checkbox state and
**Status**field stay in sync, with validation that flags mismatches, OR - Option C: Provide a sync mechanism that updates the
**Status**field when checkboxes are manually edited in the editor
Workaround (Current)
Use task_update to explicitly set status rather than relying on checkbox edits to propagate. This is what worked for Task 15.
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
tasks.mdin editor - Mark a task as complete: change
- [ ]to- [x] - Query
task_liston that task - Observe: checkbox shows
[x], buttask_listreportsstatus: "Not Started"
Expected Behavior
Kiro's Orchestrator should have the same view as the tasks.md. i.e. what is checked as complete in tasks.md should be what the orchestrator sees and acts on.
I also see that, since v0.12.155, especially with the multi-sub-agent completing co-parallel tasks, that the tasks are declared completed in the chat log, but remain uncompleted in the tasks.md. Sometimes this sorts out after the list of tasks completes, but often, it means if there is a hiccup, and the flow stops, or the context fills, summarizes and starts a new context, the same task is restarted anew, wasting time and tokens. I further see the flow either not starting when "run all tasks" is selected, or the orchestrator just stops in the middle of "run all tasks"
This is really quite annoying, and degrades productivity and token efficency.
Conversation ID
f5519632-e4d1-484f-9ec9-ce9a60ab933a
Additional Context
🤖 Potential Duplicate Detected
This issue appears to be similar to:
- #8777: Sub Agents In Parallel Working to Task Execution Command Execution Issue (85% similar)
- #8714: Task Management Defect (85% similar)
- #6303: TODO list state from previous sessions bleeds into new chat conversations (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 task execution and parallel sub-agents, specifically mentioning task status synchronization issues and problems with task completion tracking in the orchestrator system
These other issues are different, although they may have related.
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.
I started a "run all tasks" to open a new context, and it's still hosed. Note the mismatched understanding of "complete". Going to try turning-it-off-and-on-again
Thanks for the detailed write-up — the checkbox-vs-Status-field split and the parallel-dispatch persistence gap are exactly the right framing. The task orchestration engine was substantially reworked across the 1.0.x releases, including how task state is persisted during parallel sub-agent execution. Could you retest on the latest IDE (1.0.52) and let us know if the desync and re-run behavior still reproduce? To update: download from kiro.dev. If it persists, a fresh conversation ID from 1.0.52 plus the tasks.md snapshot would help us pinpoint where the write is dropped.
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.