[object Object]

← back to Ticket System

Retain monitoring cycle empirical check and DTD transcript

5b507bb8570e58da3537b1859d1c27aa5972ef7d · 2026-09-16 13:25:36 -0700 · Steve Abrams

Files touched

Diff

commit 5b507bb8570e58da3537b1859d1c27aa5972ef7d
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Wed Sep 16 13:25:36 2026 -0700

    Retain monitoring cycle empirical check and DTD transcript
---
 .../yoloforever-yf2015.Qw7Kd2/empirical-check.py   | 34 ++++++++++++++++++++++
 .../yoloforever-yf2015.Qw7Kd2/final-panel.log      |  9 ++++++
 2 files changed, 43 insertions(+)

diff --git a/verification/yoloforever-yf2015.Qw7Kd2/empirical-check.py b/verification/yoloforever-yf2015.Qw7Kd2/empirical-check.py
new file mode 100644
index 00000000..d3873a5b
--- /dev/null
+++ b/verification/yoloforever-yf2015.Qw7Kd2/empirical-check.py
@@ -0,0 +1,34 @@
+import datetime
+import hashlib
+import json
+import os
+from pathlib import Path
+import subprocess
+
+root = Path(__file__).parent
+source = Path('/Users/macstudio3/.claude/skills/disk-space-canary/run.sh')
+body = source.read_text()
+probe = body[body.index('probe_unit(){'):body.index('\nMAC2=')]
+result = subprocess.run(
+    ['bash', '-c', 'WARN_PCT=12\nCRIT_PCT=7\n' + probe +
+     '\nprobe_unit Mac2 df -k /System/Volumes/Data\nprobe_unit Unreachable false\n'],
+    capture_output=True, text=True, timeout=20, check=True)
+observed = [json.loads(line) for line in result.stdout.splitlines()]
+assert observed[0]['reachable'] is True
+assert observed[1]['verdict'] == 'UNKNOWN'
+api = subprocess.run(['curl', '--max-time', '10', '-s', '-o', '/dev/null', '-w',
+                      '%{http_code}', 'http://127.0.0.1:9794/api/tickets'],
+                     capture_output=True, text=True, check=True)
+assert api.stdout == '401'
+guard = Path('/Users/macstudio3/Projects/ticket-system/config/dtd-cost-mode').read_text().strip()
+assert guard == 'ZERO_COST_REQUIRED' and os.environ.get('DTD_ZERO_COST') == '1'
+record = {
+    'timestamp': datetime.datetime.now(datetime.timezone.utc).isoformat(),
+    'probe_source': str(source), 'probe_sha256': hashlib.sha256(source.read_bytes()).hexdigest(),
+    'probe_results': observed, 'unauth_api': api.stdout,
+    'controls': {'file': guard, 'env': os.environ['DTD_ZERO_COST']},
+    'scope': 'Installed pure probe only; no runner alerts or runtime state writes',
+    'verdict': 'PASS monitoring assertions; operational source outcomes unverified',
+}
+(root / 'empirical-final.json').write_text(json.dumps(record, indent=2) + '\n')
+print(json.dumps(record))
diff --git a/verification/yoloforever-yf2015.Qw7Kd2/final-panel.log b/verification/yoloforever-yf2015.Qw7Kd2/final-panel.log
new file mode 100644
index 00000000..58811141
--- /dev/null
+++ b/verification/yoloforever-yf2015.Qw7Kd2/final-panel.log
@@ -0,0 +1,9 @@
+DIR=/private/tmp/yf2015-dtd.322QmH
+-rw-r--r--     1 macstudio3  wheel    586 Sep 16 13:22 codex.txt
+-rw-r--r--     1 macstudio3  wheel     56 Sep 16 13:22 exo.txt
+-rw-r--r--     1 macstudio3  wheel     84 Sep 16 13:22 grok.txt
+-rw-r--r--     1 macstudio3  wheel     14 Sep 16 13:22 heretic.txt
+-rw-r--r--     1 macstudio3  wheel     84 Sep 16 13:22 kimi.txt
+-rw-r--r--     1 macstudio3  wheel     80 Sep 16 13:22 muse.txt
+-rw-r--r--     1 macstudio3  wheel   1967 Sep 16 13:22 question.txt
+-rw-r--r--     1 macstudio3  wheel    711 Sep 16 13:22 qwen.txt

← 56d805e8 auto-data-snapshot: 2026-09-16T13:25:12 (40 data files) — da  ·  back to Ticket System  ·  Record ordered monitoring cycle with gates and zero progress 4f4b1fd2 →