EV-51 review: T45 sweeps N8 on own age for retries and phase-change closing currents; docs name the decision words and C23
checks / unit (pull_request) Successful in 54m7s
infra-pin / fresh (pull_request) Successful in 2s

T45: race order, 5 s and 10 s cycles, silence onset swept 1 s at a time,
(a) a raise the charger ignores (re-sends) and (b) a 1 -> 3 phase change
(closing current): no non-zero current write at own age > 30 s. Red on
5bff894 and on the reviewer's R4 (nz_block from the snapshot, C23 on own
age), green on head. T26 also checks the DECISIONS entry names every
decision word and the C23 value rule.

DECISIONS and the car_sun_own / _car_step_debug docstrings: snapshot values
are used only while the step's own age says fresh (C23); the decision words
are listed. No code change.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
ems-agent
2026-11-25 00:04:10 +01:00
co-authored by Claude
parent 6412d00783
commit 45df1ac549
3 changed files with 72 additions and 8 deletions
@@ -172,10 +172,15 @@ one small set of facts and derives every path from them:
late-readings hold with its stale rule (a spare read while the hold was on
is not used once the step's own late time reaches `stale_input_s`). The
meter's VALUES (spare, target) stay the cycle's, one cycle of sensor latency
being normal; `car.held` and `car.reading` are unchanged. Arrival sources
keep the cycle's age for their "spare unknown" check. At log level debug
each Solar step logs one line: time, the meter age at the step, the decision
and the write.
being normal, but only while the step's own age says the meter is fresh:
once it is past `meter_max_age_s` the spare is unknown, so nothing starts or
rises from it (C23). `car.held` and `car.reading` are unchanged. Arrival
sources keep the cycle's age for their "spare unknown" check. At log level
debug each Solar step logs one line: time, the meter age at the step, the
decision and the write. The decision is one word: `steady`, `start`,
`raise`, `lower`, `pause`, `hold` (the late-readings hold), `wait-unknown`
(the spare is unknown and the pause timer counts) or `wait-held` (a held
charger read).
- **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