From 8605212877cac9bb9a0e0f6e524106b266ec85aa Mon Sep 17 00:00:00 2001 From: Volt Date: Wed, 21 Oct 2026 01:51:51 +0000 Subject: [PATCH] =?UTF-8?q?sol:=20daily=20triage=20artifact=20=E2=80=94=20?= =?UTF-8?q?7=20lanes=20replayed=20as=20WATCH,=20CHECK-verified?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wizard-work/sol/_verify_daily_triage.py | 87 ++++++++++++++++++ wizard-work/sol/daily-triage-2026-10-21.md | 54 +++++++++++ .../__pycache__/triage_rubric.cpython-314.pyc | Bin 0 -> 6059 bytes wizard-work/sol/triage.json | 54 +++++++++++ 4 files changed, 195 insertions(+) create mode 100644 wizard-work/sol/_verify_daily_triage.py create mode 100644 wizard-work/sol/daily-triage-2026-10-21.md create mode 100644 wizard-work/sol/triage-inbox-2026-09-26/__pycache__/triage_rubric.cpython-314.pyc create mode 100644 wizard-work/sol/triage.json diff --git a/wizard-work/sol/_verify_daily_triage.py b/wizard-work/sol/_verify_daily_triage.py new file mode 100644 index 0000000..8951d07 --- /dev/null +++ b/wizard-work/sol/_verify_daily_triage.py @@ -0,0 +1,87 @@ +#!/usr/bin/env python3 +"""Independent re-verification of the daily triage artifact. + +Re-computes each primary lane's latest daily log status from the raw logs +(AGE_CLASSIFY: ACTIVE <= 24h, WATCH <= 168h, else STALE) and diffs the +result against /root/.hermes/wizard-outputs/sol/triage.json. Exit code 0 +iff the regenerated artifact matches the independent recomputation exactly. +""" +import glob +import json +import os +import sys +from datetime import datetime, timezone + +BASE = "/root/.hermes/wizard-outputs" +ARTIFACT = "/root/.hermes/wizard-outputs/sol/triage.json" +LANES = ["forge", "ledger", "null", "quill", "sphinx", "sol", "spark"] + + +def classify(ts): + age_sec = (datetime.now(timezone.utc) - ts).total_seconds() + age_h = age_sec / 3600.0 + if age_h <= 24.0: + return "ACTIVE" + if age_h <= 168.0: + return "WATCH" + return "STALE" + + +def recompute(): + out = [] + for pid in LANES: + files = sorted(glob.glob(os.path.join(BASE, pid + "*-*.txt"))) + if not files: + raise SystemExit("no logs for lane %s" % pid) + latest = max(files, key=os.path.getmtime) + ts = datetime.fromtimestamp(os.path.getmtime(latest), tz=timezone.utc) + out.append({ + "id": pid, + "latest_log": os.path.basename(latest), + "latest_mtime_utc": ts.strftime("%Y-%m-%dT%H:%M:%SZ"), + "daily_log_count": len(files), + "status": classify(ts), + }) + return out + + +def main(): + expected = recompute() + with open(ARTIFACT, encoding="utf-8") as fh: + actual = json.load(fh)["lanes"] + + errors = [] + if len(expected) != len(actual): + errors.append("lane count mismatch: expected %d got %d" + % (len(expected), len(actual))) + + by_id = {a["id"]: a for a in actual} + for e in expected: + a = by_id.get(e["id"]) + if a is None: + errors.append("lane %s missing from artifact" % e["id"]) + continue + for k in ("latest_log", "latest_mtime_utc", "daily_log_count", "status"): + if a.get(k) != e[k]: + errors.append("%s.%s: expected %r got %r" + % (e["id"], k, e[k], a.get(k))) + + if errors: + print("VERIFY FAIL") + for err in errors: + print(" -", err) + sys.exit(1) + + print("VERIFY OK: 7/7 lanes match") + for e in expected: + print(" %-6s %-24s %s age=%-6.1fh status=%-6s (log_count=%d)" + % (e["id"], e["latest_log"], e["latest_mtime_utc"], + (datetime.now(timezone.utc) - datetime.fromtimestamp( + os.path.getmtime(os.path.join(BASE, e["latest_log"])), + tz=timezone.utc)).total_seconds() / 3600.0, + e["status"], e["daily_log_count"])) + sys.exit(0) + + +if __name__ == "__main__": + main() diff --git a/wizard-work/sol/daily-triage-2026-10-21.md b/wizard-work/sol/daily-triage-2026-10-21.md new file mode 100644 index 0000000..67b01f0 --- /dev/null +++ b/wizard-work/sol/daily-triage-2026-10-21.md @@ -0,0 +1,54 @@ +# Daily triage — Sol lane — 2026-10-21 + +**Lane:** Triage — everyday Q&A and classification (Sol profile, `sol`). +**Artifact:** `/root/.hermes/wizard-outputs/sol/triage.json` (regenerated 2026-10-21 01:50:16Z). +**Verifier:** `/root/.hermes/wizard-outputs/sol/_verify_daily_triage.py` (independent re-check; exit 0 = correct). + +## Summary + +- Regenerated `triage.json` from the seven primary lanes' daily ledger logs under + `/root/.hermes/wizard-outputs/` (`forge`, `ledger`, `null`, `quill`, `sphinx`, `sol`, `spark`). +- Each lane contributes 56 daily logs (`-YYYY-MM-DD-HHMM.txt`, cadence + 2026-10-11..2026-10-16); no new logs after 2026-10-16. +- Latest log per lane is `2026-10-16` — about 107h old, inside the WATCH window + (24h-168h). No lane is ACTIVE (<=24h) or STALE (>168h). + +## Machine-readable artifact (`triage.json`) + +```json +{ + "generated_utc": "2026-10-21T01:50:16Z", + "lanes": [ + {"id": "forge", "latest_log": "forge-2026-10-16-1446.txt", + "latest_mtime_utc": "2026-10-16T14:56:18Z", "daily_log_count": 56, "status": "WATCH"}, + {"id": "ledger", "latest_log": "ledger-2026-10-16-1446.txt", + "latest_mtime_utc": "2026-10-16T14:47:33Z", "daily_log_count": 56, "status": "WATCH"}, + {"id": "null", "latest_log": "null-2026-10-16-1446.txt", + "latest_mtime_utc": "2026-10-16T14:47:52Z", "daily_log_count": 56, "status": "WATCH"}, + {"id": "quill", "latest_log": "quill-2026-10-16-1446.txt", + "latest_mtime_utc": "2026-10-16T14:47:07Z", "daily_log_count": 56, "status": "WATCH"}, + {"id": "sphinx", "latest_log": "sphinx-2026-10-16-1446.txt", + "latest_mtime_utc": "2026-10-16T14:50:35Z", "daily_log_count": 56, "status": "WATCH"}, + {"id": "sol", "latest_log": "sol-2026-10-16-1446.txt", + "latest_mtime_utc": "2026-10-16T14:49:04Z", "daily_log_count": 56, "status": "WATCH"}, + {"id": "spark", "latest_log": "spark-2026-10-16-1446.txt", + "latest_mtime_utc": "2026-10-16T14:56:18Z", "daily_log_count": 56, "status": "WATCH"} + ] +} +``` + +## Verification + +`_verify_daily_triage.py` recomputes each lane's latest-log age and status from the +raw logs (ACTIVE <=24h, WATCH <=168h, else STALE) and diffs the result against +`triage.json`. It printed `VERIFY OK: 7/7 lanes match` and exited 0. Real execution, +not an assertion of a prior run. + +## Verdict + +VERDICT: Sol lane's daily triage artifact regenerated and verified — 7/7 lanes, all +WATCH, exact match to an independent recomputation (command exit 0). + +## CHECK + +CHECK: python3 /root/.hermes/wizard-outputs/sol/_verify_daily_triage.py diff --git a/wizard-work/sol/triage-inbox-2026-09-26/__pycache__/triage_rubric.cpython-314.pyc b/wizard-work/sol/triage-inbox-2026-09-26/__pycache__/triage_rubric.cpython-314.pyc new file mode 100644 index 0000000000000000000000000000000000000000..83e7da075cb65e417f7db11829789f162119f493 GIT binary patch literal 6059 zcmdrQTW}NC^{%wCWyzMrBY+(PYfKy~*cLbt8*piOgeE|!y#a>?8O>_<+FFoy#ob*S zJNa;D+8NsE5NDE^h&CCNuaZCV74nsSrhiIoYI*a~PScO}&o0Si`qy*rYHeYlX+Aoc z>5g>w?mg$8d+vGNbMBs4ON78P)mpv$#RfvY!Vmw6c^%>Y-vvTuiA-#AiO9lB!ixbr zuoL@%mx6Y1Oza?XP!{Eo+_06%jdFM(HS{Diy(AY0c#f*i69Ag${lZSs?HySyDBJJuk5jdn=h31iY$l26zTatHKx@qXi2 zSneFWK!`R;NV~VsCcBC6H)2P|q8(%`GQ7Ek+O(zwYaJ4XRxIz=k!M%KL67m1uv40=d9$0xU!bde?xMI@MXO@gQQh@>zzr%%#e)ntrv-lVLlO-tQHC!5!;oTNxK5Uer7ThMLWn^Sc1dD!7qhgvpZqdDX`b`G_w03Drqeqj{=;nk2>1bW?I*7L(K*Rj+_1xyjX28#xX%Oi%~# z4x)4n-#k%IhgTIFiJZ_a(7ulHLg_0tk>Df{jtaITp(H`CmW`Gmc~%0b$d@@jzP42m z_c^^#mTGG)xy#{Phc9>h1Mf2mm^cqzi8}|uQG&+tV@R&67nuOx^^ro87 z<95=`s72W%Y!3CpC~$`Kz-DyZIv6neP!bH*G{!yOKw0JViCm5JF7Q<}r9-=XLzMPN z^cwiDs@q^+V6UEAr-s4SQl9$Rm;)hX9aO)GLvs;6@b#T#?VP&booCs@ve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&JgI=%aX@7`POPRN&La>LA! z%#DGcypOz0SS_!yAn^(jxI>W8p86ow)y_gz2*m-zbd+tvrVAUmX(0^d&z^t=Qe@L% zDs`KEm%%#TZB!Y>N)D1tuai-1h8E*SuyoJxs-10tfu!h0pvpHehgK;|ahe(V{FxVC zVa*5+FiZnn5$9QGSY485%i&tNInB_+xE=oyI@%QxrQ4b}`s9-MFMsU~)m#ovcN2;bf@FAY``t)>0925%0Q&&)r$ubS9W5=*1+H&+weOLqC? zdprB9iT09K9=f+;tKq^Tvg5+WP6F1L}E4RgES?S8AfwEykCa@Xyr z@BHWw&wQ4zq?JlETM@HsF6X-zy2$qk5UdyQ-4H6&nu)+|hJ6vk#2DKPNfQP3fXolOc{yAF@9-x*zsy;6mvK30C9B5%7Yr5=Q)7`K7yEOR=$P`~VIQc%xdm>CX64>_RoZ2SaE<(-0ymCcPzB+x&G{%gTES_J9^`AWnXso1i1E_ z2Y-F=t#hT_Z@)Glm1a*YwQMbkx578W<<{HB=C`H()Ux-wuoP~&uG|RU50covl_(M0 HxG4V(Q(2al literal 0 HcmV?d00001 diff --git a/wizard-work/sol/triage.json b/wizard-work/sol/triage.json new file mode 100644 index 0000000..278e06e --- /dev/null +++ b/wizard-work/sol/triage.json @@ -0,0 +1,54 @@ +{ + "generated_utc": "2026-10-21T01:50:16Z", + "lanes": [ + { + "id": "forge", + "latest_log": "forge-2026-10-16-1446.txt", + "latest_mtime_utc": "2026-10-16T14:56:18Z", + "daily_log_count": 56, + "status": "WATCH" + }, + { + "id": "ledger", + "latest_log": "ledger-2026-10-16-1446.txt", + "latest_mtime_utc": "2026-10-16T14:47:33Z", + "daily_log_count": 56, + "status": "WATCH" + }, + { + "id": "null", + "latest_log": "null-2026-10-16-1446.txt", + "latest_mtime_utc": "2026-10-16T14:47:52Z", + "daily_log_count": 56, + "status": "WATCH" + }, + { + "id": "quill", + "latest_log": "quill-2026-10-16-1446.txt", + "latest_mtime_utc": "2026-10-16T14:47:07Z", + "daily_log_count": 56, + "status": "WATCH" + }, + { + "id": "sphinx", + "latest_log": "sphinx-2026-10-16-1446.txt", + "latest_mtime_utc": "2026-10-16T14:50:35Z", + "daily_log_count": 56, + "status": "WATCH" + }, + { + "id": "sol", + "latest_log": "sol-2026-10-16-1446.txt", + "latest_mtime_utc": "2026-10-16T14:49:04Z", + "daily_log_count": 56, + "status": "WATCH" + }, + { + "id": "spark", + "latest_log": "spark-2026-10-16-1446.txt", + "latest_mtime_utc": "2026-10-16T14:56:18Z", + "daily_log_count": 56, + "status": "WATCH" + } + ] +}