Files
pitchfast/backlog/tasks/task-45 - Show-audit-evidence-on-detail-pages.md

50 lines
2.1 KiB
Markdown

---
id: TASK-45
title: Show audit evidence on detail pages
status: Done
assignee: []
created_date: '2026-06-07 21:50'
updated_date: '2026-06-10 19:27'
labels: []
dependencies: []
priority: high
ordinal: 47000
---
## Description
<!-- SECTION:DESCRIPTION:BEGIN -->
Fix the audit detail view so stored checked pages and compact website-enrichment evidence are visible instead of only showing the page count.
<!-- SECTION:DESCRIPTION:END -->
## Acceptance Criteria
<!-- AC:BEGIN -->
- [x] #1 Audit detail query returns ordered checked-page evidence with crawl, technical, and screenshot summaries
- [x] #2 Audit detail UI renders a compact Geprüfte Seiten section between overview and skills
- [x] #3 Fallback rows render checkedPages even when enrichment evidence is missing
- [x] #4 Public audit and outreach flows remain unchanged
- [x] #5 Regression tests and local verification pass
<!-- AC:END -->
## Implementation Plan
<!-- SECTION:PLAN:BEGIN -->
1. Add RED tests for getDetail sourceSummaries checked-page evidence
2. Add RED tests for AuditDetail compact evidence rendering
3. Extend audits.getDetail with bounded lead/enrichment evidence summaries
4. Render compact checked-page evidence card in AuditDetail
5. Run focused and full verification without closing the task
<!-- SECTION:PLAN:END -->
## Implementation Notes
<!-- SECTION:NOTES:BEGIN -->
Implemented getDetail sourceSummaries.checkedPages with latest successful website_enrichment evidence by lead, bounded crawl/technical/screenshot joins, storage URL resolution, and checkedPages fallback rows. AuditDetail now renders a compact Geprüfte Seiten card between overview and skills. Verification passed: focused tests, pnpm test, app tsc, lint, git diff --check, convex codegen dry-run/typecheck, and convex dev --once. Browser plugin reached login because its session is unauthenticated; Arc/local authenticated session should show the deployed query after reload.
<!-- SECTION:NOTES:END -->
## Final Summary
<!-- SECTION:FINAL_SUMMARY:BEGIN -->
Closed per explicit user request while switching project tracking to pitchfast.
<!-- SECTION:FINAL_SUMMARY:END -->