Bug: Runtime V2 fails completed tasks as no-progress and records doneFileFound: false despite .DONE
Summary
Taskplane Runtime V2 repeatedly fails completed documentation tasks as No progress after 3 iterations. The failure occurs even when all STATUS.md checkboxes are complete and, in DEVOPS-015, even when the worker-created .DONE marker exists in the lane worktree.
Reproductions
DEVOPS-014 — complete checklist, no .DONE
- Flat 7-checkbox task.
- Worker obeyed runtime-owned
.DONE rule and did not create .DONE.
STATUS.md complete, report exists, git clean.
- Runtime failed task as
No progress after 3 iterations.
DEVOPS-015 — complete checklist, .DONE present
- Flat 8-checkbox task.
- Worker explicitly created
.DONE as final marker.
- Lane verified
.DONE exists.
- Final batch state still persisted
doneFileFound: false and failed as No progress after 3 iterations.
Expected
A task with all tracked checkboxes complete and .DONE present should be marked succeeded. The no-progress intercept should not override already observed completion.
Actual
Batch ends paused/failed:
{
"status": "failed",
"doneFileFound": false,
"exitReason": "No progress after 3 iterations"
}
Suspected areas
- Runtime V2
.DONE path lookup may be checking the wrong task folder/worktree path.
- Completion marker detection may happen before final worker commits and then be cached.
- Exit-intercept/no-progress state may override success state.
- UI/status can briefly show
succeeded before final persisted state flips to failed.
Local evidence
See /Users/mlab/devops/docs/devops/20260523[DEBUG]taskplane_runtime_completion_bugs.md.
Bug: Runtime V2 fails completed tasks as no-progress and records
doneFileFound: falsedespite.DONESummary
Taskplane Runtime V2 repeatedly fails completed documentation tasks as
No progress after 3 iterations. The failure occurs even when allSTATUS.mdcheckboxes are complete and, in DEVOPS-015, even when the worker-created.DONEmarker exists in the lane worktree.Reproductions
DEVOPS-014 — complete checklist, no
.DONE.DONErule and did not create.DONE.STATUS.mdcomplete, report exists, git clean.No progress after 3 iterations.DEVOPS-015 — complete checklist,
.DONEpresent.DONEas final marker..DONEexists.doneFileFound: falseand failed asNo progress after 3 iterations.Expected
A task with all tracked checkboxes complete and
.DONEpresent should be marked succeeded. The no-progress intercept should not override already observed completion.Actual
Batch ends paused/failed:
{ "status": "failed", "doneFileFound": false, "exitReason": "No progress after 3 iterations" }Suspected areas
.DONEpath lookup may be checking the wrong task folder/worktree path.succeededbefore final persisted state flips to failed.Local evidence
See
/Users/mlab/devops/docs/devops/20260523[DEBUG]taskplane_runtime_completion_bugs.md.