Summary
Add CI step that runs Playwright to capture UI screenshots on PRs and auto-updates the preview images. Include agents.md instructions for which sections to observe.
Technical Approach
- GitHub Actions workflow triggered on PR
- Run Playwright to capture key pages (dashboard, section view, graph, chat)
- Upload screenshots as PR comment or commit to branch
- agents.md section documenting which UI areas to screenshot
- Compare with baseline screenshots for visual regression detection
Key Files
- .github/workflows/ — new or existing CI workflow
- ui/playwright.config.ts — Playwright setup
- AGENTS.md — add screenshot section instructions
Acceptance Criteria
Summary
Add CI step that runs Playwright to capture UI screenshots on PRs and auto-updates the preview images. Include agents.md instructions for which sections to observe.
Technical Approach
Key Files
Acceptance Criteria