Commit Graph
9 Commits
Author SHA1 Message Date
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 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 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
Claude d17f15b33c EV-20 SPIKE-06: stuck start cap backs off instead of holding
checks / unit (pull_request) Successful in 44m16s
infra-pin / fresh (pull_request) Successful in 2s
Under one stuck verdict Solar still makes at most MAX_TRIES starts and gives
one CHARGER_REFUSED; then one more start after 15 min and one every 30 min
(each by the start rule and the write clock), so a fault that clears is
found again. The episode ends when the reading follows a start, on a press
of Solar, Off, Manual, shadow or a stop. Rows: cap, backoff times,
recovery, press, episode end; T28 (b) no flapping. DOCS and DECISIONS.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VSY9UpTaUYnjJF5oVtbM1w
2026-11-23 19:01:36 +01:00
Claude b99f8c7e52 EV-20 SPIKE-06 re-check: a stuck verdict does not hold Solar while no own current may stand (C14)
infra-pin / fresh (pull_request) Successful in 2s
checks / unit (pull_request) Failing after 1h12m24s
The exemption now applies whenever Solar is not live (also just after Solar
is chosen under a verdict Manual's refusals left), so Solar writes its 0 A
over the other current first and then the start rule runs. EV-13
T14 [8 A], T17 and T18 now assert that the energy meter does not flag the
frozen figure (PM accepted the trade-off); T14 [6 A] that it flags at +57 s.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VSY9UpTaUYnjJF5oVtbM1w
2026-11-23 17:49:04 +01:00
Claude 82dc77df62 EV-20 SPIKE-06 round: arm the stuck check on the pre-send reading; Solar restarts after its own 0 A under a stuck verdict
infra-pin / fresh (pull_request) Successful in 2s
checks / unit (pull_request) Failing after 1h12m28s
SPIKE-06 option 2 (PM decision). The stuck check's baseline is the reading
before the send, for accepted and refused writes; it clears on any change
from it (3a17012's power rules removed), so the race cannot arm it (C10,
C11, C13). Frozen power under an accepted write is left to the energy meter
and the read-back cap (EV-13 T14/T17/T18 changed). Once Solar's own 0 A
stands, a stuck verdict no longer blocks the start rule (C12), at most
MAX_TRIES starts per verdict, then CHARGER_REFUSED until Solar is pressed.
Rows in test_ev20_rig.py section 6.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VSY9UpTaUYnjJF5oVtbM1w
2026-11-23 17:03:18 +01:00
Claude 3a170127a3 EV-20 rig round 1: stuck check clears on the car's answer or a paused car; EV-36 first-sample rule
checks / unit (pull_request) Successful in 46m35s
infra-pin / fresh (pull_request) Successful in 2s
An accepted write keeps the car's power from the reading before the send
(begin_write); a later reading whose power differs from it, or that shows a
paused car (not charging, under PAUSED_W), clears the armed check. A refused
write's first sample after the send is not life by itself (EV-36). EV-13 T7/T8
and the refusal-window row get two-change variants so mutant M3 stays killed.
DECISIONS records the arming rule.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VSY9UpTaUYnjJF5oVtbM1w
2026-11-23 15:16:41 +01:00
Claude 711c5f3627 EV-20 rig round 1: stuck check armed on the reading before the send; no amp ping-pong; ha_signed meter age
infra-pin / fresh (pull_request) Successful in 4s
checks / unit (pull_request) Failing after 1h11m9s
The stuck check's baseline is the signature of the latest reading taken
before the send (kept at begin_write), never one that arrived while the write
waited; a refused write's first post-send sample is its baseline (EV-36).
After a step down, a step back up needs UP_HYST_W past the boundary. Solar's
15 s meter-age gate applies only where the age measures arrival; on
ha_signed it is the source's meter_max_age_s. Rows in test_ev20_rig.py;
harness modes for the rig's interleave and an on-change meter.

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