Skip to content

feat: show a live progress pane while the feature loop runs - #8

Merged
brewdente merged 5 commits into
mainfrom
feat/improve-code-quality
Oct 9, 2026
Merged

brewdente merged 5 commits into
mainfrom
feat/improve-code-quality

Conversation

@brewdente

@brewdente brewdente commented Oct 8, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Adds a live progress pane that opens while a feature run works and closes when it ends.
  • The pane shows each agent's work in plain words, its plan step, and an estimated finish.
  • The pane never shows raw commands, code, or prompts.
  • A run whose model stops answering now stops with a clear reason.
🤖 Details
  • The pane redraws every 5 seconds from this session's run files and makes no model calls.
  • The finish estimate comes from past runs on this machine and appears only after 3 timed runs.
  • A shell command with no description shows its purpose, such as "Run tests", never its text.
  • /masterdevs-status reopens the pane, and a pane closed by hand stays closed until then.
  • Plan retries once on opus when fable gives no answer, which usually means credits ran out.
  • A check that never answered blocks "passed", and only a full Verify can clear a missing one.
  • Plan previews in chat now fit one screen.
  • Engineer and reviewer prompts ask for code a first-time reader can follow.

Validation

  • A live plan run opened the pane with plain-language activity lines.
  • A Plan out of fable credits retried on opus in a live run.
  • A live build showed "Step 1 of 2" in the pane.

Claude Code usage

Day Model In Out Cache R Cache W Total Cost
2026-10-08 claude-opus-5-5 530 243.5K 45.6M 781.8K 46.6M $19.68

Estimated API-equivalent cost, not a billed charge.

brewdente and others added 5 commits October 8, 2026 17:58
A feature run used to be silent between the 5-minute heartbeats. The
masterdevs plugin now ships a pane that opens by itself when a run starts
and redraws every 5 seconds. It makes no model calls. It shows each working
agent, what that agent is doing in plain words, the time of each line, which
plan step the build is on, and an estimated finish time in local time. The
estimate comes from past runs on this machine. The pane closes by itself when
a run ends, and `/masterdevs-status` opens it again.

The pane reads only this session's runs. It never shows raw commands, code or
prompts. Agents now give every shell command a short plain description. When an
agent gives none, the pane names what the command does ("Run tests") instead
of the command.

The loop now survives a model that stops answering, for example when usage
credits run out. Plan tries once more on `opus`. Any other stage that gets no
answer stops the run with a clear reason, and a run with a missing answer can
no longer report "passed".

Also: plan previews in chat are now one short screen, and the engineer and
reviewer prompts ask for code a first-time reader can follow.

Co-authored-by: Claude <noreply@anthropic.com>
…of the pane

Pre-push review found four gaps in the out-of-credits handling and step markers.

- A Verify that got no answer read as a failed Verify, so the loop ran a whole
  extra round to fix nothing. Iterate now hears "unknown", and the loop stops
  when there is nothing else to fix.
- A later Verify that answers now clears an earlier silent one, since each
  Verify checks every criterion. Reviews are not cleared: a later round
  reviews only its own revisions.
- Fix markers repeated raw failure text, which can hold paths and commands.
  The engineer now names each fix in plain words.
- A resumed engineer could not replace its old marker file, because the Write
  tool needs a file read first. The rule now says so.

Co-authored-by: Claude <noreply@anthropic.com>
From round 2 on, Verify checks only the revisions and assumes the rest
"verified clean in an earlier round". After a silent Verify that is not
true. A scoped pass could then clear the missing check and let the run
report "passed" without a full check ever running.

After a silent Verify, the next round now runs a full Verify, and only a
full Verify that answers clears the earlier failure.

Co-authored-by: Claude <noreply@anthropic.com>
…e paths out

CI failed on two mutations that went stale. They search for the line that
decides "passed", and this branch added "no check went unanswered" to it.
Both now match the new line. Two new mutations prove the suite catches an
unanswered check counted as a pass, and a round that assumes a clean
Verify after a silent one.

A status scenario used a macOS home-folder path as its example, which the
public repo's leak scan rejects. It now uses /home/k.

Co-authored-by: Claude <noreply@anthropic.com>
…ething

A "look around" shell command often ends with an error only because the
last thing it looked for is not there yet, such as a notes file before the
first Verify. The pane marked those lines "— failed", which looked like
the build had broken.

A shell error now shows only when the command runs tests, checks the code
or builds it. Errors from other tools, such as a failed edit, still show.

Co-authored-by: Claude <noreply@anthropic.com>
@brewdente
brewdente marked this pull request as ready for review October 9, 2026 01:47
@brewdente
brewdente merged commit de0ddc0 into main Oct 9, 2026
3 checks passed
@brewdente
brewdente deleted the feat/improve-code-quality branch October 9, 2026 01:47
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