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
This commit is contained in:
Claude
2026-11-24 01:24:36 +01:00
parent f62501174d
commit 3083093e22
4 changed files with 109 additions and 9 deletions
@@ -161,4 +161,14 @@ one small set of facts and derives every path from them:
meter's age: unknown since the age passed `meter_max_age_s`, so 0 A when the
age reaches `meter_max_age_s` + `ev_pause_min` (330 s), checked every
control cycle (bound 330 s + one cycle). Arrival sources are unchanged.
- **No non-zero write while the meter is silent (SPIKE-06 C17, N8 strict):**
while the meter's age is past `meter_max_age_s`, 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 (no select after that, no closing current); the
plan pauses. 0 A is always allowed. Also on a held read (`nz_block`).
- **The age pause on a held read (C18):** on a held cycle Solar still steps
(Manual does not), so a pause due on that cycle is not slipped; it can only
write 0 A there.
- **Accepted (PM, P9g):** a frozen charger that also stops answering is
flagged only once it answers again; the 15 s safe path covers the gap.