EV-60: Solar can no longer pass the EV-54 cap of 3 refused cut tries per quarter key through the phase change, and no longer gives up early after a press during the close retries.
Solar's phase change 0 A and its capped close are cut tries: they now pass the same gates as _put (none at 3 refused tries in the key, none within 60 s of the last refused one; the sequence's first cut close waits at 0 A, later closes 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: a press during the retries gives the value 3 tries, no press gives 3 tries and one CHARGER_REFUSED at the 3rd.
Solar only (override in SolarWriter); ManualWriter is byte for byte as at 2e09622 (hash check in test_ev60).
Tests: new test_ev60.py. Edited as ruled (Q3, Q4): test_ev59 T25/T14, T25 press, T14c (+ the N11 digest list entry for the re-taken golden); test_ev56 T19b [a]/[b], T12, golden "T20 T12 [R]".
EV-60: Solar can no longer pass the EV-54 cap of 3 refused cut tries per quarter key through the phase change, and no longer gives up early after a press during the close retries.
- Solar's phase change 0 A and its capped close are cut tries: they now pass the same gates as `_put` (none at 3 refused tries in the key, none within 60 s of the last refused one; the sequence's first cut close waits at 0 A, later closes 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`: a press during the retries gives the value 3 tries, no press gives 3 tries and one CHARGER_REFUSED at the 3rd.
- Solar only (override in `SolarWriter`); `ManualWriter` is byte for byte as at 2e09622 (hash check in test_ev60).
- Tests: new test_ev60.py. Edited as ruled (Q3, Q4): test_ev59 T25/T14, T25 press, T14c (+ the N11 digest list entry for the re-taken golden); test_ev56 T19b [a]/[b], T12, golden "T20 T12 [R]".
🤖 Generated with [Claude Code](https://claude.ai/code)
https://claude.ai/code/session_01VSY9UpTaUYnjJF5oVtbM1w
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>
- 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>
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>
ems-agent
merged commit 19c5d5a61e into release/1.02026-12-02 13:47:26 +01:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
EV-60: Solar can no longer pass the EV-54 cap of 3 refused cut tries per quarter key through the phase change, and no longer gives up early after a press during the close retries.
_put(none at 3 refused tries in the key, none within 60 s of the last refused one; the sequence's first cut close waits at 0 A, later closes keep the 5 s spacing).end_switch(False), reapply, no write)._failed: a press during the retries gives the value 3 tries, no press gives 3 tries and one CHARGER_REFUSED at the 3rd.SolarWriter);ManualWriteris byte for byte as at2e09622(hash check in test_ev60).🤖 Generated with Claude Code
https://claude.ai/code/session_01VSY9UpTaUYnjJF5oVtbM1w