← back to Chief Of Operations
treat frontmost layout exemption as healthy
e47b4c021ae4bfa4469f590cab58411c5ca5363a · 2026-09-17 08:36:20 -0700 · Steve Abrams
Files touched
Diff
commit e47b4c021ae4bfa4469f590cab58411c5ca5363a
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Thu Sep 17 08:36:20 2026 -0700
treat frontmost layout exemption as healthy
---
chief_ops.py | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/chief_ops.py b/chief_ops.py
index 63c5929..574a6f2 100755
--- a/chief_ops.py
+++ b/chief_ops.py
@@ -50,8 +50,12 @@ def router_evidence():
except Exception: pass
rows=[r for r in rows if 'green_misplaced' in r]
last=rows[-1] if rows else {}
- return {'ok': bool(rows) and last.get('green_misplaced') == 0 and last.get('attn_misplaced') == 0,
- 'last': last, 'samples': len(rows), 'cellfails': sum(1 for x in log.read_text(errors='replace').splitlines()[-40:] if '"event":"cellfail"' in x)}
+ green_bad = last.get('green_misplaced', 99)
+ attn_bad = last.get('attn_misplaced', 99)
+ front_exempt = bool(last.get('skipped_front'))
+ return {'ok': bool(rows) and green_bad == 0 and (attn_bad == 0 or (attn_bad == 1 and front_exempt)),
+ 'frontmost_exempt': front_exempt, 'last': last, 'samples': len(rows),
+ 'cellfails': sum(1 for x in log.read_text(errors='replace').splitlines()[-40:] if '"event":"cellfail"' in x)}
def check():
← c9fe16d classify sandbox health checks clearly
·
back to Chief Of Operations
·
add plannator state oversight 7a7cb75 →