Commit Graph
4 Commits
Author SHA1 Message Date
Mustafa Yildiz 146ba93a9b fix: auto-bind case user_id and auto-create missing user trial profiles in auth middleware to prevent 403 Forbidden errors 2026-08-15 17:01:30 +03:00
mstfyldz fab80e05a0 feat: upgrade AI prompts to v2 specification with grounding and injection shield 2026-08-14 00:52:41 +03:00
mstfyldz b030bdaa60 fix: allow case-less ("general") chat without ownership check
requireAuth treated every chat caseId as a real cases row and rejected
"general" (the no-file chat sentinel) with 403. general chat now skips
the ownership check and is answered without touching chat_messages,
since that table's case_id is a NOT NULL FK to cases.
2026-08-09 01:52:53 +03:00
mstfyldz df70520ede Initial commit 2026-08-08 17:19:28 +03:00