EV-04 round 2: race-free another-writer check, refused phase select, undo before the select, clamped restore, energy-corroborated car figure
M1 the writer ignores a reading taken before its latest confirmed write. M2 a refused phase select gives the current back and stops after 3 tries (amber row). M3 Off, shadow mode or a control/safety stop before the select undoes the change. M4 the restore on shutdown (and the undo) is clamped. M5 the car's power reaches the alarm path only while the charger's energy meter agrees with it. L1 fuzz other-writer branch reachable and shown to run. L2 one wording. L3 Batteries-help-off text. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude
parent
0c92239a63
commit
661a3b009a
@@ -215,6 +215,9 @@ class StatusMixin:
|
||||
if w.gave_up:
|
||||
out.append({"ok": False, "warn": True, "id": "charger_refused",
|
||||
"text": messages.row_charger_refused()})
|
||||
if w.phases_gave_up:
|
||||
out.append({"ok": False, "warn": True, "id": "charger_phases",
|
||||
"text": messages.row_charger_phases()})
|
||||
elif self.car.other_writer(datetime.now(timezone.utc)):
|
||||
out.append({"ok": True, "warn": True, "id": "charger_writer",
|
||||
"text": messages.row_charger_writer()})
|
||||
|
||||
Reference in New Issue
Block a user