Replay archived stability rounds on the rungs below the project's, and keep the stability reviewer on the project's rung, as no cheaper rung found every finding #276

Merged
lilleman merged 14 commits from plan-145 into main 2026-10-15 21:39:45 +02:00
Owner

Adds bin/stability-replay <model>. It replays archived stability reviews, each on the code it reviewed, first on the project's rung and then on each rung below. Its first run, on Opus 5.5 projects: Sonnet 5.5 at high missed 13 of the 29 findings Opus 5.5 at medium found again, 2 of them 🔴. So the stability reviewer stays on the project's rung, which the new decision at the end of docs/decisions.md records (item 145).

  • bin/rung_replay/ holds the rung search that judge-replay and stability-replay share. judge-replay now also searches from the project's rung down.
  • bin/claude_code/reply.py owns one headless claude -p run. Loop-claude's judge uses it too, and now quotes stdout that is not JSON.
  • Hard place bin/loop_claude/cycle/judge.py JUDGE_RULES/run_judge: the change made run_judge shorter and left the prompt splicing alone. That splicing is item 122's scope.
  • Declined: recording the reviewed commit at review time. No archived round could then be replayed, and a wrong guess at the commit costs no rung. The reason is in code_of's docstring.
  • Declined: injecting review's filesystem calls. They are the shell, and rounds.py's core takes the filesystem as an argument.
  • Comprehension check: the paired ruling against eb23048 came out same. All four seats found the generic rung search harder to read (Shape).
Adds `bin/stability-replay <model>`. It replays archived stability reviews, each on the code it reviewed, first on the project's rung and then on each rung below. Its first run, on Opus 5.5 projects: Sonnet 5.5 at high missed 13 of the 29 findings Opus 5.5 at medium found again, 2 of them 🔴. So the stability reviewer stays on the project's rung, which the new decision at the end of `docs/decisions.md` records (item 145). - `bin/rung_replay/` holds the rung search that `judge-replay` and `stability-replay` share. `judge-replay` now also searches from the project's rung down. - `bin/claude_code/reply.py` owns one headless `claude -p` run. Loop-claude's judge uses it too, and now quotes stdout that is not JSON. - Hard place `bin/loop_claude/cycle/judge.py` `JUDGE_RULES`/`run_judge`: the change made `run_judge` shorter and left the prompt splicing alone. That splicing is item 122's scope. - Declined: recording the reviewed commit at review time. No archived round could then be replayed, and a wrong guess at the commit costs no rung. The reason is in `code_of`'s docstring. - Declined: injecting `review`'s filesystem calls. They are the shell, and `rounds.py`'s core takes the filesystem as an argument. - Comprehension check: the paired ruling against eb23048 came out same. All four seats found the generic rung search harder to read (Shape).
lilleman added 4 commits 2026-10-15 20:37:51 +02:00
lilleman added 3 commits 2026-10-15 20:59:50 +02:00
lilleman added 2 commits 2026-10-15 21:19:32 +02:00
lilleman added 4 commits 2026-10-15 21:32:43 +02:00
lilleman added 1 commit 2026-10-15 21:39:33 +02:00
lilleman marked the pull request as ready for review 2026-10-15 21:39:41 +02:00
lilleman merged commit ddb86cb7ec into main 2026-10-15 21:39:45 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lilleman/claude-config#276