EV-20 rig round 2: no pause on a short charger read gap; ha_signed pause timed from the meter age #274

Merged
ems-agent merged 9 commits from EV-20-r2 into release/1.0 2026-11-24 10:10:11 +01:00
9 Commits
Author SHA1 Message Date
Claude 4dc030929a EV-20 review r4: wording only (DECISIONS held-read sentence, step docstring)
checks / unit (pull_request) Successful in 29m14s
infra-pin / fresh (pull_request) Successful in 2s
Co-Authored-By: Claude <noreply@anthropic.com>
2026-11-24 09:40:31 +01:00
Claude 0cfb99ed65 EV-20 review r3: a held read moves no plan count; only the meter-age pause may fire
checks / unit (pull_request) Successful in 54m0s
infra-pin / fresh (pull_request) Successful in 1s
On a held charger read no writer steps and the Solar plan does nothing: no
phase change or switching start begins, no _set or end_switch, ok_since,
up_since, down_since, low_since and set_at stay, and the hold pause does not
fire; a decision due then runs on the next real reading. The one exception
is the pause by the meter's age (C18, SolarWriter.held_pause). Rows: the
reviewer's three shapes with 1- and 2-read gaps on and before the decision
cycle, and the hold pause on a held cycle. DECISIONS wording fixed.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VSY9UpTaUYnjJF5oVtbM1w
2026-11-24 06:54:07 +01:00
Claude a60ebd3286 Merge release/1.0 (2768755, infra pin bump #273) into EV-20-r2
checks / unit (pull_request) Successful in 31m32s
infra-pin / fresh (pull_request) Successful in 2s
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VSY9UpTaUYnjJF5oVtbM1w
2026-11-24 05:53:46 +01:00
Claude 6fbf2600f9 EV-20 C19: a held read does nothing to a phase change under way
checks / unit (pull_request) Successful in 33m15s
infra-pin / fresh (pull_request) Failing after 2s
The C17 branch (end a phase change at its 0 A and pause) ran on a held read
too, so one failed read just after a select stopped the car for the 600 s
phase gap. A held read now leaves the change alone; it goes on at the next
real reading. The silent meter still ends it at its 0 A. Rows: test_ev20_rig
section 9.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VSY9UpTaUYnjJF5oVtbM1w
2026-11-24 03:19:19 +01:00
Claude 0ef8de26cb EV-20 round 3: on a held read Solar writes only a new 0 A, no retry
checks / unit (pull_request) Successful in 35m24s
infra-pin / fresh (pull_request) Failing after 2s
A retry on a held cycle went to a charger that was not answering and changed
the try count (test_ev20_fuzz T54 N14, seed 1). Held cycles now allow only a
new 0 A decision, such as the age pause.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VSY9UpTaUYnjJF5oVtbM1w
2026-11-24 02:05:05 +01:00
Claude 3083093e22 EV-20 round 3: no non-zero write while the meter is silent (C17); the age pause on a held read (C18)
checks / unit (pull_request) Successful in 35m34s
infra-pin / fresh (pull_request) Failing after 2s
While the meter's age is past meter_max_age_s, or on a held charger read,
Solar sends no non-zero current: no retry, no raise, no phase change begun,
and a phase change under way ends at its 0 A. 0 A is always allowed. On a
held read Solar still steps (Manual does not), so a pause due then is not
slipped. Rows in test_ev20_rig.py section 8.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VSY9UpTaUYnjJF5oVtbM1w
2026-11-24 01:24:36 +01:00
Claude f62501174d EV-20 rig round 2: hold only real read gaps, not a reading's own unavailable cause
checks / unit (pull_request) Successful in 40m43s
infra-pin / fresh (pull_request) Failing after 1s
A failed read or every required entity unavailable is a gap and keeps the
last reading; one entity missing, a wrong power unit or login off stay the
reading they are (EV-03 round 4 rows green again).

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VSY9UpTaUYnjJF5oVtbM1w
2026-11-24 00:46:34 +01:00
Claude 49e010fdfb EV-20 rig round 2: the age row notices the stale meter late, as the rig's cycle does
checks / unit (pull_request) Successful in 41m15s
infra-pin / fresh (pull_request) Failing after 1s
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VSY9UpTaUYnjJF5oVtbM1w
2026-11-23 23:55:17 +01:00
Claude 8d62abe36b EV-20 rig round 2: a short charger read gap keeps the last reading; ha_signed pause timed from the meter age
checks / unit (pull_request) Failing after 43m21s
infra-pin / fresh (pull_request) Failing after 2s
A charger reading missing for less than stale_input_s keeps the last trusted
reading in CarTracker (shared by Solar, Manual and the peak guard): no
decision or write in that cycle, no stuck arm or clear. At stale_input_s the
safe path is unchanged. This also stops the false PEAK_GUARD_FLOOR_LIMITED
after one gap (EV-18 T10(b) updated). On ha_signed Solar's unknown-sun pause
comes at meter age meter_max_age_s + ev_pause_min, checked every cycle.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VSY9UpTaUYnjJF5oVtbM1w
2026-11-23 23:46:48 +01:00