Progress Panel: "Completed today" counts closures instead of merges;
metrics use inconsistent time dimensions
Bug: "Completed today" increments on any close, not just completed work
Reproduction steps:
- Create a new task, make no changes, and click Close.
- The "Completed today" counter in the sidebar increments from 0
to 1.
Root cause:
recordTaskCompleted() is invoked unconditionally inside
removeTaskFromStore() (src/store/tasks.ts:504). removeTaskFromStore
is reached from multiple paths, including:
- Normal close (closeTask) — covers empty tasks, unmerged tasks, etc. - Coordinator subtask closure (MCP_TaskClosed)
Expected: "Completed today" should only count tasks that were successfully merged into main/master today.
Design issue: The two metrics use different time dimensions
The current Progress panel shows:
- Completed today — resets daily
- Merged to main/master — global cumulative total
Problems:
- Semantic mismatch: Presented side-by-side, both numbers appear to
be "today's" metrics, but Merged is actually a lifetime total.
- Readability decay: Over time, numbers like +15,000 / -3,200 become
unwieldy and lose meaning as a daily progress indicator.
- Unclear purpose: Is Progress meant to show "what I did today" or
"my total historical output"?
Proposal: Unify Progress as a "Today's Work" panel
Fix Completed today:
- Rename to Merged today and only count tasks successfully merged
today.
- Increment inside mergeTask when cleanup=true; remove the
unconditional call from removeTaskFromStore.
Update Merged to main/master:
- Switch to a daily tally to match the time dimension of Merged
today.
- Show today's +added / -removed.
Future enhancement: Activity calendar (Contribution Graph)
The value of Progress is helping users feel their daily rhythm. The
current two-card layout is low-density. A small contribution
calendar—similar to GitHub's profile graph or Claude Code Stats—would
make daily activity much more tangible.
Progress Panel: "Completed today" counts closures instead of merges;
metrics use inconsistent time dimensions
Bug: "Completed today" increments on any close, not just completed work
Reproduction steps:
to 1.
Root cause:
recordTaskCompleted() is invoked unconditionally inside
removeTaskFromStore() (src/store/tasks.ts:504). removeTaskFromStore
is reached from multiple paths, including:
Expected: "Completed today" should only count tasks that were successfully merged into main/master today.
Design issue: The two metrics use different time dimensions
The current Progress panel shows:
Problems:
be "today's" metrics, but Merged is actually a lifetime total.
unwieldy and lose meaning as a daily progress indicator.
"my total historical output"?
Proposal: Unify Progress as a "Today's Work" panel
Fix Completed today:
today.
unconditional call from removeTaskFromStore.
Update Merged to main/master:
today.
Future enhancement: Activity calendar (Contribution Graph)
The value of Progress is helping users feel their daily rhythm. The
current two-card layout is low-density. A small contribution
calendar—similar to GitHub's profile graph or Claude Code Stats—would
make daily activity much more tangible.