Skip to content

bug: monitor shows no live progress during loop execution #135

@federiconeri

Description

@federiconeri

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions