Problem
During wiggum monitor <feature>, the TUI shows 0% progress with no task updates for the entire loop duration. Progress jumps from 0% to 100% only when "Implementation complete" is emitted.
Observed behavior
Implementation: 0% ✓ 0 ○ 0 for ~20 minutes
Activity: No activity yet — only latest commit shown
Overall: 0% ✓ 0 ○ 0 — total tasks never populated
- At completion: instantly jumps to
100% ✓ 9 ○ 0
Expected behavior
- Task total should be populated from the implementation plan early
- Individual task completions should update the progress bar incrementally
- Activity section should show phase transitions and task completions
Root cause hypothesis
The monitor reads from /tmp/ralph-loop-<feature>.status and .phases files. The loop script may not be writing incremental updates to these files during planning/implementation phases, only at phase boundaries.
Related files
src/tui/utils/loop-status.ts — reads status/phases files
src/templates/scripts/feature-loop.sh.tmpl — writes status files
src/tui/hooks/useBackgroundRuns.ts — polling hook
Problem
During
wiggum monitor <feature>, the TUI shows 0% progress with no task updates for the entire loop duration. Progress jumps from 0% to 100% only when "Implementation complete" is emitted.Observed behavior
Implementation: 0% ✓ 0 ○ 0for ~20 minutesActivity: No activity yet— only latest commit shownOverall: 0% ✓ 0 ○ 0— total tasks never populated100% ✓ 9 ○ 0Expected behavior
Root cause hypothesis
The monitor reads from
/tmp/ralph-loop-<feature>.statusand.phasesfiles. The loop script may not be writing incremental updates to these files during planning/implementation phases, only at phase boundaries.Related files
src/tui/utils/loop-status.ts— reads status/phases filessrc/templates/scripts/feature-loop.sh.tmpl— writes status filessrc/tui/hooks/useBackgroundRuns.ts— polling hook