feat(ai): add personal summary models and retire Q&A

Add an admin-managed provider model catalog with per-user summary selection, migration backfill, and generation snapshots. Retire report creation and messaging while preserving owner-scoped history.

Refs #15 #16

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-11-21 20:45:21 +01:00
parent ac17d27f51
commit 989996fbd6
53 changed files with 2228 additions and 979 deletions

View File

@ -68,7 +68,7 @@ export function readStackManifest() {
if (!manifest.bootstrapAdmin?.email || !manifest.bootstrapAdmin?.password) {
throw new Error('E2E fake stack manifest must provide disposable bootstrap admin credentials.')
}
for (const field of ['indexQuery', 'indexName', 'indexSymbol', 'indexFIGI', 'summarySentinel', 'articleTitle', 'articleURL', 'articleContent', 'candidateID']) {
for (const field of ['indexQuery', 'indexName', 'indexSymbol', 'indexFIGI', 'summaryModelID', 'summarySentinel', 'articleTitle', 'articleURL', 'articleContent', 'candidateID']) {
if (typeof manifest.fixtures?.[field] !== 'string' || !manifest.fixtures[field]) {
throw new Error(`E2E fake stack manifest is missing fixtures.${field}.`)
}