tui: sort todo panel — in_progress on top, done at bottom
Group todo steps by status for display: in_progress → pending →
failed/skipped → done. Original payload order is preserved within each
group (stable sort), and self._tasks is not mutated so step index still
matches the plan — only the on-screen order changes. Unknown statuses
fall in with pending so new work stays visible.

Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 9784ce7 commit 690249bfd28d3ab909da06cd73b6023ada70e379
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored 21 hours ago
Showing 2 changed files
View
clients/terminal/tui/widgets/todo_list.py
View
tests/clients/test_todo_list.py