Changed paths:
M dashboard/app/ai_report_lore_test.go
M dashboard/app/ai_report_test.go
M dashboard/app/ai_test.go
Log Message:
-----------
dashboard/app: use helper methods for AI job and report polling
Reduce boilerplate in dashboard AI test cases by consolidating agent and
report polling into helper methods. Manually constructing poll requests
and confirmation payloads across test functions makes the test suite
verbose and harder to maintain.
Replace repetitive agent and report polling checks with pollAIJob,
pollAIWorkflow, pollAndConfirmReport, and assertNoPendingReport.