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
This commit is contained in:
Claude
2026-11-24 06:54:07 +01:00
parent a60ebd3286
commit 0cfb99ed65
4 changed files with 118 additions and 13 deletions
@@ -152,8 +152,11 @@ one small set of facts and derives every path from them:
that got no answer, or every required entity unavailable; one entity
missing, a wrong power unit or the login off stay readings of their own
(EV-03 round 4, unchanged); nothing is decided
or written in that cycle (`ctl_car.car_step` returns), and it neither arms
nor clears the stuck check. At `stale_input_s` the missing reading is taken
or written in that cycle: no writer steps (`ctl_car.car_step` returns), no
plan count moves (start, phase change, hold, `set_at`) and a decision due
then runs on the next real reading (review r3, PM design). The one
exception is Solar's pause by the meter's age (C18, `held_pause`). It
neither arms nor clears the stuck check. At `stale_input_s` the missing reading is taken
as before (the safe path: the charger is gone, 0 A first on its return).
This also ends the false PEAK_GUARD_FLOOR_LIMITED after one gap (EV-18
T10(b) changed accordingly).
@@ -166,9 +169,11 @@ one small set of facts and derives every path from them:
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 a NEW 0 A there (no retry to a charger that is not answering).
- **The age pause on a held read (C18):** on a held cycle Solar does not step
(review r3, PM design); only `held_pause` runs: while the meter is silent
and its age has reached `meter_max_age_s` + `ev_pause_min`, the plan pauses
and a NEW 0 A goes out (no retry to a charger that is not answering). No
phase change, start, hold pause or other count moves on a held cycle.
- **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