import json, os, sys evidence_path = "/opt/ai-os/products/ceo/profiles/r-and-d/raw_evidence/evidence_20260911.json" daily_path = "/opt/ai-os/products/ceo/shared/intelligence/daily/2026-09-11.md" assert os.path.exists(evidence_path), "Missing evidence file" assert os.path.exists(daily_path), "Missing daily file" with open(evidence_path, "r", encoding="utf-8") as f: data = json.load(f) assert "timestamp" in data assert "domains" in data assert len(data["domains"]) == 4, f"Expected 4 domains, got {len(data["domains"])}" for d in data["domains"]: assert "domain_id" in d assert "findings" in d assert len(d["findings"]) > 0 with open(daily_path, "r", encoding="utf-8") as f: content = f.read() assert "Executive Brief by Domain" in content assert "Key Signals Ledger Table" in content assert "Verified Sources List" in content assert len(content) > 1000 print("Verification passed successfully: all checks green.")