tia/src
Mannu c459b4411a fix: secure /api/ai endpoint and remove debug routes
- Add auth to /api/ai via requireFamily middleware
- Remove /api/ai and /api/auth/debug from public routes
- Delete debug/test routes that expose internal state

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-17 16:41:47 +05:30
..
__tests__ Security hardening - all 8 patches applied 2026-05-16 23:59:43 +05:30
app fix: secure /api/ai endpoint and remove debug routes 2026-05-17 16:41:47 +05:30
db Security hardening - all 8 patches applied 2026-05-16 23:59:43 +05:30
lib fix(admin): use correct column name 'expires' in admin_sessions queries 2026-05-17 12:22:17 +05:30
scripts Security hardening: auth, bcrypt, rate-limiting, RLS, audit 2026-05-16 23:11:01 +05:30
auth.ts Fix db imports: use dbUnscoped 2026-05-16 23:12:33 +05:30
middleware.ts fix: secure /api/ai endpoint and remove debug routes 2026-05-17 16:41:47 +05:30