Feature request: stable ordering / position parameter for TaskCreate/TaskUpdate
Problem
When using TaskCreate and TaskUpdate to show task progress, completed tasks float to the top of the task list and pending tasks sink to the bottom. There is no way to control the display order.
This makes it difficult to use the task list as an ordered checklist where items stay in place and just get checked off as they complete. Instead, the list reorders on every status change, which can be disorienting when tracking progress through a sequential workflow.
Proposed Solution
Add a position (or order) parameter to TaskCreate that controls the display position of the task in the list. Tasks would be sorted by position first, then by status within the same position.
Alternatively, an option to disable status-based reordering entirely would work — keeping tasks in creation order regardless of their status.
Use Case
We're building a workflow orchestration framework (iSDLC) that uses TaskCreate to show per-task progress during multi-step builds. A typical workflow has 15-40 tasks that execute in dependency order. The user wants to see a stable checklist where:
- All tasks are visible from the start
- Tasks check off in place as they complete (✅ strikethrough)
- The currently executing task shows a spinner (🔧)
- Pending tasks remain in their original position (◻️)
Currently, as tasks complete, they jump to the top of the list, making it hard to track overall progress at a glance.
Current Workaround
We use sequential [TNNN] prefixes in the task subject to preserve logical ordering even when visual position shifts. We also print a formatted summary table at phase boundaries to give the user a stable-order view. But native stable ordering in the task bar would be a much better UX.
Environment
- Claude Code CLI
- Using
TaskCreate/TaskUpdatetools
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗