Major 1: the `pressed` mark of a sequence is consumed by the first `_advance`
(the first reading judged after the press); a later raise in the same zero
stage gets the raise-check hold again (Solar and Manual).
Major 2: with `cur` None `_watch` does not judge the current: the count
neither starts nor clears (phases are still judged).
Finding 4 (PM): the DA3 window uses the close's own clock and comparison
(`now - t1 < SETTLE_S`) and the one step that closes at its end is still
inside it, so a `last_done` a fraction of a second after the step's now no
longer pushes the close step outside the window.
Tests: rows A-D, R1 (Manual red under the mutant), the two fraction rows,
all red on b7c91ff. test_ev60: comment exactly as ruled, unused imports gone.
Co-Authored-By: Claude <noreply@anthropic.com>
The SHA-256 of ManualWriter's source was an EV-60 review-time pin. EV-22
changes ManualWriter by design (C7, DA1), so the pin is removed; the
behavioural Manual rows of test_ev56, test_ev59 and test_ev60 are unchanged
and green.
Co-Authored-By: Claude <noreply@anthropic.com>
A pending change whose 0 A already stands begins with no write under a
cap with cut_fails 3, as base. Kills the review mutant that gates
_begin_solar also when nothing is owed (it survived every other row).
Test-only.
Co-Authored-By: Claude <noreply@anthropic.com>
- SolarWriter._advance gates the close where the value is asked for
(wrapped want_a raising a private _CloseHeld), so the shared zero -> settle
fall-through write of "the car kept drawing" passes the same cut gate, the
Q5/Q6 wait and the end at 0 A. ManualWriter is unchanged (N7 sha pin).
- _cap_end is reset at each Solar _advance entry (no stale flag).
- test_ev60: rows S-a, S-b, T12, T15, T22, T25-flag, N4, N6, N11, N12, N13;
docstring states the coverage; dead pre_roll line removed; T17 text/asserts.
Co-Authored-By: Claude <noreply@anthropic.com>
Solar's phase change 0 A and its capped close are cut tries. They now pass
the same gates as `_put`: none at cut_fails >= MAX_TRIES, none within RETRY_S
of the last refused cut try (the sequence's first cut close waits at 0 A, the
rest keep the 5 s spacing). A gated 0 A waits for the next quarter key and
never gives up; a capped close with no tries left ends the change at 0 A
(end_switch(False), reapply, no write). Solar's close end adds no extra
_failed (EV-56 F1 on the cut path, EV-59 finding 2 on the non-cut path), so
a press during the close retries gives the value MAX_TRIES tries.
Solar only (override in SolarWriter); Manual is byte for byte as before.
Edited tests as ruled (Q3, Q4): test_ev59 T25/T14, T25 press, T14c and the
N11 digest list; test_ev56 T19b [a]/[b], T12 and golden "T20 T12 [R]".
Co-Authored-By: Claude <noreply@anthropic.com>