Add AI news risk analysis and dashboard

Analyze news revisions with independent model settings, evidence-backed risk ratings, event grouping, and rolling market outlooks. Add a default homepage, archival history, pending-result refresh, and isolated regression coverage.

Keep analysis disabled until explicitly enabled. Require a separately authorized schema migration before deployment and preserve compatibility with the previous six-service instance.
This commit is contained in:
eezd committed 2026-10-30 18:35:49 +08:00
1 parent 549b818e95
commit 4f43ca8b57
31 files changed
+1521 -18

No files matched your search

+1
View File
@@ -11,6 +11,7 @@ export interface NewsBrief {
published_at: string
first_seen_at: string
revision_no: number
risk?: { state: string, stars: number | null, summary: string | null, verification: string | null } | null
}
export interface NewsQuery {