feat: add manual feedback AI summaries and secure leaderboard scoring

Co-authored-by: Stephan Charles <[email protected]>
Co-authored-by: Amelia Hernandez <[email protected]>
Co-authored-by: Markus Franz <[email protected]>
Co-authored-by: Sabrina Hota <[email protected]>
Co-authored-by: Nilüfer Doğan <[email protected]>
This commit is contained in:
committed 2026-10-15 19:06:10 +02:00
1 parent 407b878e23
commit 821907b164
37 files changed
+1640 -77

No files matched your search

+24 -1
View File
@@ -161,4 +161,27 @@ the full local commit ID `c0fbf495dc15fd8e1886ae6e9e54a6099ea3dbbe`.
The subsequent documentation follow-up includes the pending whitespace-only
formatting of `supabase/seed.sql`. Comparison with the committed seed confirmed
identical non-whitespace content; seeded data and SQL behavior are unchanged.
No database reset, seed execution or additional production deployment is needed.
No database reset, seed execution or additional production deployment is needed.
## Feedback AI (Local Follow-up)
The subsequent feedback feature is a separate local implementation, not included
in the commits or production deployments recorded above. Admin now has global
LLM settings and manual **Generate AI Summary** buttons for event feedback and
each individual session with responses. Results are persisted separately and a
failed regeneration preserves the previous result. The old Schedule evaluation
stub is removed and its RPC is no longer client-callable.
Migration `20261011163332_feedback_ai_summaries` was applied by itself to the local
database with its ledger entry. Older pending migrations were left alone. No
reset, seed or production changes were performed. The LLM remains unconfigured;
no real feedback was sent to a provider. See the
[configuration, permissions and privacy contract](../backend/feedback-ai.md).
Validation: 28 sidecar tests, eight rollback-only SQL assertions, 54 combined
API-mocked browser regressions, Admin build, test TypeScript and editor checks.
Desktop/mobile screenshots were inspected. A disposable local Auth smoke verified
authenticated settings/key redaction and no-feedback rejection, then removed all
fixtures without sending email. The usual local Admin on port 3001 uses the
updated isolated sidecar on port 3003 via a Git-ignored development proxy override;
the existing port-3002 sidecar and Auth services were not restarted.