Skip to content

[FEATURE]: TodoWrite tasks should auto-mark complete or prompt on completion #27453

Closed

Description

  • I have searched for existing issues and the feature has not been suggested before

Problem / Need

When using the TodoWrite tool to manage tasks, there is no automatic detection of task completion. The assistant must manually call TodoWrite again to mark each task as "completed" after finishing the work.

This creates a poor UX:

  1. Tasks remain stuck "in_progress" even after the work is clearly done
  2. The user has to explicitly notice and ask about incomplete-looking tasks
  3. It adds unnecessary overhead to remember to update the todo list mid-workflow

Suggested Solution

Either:

  • Auto-detect when a task has been accomplished (based on relevant file edits, tool calls, etc.) and mark it complete automatically, OR
  • When the assistant signals completion of a logical work unit, automatically prompt to update the todo list statuses

Additional Context

Environment: Windows 11, opencode CLI. Encountered during a multi-step codebase scanning session. Related to #18071 (persistent todos) but this is about completion marking rather than persistence.

Activity

  1. github-actions commented on May 14, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • No issue template was used. Feature requests must use the Feature Request template, which requires: a title starting with [FEATURE]:, a verification checkbox confirming the feature hasn't been suggested before, and a description of the problem/need.

    Please edit this issue to address the above within 2 hours, or it will be automatically closed.


    This issue might be a duplicate of existing issues. Please check:

    If you believe this was flagged incorrectly, please let a maintainer know.

  2. added
    needs:complianceThis means the issue will auto-close after 2 hours.
    and removed
    needs:complianceThis means the issue will auto-close after 2 hours.
    on May 14, 2026
  3. github-actions commented on May 14, 2026

    @github-actions
    Contributor

    Thanks for updating the issue! It now follows the contributing guidelines — the feature request template is properly filled out with a clear problem description and suggested solution. We appreciate the detail!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions