MAINT-28: DECISIONS gives the measured reason for the uncapped give (review M-1); ctl_cycle comment one line + pointer (L-1)
checks / unit (pull_request) Successful in 27m38s
infra-pin / fresh (pull_request) Successful in 2s

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
glenn schrooyen
2026-11-13 05:53:55 +01:00
co-authored by Claude
parent 7edf8484d1
commit e7706150e8
2 changed files with 3 additions and 5 deletions
+2 -4
View File
@@ -568,10 +568,8 @@ class CycleMixin:
maint_aim = peakguard.quarter_target_w(
float(self.o.get("peak_cap_w", 3500)),
self.peak_margin_w, _reading)
# MAINT-28: stays paused until the house is clear of the aim.
# Only where MAINT-24 moved the aim (a banked peak above the
# cap) and at N=2 and up: elsewhere the old rule, byte for byte
# (SAFETY-87 / SAFETY-119 pins).
# MAINT-28: hold the pause in a real peak.
# DECISIONS/MAINT-28-hold-the-pause-in-a-peak.md
house = (None if self.grid is None or self.site_batt_w is None
else float(self.grid) + float(self.site_batt_w))
_susp = peakguard.shaping_suspended(