Commit Graph
3 Commits
Author SHA1 Message Date
Claude 5ddabfbd93 EV-60: gate the "car kept drawing" close, reset _cap_end at _advance entry, more checks
- 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>
2026-12-02 09:09:50 +01:00
Claude 1c387441c7 EV-60: test row T5b (route (b) world, next key, cap lifted, change runs)
checks / unit (pull_request) Successful in 56m6s
infra-pin / fresh (pull_request) Successful in 2s
Test only; carmode.py is unchanged from 5bd2b1e.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-12-02 06:48:49 +01:00
Claude 5bd2b1ec97 EV-60: Solar never passes the cut cap of 3 refused tries per quarter key
checks / unit (pull_request) Successful in 57m13s
infra-pin / fresh (pull_request) Successful in 2s
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>
2026-12-02 05:48:20 +01:00