Antigravity
5703d5bd49
CI / Lint, Unit Tests & Build (push) Successful in 5m39s
CI / Deploy production (on server) (push) Failing after 18s
feat(4-5/4-6): audit logging + zero-data-retention headers
Audit Logging (story 4-6):
- Nouveau modèle AuditLog (userId, action, resource, metadata, ip, createdAt)
- Migration 20260529143000_add_audit_log appliquée
- lib/audit-log.ts : logAuditEvent (fire-and-forget) + logAuditEventAsync + getClientIp
- auth.ts : LOG LOGIN / LOGOUT / USER_CREATED sur chaque event NextAuth
- /api/chat : log AI_REQUEST avec tokens + byok flag dans onFinish
- /api/agents/run-for-note : log AI_REQUEST avec featureKey + noteId
Zero-data-retention (story 4-5):
- OpenAI provider : header OpenAI-No-Training: 1
- Anthropic provider : header Anthropic-No-Train: 1
- DeepSeek provider : header X-No-Train: 1
sprint-status: 4-5 et 4-6 → done
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-29 14:36:06 +00:00
..
2026-05-22 17:18:48 +00:00
2026-05-16 12:59:30 +00:00
2026-05-16 12:59:30 +00:00
2026-05-16 12:59:30 +00:00
2026-05-16 12:59:30 +00:00
2026-05-24 14:27:29 +00:00
2026-05-24 14:27:29 +00:00
2026-05-16 20:50:29 +00:00
2026-05-16 23:38:11 +00:00
2026-05-24 14:27:29 +00:00
2026-05-24 14:27:29 +00:00
2026-05-29 11:24:56 +00:00
2026-05-29 11:30:56 +00:00
2026-05-29 11:24:56 +00:00
2026-05-14 17:43:21 +00:00
2026-05-14 17:43:21 +00:00
2026-05-14 17:43:21 +00:00
2026-05-14 17:43:21 +00:00
2026-05-19 20:07:56 +00:00
2026-05-14 17:43:21 +00:00
2026-05-17 14:18:25 +00:00
2026-05-14 17:43:21 +00:00
2026-05-29 14:36:06 +00:00
2026-05-16 12:59:30 +00:00
2026-05-16 12:59:30 +00:00
2026-05-29 11:24:56 +00:00
2026-05-27 21:39:21 +00:00
2026-05-28 20:50:11 +00:00
2026-05-29 11:24:56 +00:00
2026-05-16 21:10:26 +00:00
2026-05-29 11:24:56 +00:00
2026-05-14 17:43:21 +00:00