Fix MVP audit evidence pipeline
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
---
|
||||
id: TASK-45
|
||||
title: Show audit evidence on detail pages
|
||||
status: In Progress
|
||||
assignee: []
|
||||
created_date: '2026-06-07 21:50'
|
||||
updated_date: '2026-06-07 22:01'
|
||||
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 -->
|
||||
Reference in New Issue
Block a user