4 Commits
Author SHA1 Message Date
ems-agentandClaude 7613468cf9 EV-54 review r2: fails counts only refusals of the value now owed
checks / unit (pull_request) Successful in 45m48s
infra-pin / fresh (pull_request) Successful in 2s
Where a refused cut value stops being owed without a drop (the charger's return, another value written in its place), fails goes to 0; cut_fails is untouched. After a return under a capped quarter, Solar's own write gets its own 3 tries again instead of giving up after 1. New rows T40 (refused to 1430), T41 (to 1600, against the run without the away), T42 (replaced value).

Co-Authored-By: Claude <noreply@anthropic.com>
2026-11-30 06:37:40 +01:00
ems-agentandClaude 095f773921 EV-54 review r1: no stale fails block after the charger returns; peak cut reason
checks / unit (pull_request) Successful in 45m27s
infra-pin / fresh (pull_request) Successful in 2s
The fails >= MAX_TRIES block on non-cut writes applies only while the refused cut value is still owed, so Solar resumes after the charger came back under a capped quarter (it froze before). The quarter's cut count is untouched and D2's 0 A stays held while capped. A new cut value under the read-back above a refused one logs 'peak cut'. New rows T36 (away while capped, 0 A and 6 A), T37 (F6), T38 (Off after 3 tries), T39 (reason replay).

Co-Authored-By: Claude <noreply@anthropic.com>
2026-11-30 04:51:54 +01:00
ems-agentandClaude cf07f6f99b EV-54 tests: T26 asserts the first write after the lift is the step-up; T8 checks named T8
checks / unit (pull_request) Successful in 50m12s
infra-pin / fresh (pull_request) Successful in 1s
Mutant M18 (the drop leaves taken False) re-sent the standing read-back at the lift and T26 missed it; the T8 checks were filed under T2/T5 by name. Test-only.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-11-30 01:47:38 +01:00
ems-agentandClaude a698211318 EV-54: a refused peak cut no longer stops Solar; tried again next quarter
checks / unit (pull_request) Successful in 52m35s
infra-pin / fresh (pull_request) Successful in 1s
Refused cut tries are capped at 3 per quarter key and never set the session-wide gave_up. The next quarter tries again while a cut is needed. Once no cut stands, a refused cut value is dropped (sent_a and the plan current = the read-back, taken), never re-sent; the drop waits for a good, known read-back. A cut write that raises counts as a refused try. New notice text (Q3); the hold path's text is unchanged. Tests: test_ev54.py, test_ev54_drop.py (T1-T35); test_ev52 N8 knows the new text.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-11-30 00:24:58 +01:00