EV-22: Solar and Manual never write over another writer; one rule of control #284

Merged
ems-agent merged 4 commits from EV-22 into release/1.0 2026-12-03 16:05:57 +01:00
Showing only changes of commit b7c91ff746 - Show all commits
+1 -4
View File
@@ -44,7 +44,6 @@ REF_S = "until you press Solar: CHARGER_REFUSED."
Q3W = "tries again next quarter: CHARGER_REFUSED."
CUTDBG = "The peak cut write failed"
REC = "The car charger step failed"
MANUAL_SHA = "284ce1a94bfb7a6335f224a29bddc4e0b80c36af78b5c7907031c511a6a9eaa8"
class Cap(logging.Handler):
@@ -1075,9 +1074,7 @@ check("N5: no select while the car drew (0 A not taken), over every run",
check("N9: no exception out of a step or release in any run (every run "
"completed), and no ERROR record on a cut try (G1)",
not [e for r in CUT_ONLY for e in r.errs])
check("T13/N7: ManualWriter's source is 2e09622's, byte for byte",
hashlib.sha256(inspect.getsource(CM.ManualWriter).encode())
.hexdigest() == MANUAL_SHA)
# T13/N7: EV-60 review-time pin; retired by EV-22, which changes ManualWriter by design (C7, DA1)
def tsrc(name):