diff options
| author | ecprice-ant <267175574+ecprice-ant@users.noreply.github.com> | 2026-10-18 11:06:49 -0500 |
|---|---|---|
| committer | ecprice-ant <267175574+ecprice-ant@users.noreply.github.com> | 2026-10-18 11:06:49 -0500 |
| commit | b82ef2c9238ace2e970a8a7143a0cf6d814d10ff (patch) | |
| tree | e8c6f1002546ea5990fd91f1631735a24497ff0b /plugins/code-modernization/scripts | |
| parent | aa4fa7bcab1ee8769a2636da2a09ecec6396c707 (diff) | |
math-proof siege: record the final wave before writing the proof
When a siege run uses all MAX_ROUNDS rounds, the answers of the final wave
were never entered in the running summary or the claims ledger: both are
written by the judge step that plans a round, and no plan follows the last
wave. In particular, when the final plan had just settled the goal and sent
its written proof to two verify workers, their certifications came back in
the final wave and could not be recorded, so the run's own closing check
(the bookkeeping script's gate) rejected a proof both verify workers had
passed, the run took the long proof-writing path (two refine passes and a
commit wave of up to nine more proof attempts plus a check), and proof.md
got the layout meant for a goal that was not reached.
This adds one judge step, "Closing the record", between the final wave and
the gate. It reuses the plan brief with an added first paragraph: the judge
screens the final wave's answers, rewrites the summary and appends a ledger
block (recording certifications as [AUDIT] lines, a change in the goal's
status, or a return to a goal proved earlier when a raised goal was not
reached), and composes nothing. The orchestrating session then runs the
script's existing "append" command and the gate as before. The step runs
only when the rounds ran out (not after an early conclusion), is resumable,
and stops the run like any other judge step if it fails twice. The
final-round sentence of the plan brief now says the wave's answers will be
recorded. ledger.py is unchanged.
Diffstat (limited to 'plugins/code-modernization/scripts')
0 files changed, 0 insertions, 0 deletions
