import type { RunResult } from "@/lib/types"; import { Badge, Bar, Card } from "./ui"; export function VerificationPanel({ run }: { run: RunResult }) { const v = run.verification; return ( {v ? (
{v.score.toFixed(2)} {v.passed ? "✓ pass" : "✖ fail"}

{v.feedback}

pass threshold: 0.80

) : (

{run.escalated ? "skipped — escalated before a draft was produced" : "no verification data"}

)} {run.escalated && (
⚔ boss fight → {run.answered_by}

{run.escalation_reason}

)}
); }