Task list can leave completed work marked pending

Resolved 💬 3 comments Opened Mar 23, 2026 by Jack-261108 Closed Mar 26, 2026

Summary

Claude Code can leave a task in the task list as pending even after the underlying work has already been completed. In my session, I had to manually fix the stale task status afterwards.

What happened

During a multi-step troubleshooting session, Claude created multiple tasks and completed the actual work, but one task remained in the task list as unfinished.

Example from the session:

  • Task #22 remained pending
  • Task #23 was marked completed
  • The work associated with #22 had already been done, but the task state was not updated until I explicitly asked why a task was still unfinished

Expected behavior

If the work tied to a task is already completed, the task list should not continue showing that task as pending.

Actual behavior

A stale unfinished task remained in the task list and required manual cleanup.

Notes

This looked like a task-state synchronization / cleanup issue rather than user error. It happened in a session that involved multiple task updates plus some failed/retried tool calls, so there may be an edge case where a task is created but not reliably finalized.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗