Skip to content

Add todo status to ls command - #69

Merged
nnutter merged 4 commits into
masterfrom
todo-status
Oct 4, 2026
Merged

nnutter merged 4 commits into
masterfrom
todo-status

Conversation

@nnutter

@nnutter nnutter commented Oct 4, 2026

Copy link
Copy Markdown
Owner

No description provided.

The todo command built the TODO.md path inline. Extract a helper so the
file name and location live in one place for the todo command and for
list, which needs to find the same file to report progress.
Worktree state such as TODO.md lives in the Git directory rather than
the checkout, and callers were repeating the same rev-parse command to
find it.
A worktree's TODO.md records what is left to do, so list collects the
checkbox counts alongside git status. A missing or unreadable TODO.md
reports no progress because list already degrades quietly for other
unreadable worktree state.
Knowing which worktrees still have open checklist items is as useful as
knowing which are merged or dirty, so list reports <done>/<total> per
worktree and exposes the same counts as todoDone/todoTotal in --json.
@nnutter
nnutter enabled auto-merge October 4, 2026 05:48
@nnutter
nnutter merged commit 817c9e9 into master Oct 4, 2026
1 check passed
@nnutter
nnutter deleted the todo-status branch October 4, 2026 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant