49 lines
1.9 KiB
Python
49 lines
1.9 KiB
Python
#!/usr/bin/env python3
|
|
"""Render a clear written-result summary of the verified sol-lane triage.
|
|
|
|
Reads the committed, independently re-derived manifest at
|
|
/root/troupe-standup/wizard-work/sol/sol-lane-triage-2026-10-29.json and
|
|
writes a human-readable summary into the sol profile's wizard outputs.
|
|
|
|
This is a read-off the REAL manifest, not a guess: every number below is
|
|
derived from that file.
|
|
"""
|
|
import json
|
|
from pathlib import Path
|
|
|
|
REPO = Path("/root/troupe-standup")
|
|
MANIFEST = REPO / "wizard-work" / "sol" / "sol-lane-triage-2026-10-29.json"
|
|
OUT = Path("/root/.hermes/profiles/sol/wizard-outputs/sol") / "sol-lane-triage-2026-10-29.md"
|
|
|
|
def main() -> None:
|
|
art = json.loads(MANIFEST.read_text(encoding="utf-8"))
|
|
by_category = art.get("by_category", {})
|
|
total = art.get("total_files", len(art.get("files", [])))
|
|
lines = []
|
|
lines.append("SOL-LANE TRIAGE - 2026-10-29 (verified manifest)")
|
|
lines.append("=" * 52)
|
|
lines.append("")
|
|
lines.append("Manifest: %s" % MANIFEST)
|
|
lines.append("Files recorded in manifest: %d" % total)
|
|
lines.append("")
|
|
lines.append("Category breakdown (re-derived by the independent verifier):")
|
|
lines.append("-" * 52)
|
|
for cat in sorted(by_category):
|
|
lines.append(" %-8s %d" % (cat, by_category[cat]))
|
|
n = sum(by_category.values())
|
|
lines.append(" " + "-" * 56)
|
|
lines.append(" %-8s %d" % ("TOTAL", n))
|
|
lines.append("")
|
|
lines.append("Verification:")
|
|
lines.append(" * seed files: %s" % (REPO / "wizard-work" / "sol" / "sol-lane-triage-seed-2026-10-29.json"))
|
|
lines.append(" * verifier: %s" % (REPO / "wizard-work" / "sol" / "verify_sol_lane_triage.py"))
|
|
lines.append(" * gate: %s" % (REPO / "CHECK-sol-lane-triage-2026-10-29"))
|
|
lines.append("")
|
|
OUT.parent.mkdir(parents=True, exist_ok=True)
|
|
OUT.write_text("\n".join(lines) + "\n", encoding="utf-8")
|
|
print("WROTE", OUT)
|
|
print("\n".join(lines))
|
|
|
|
if __name__ == "__main__":
|
|
main()
|