import json

summary_path = r"C:\Users\intel\AppData\Local\OptimusRuntime\Labs\AR74\10_ar84_trust_boundary\evidence\ar84_verification_summary.json"
with open(summary_path, "r", encoding="utf-8") as f:
    s = json.load(f)

print("Global Evaluation:", s.get("global_evaluation"))
print("Production Untouched:", s.get("production_untouched"))
print("Production Mismatches:", len(s.get("production_mismatches", [])))
print("Continuity Integrity Before:", s.get("continuity_integrity_before"))
print("Continuity Integrity After:", s.get("continuity_integrity_after"))
print("Brain Route Dispatched:", s.get("brain_operational_route", {}).get("autonomous_hook_dispatched"))
print("Antiforgery returncode:", s.get("antiforgery_gates_returncode"))
patches = s.get("patches_and_hashes", {})
print(f"Patches in manifest: {len(patches)}")
for k, v in patches.items():
    print(f"  {k}: diff_lines={v.get('diff_lines_count')}, patch_sha={v.get('patch_sha256')[:12]}..., cand_sha={v.get('candidate_sha256')[:12]}..., orig_sha={v.get('original_sha256')[:12]}...")

