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
This commit is contained in:
Claude
2026-11-24 03:19:19 +01:00
parent 0ef8de26cb
commit 6fbf2600f9
3 changed files with 51 additions and 0 deletions
@@ -171,4 +171,10 @@ one small set of facts and derives every path from them:
write a NEW 0 A there (no retry to a charger that is not answering).
- **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.
- **A held read during a phase change (SPIKE-06 C19):** a phase change under
way does nothing on a held read (no write, no pause) and goes on at the next
real reading; it ends at its 0 A only while the meter is silent (C17). No
phase change begins on a held cycle; a gap of `stale_input_s` or more takes
the safe path unchanged. Accepted by design (PM): a one-sample partial
reading (only power unavailable, say) still gives the D2 0 A.