diff --git a/components/artifacts/job-card.tsx b/components/artifacts/job-card.tsx index e134fb1..6616eda 100644 --- a/components/artifacts/job-card.tsx +++ b/components/artifacts/job-card.tsx @@ -44,6 +44,11 @@ export function PdfBriefCard({ output }: { output: unknown }) { ); } const failed = result.brief.startsWith("PDF failed"); + // Read = extract/render output entered the loop; consulted = every page + // incl. search hits (the full audit set — the brief's citations may point + // there). The ?? fallbacks tolerate pre-split persisted records. + const readList = result.pagesRead ?? result.pagesConsulted ?? []; + const consultedList = result.pagesConsulted ?? []; return (