nxtgauge-backend-rust/apps
Tracewebstudio Dev d9b3bb4d94
All checks were successful
build-and-release / build (tutors) (push) Successful in 2m36s
build-and-release / build (users) (push) Successful in 4m52s
build-and-release / build (jobs) (push) Successful in 41s
backend-integration-tests / ai-credits (push) Successful in 45s
build-and-release / build (fitness-trainers) (push) Successful in 1m52s
build-and-release / build (catering-services) (push) Successful in 1m59s
build-and-release / build (social-media-managers) (push) Successful in 3m3s
build-and-release / build (employees) (push) Successful in 1m50s
build-and-release / build (graphic-designers) (push) Successful in 1m54s
build-and-release / build (ugc-content-creators) (push) Successful in 2m46s
build-and-release / build (companies) (push) Successful in 2m6s
build-and-release / build (payments) (push) Successful in 1m55s
build-and-release / build (makeup-artists) (push) Successful in 2m38s
build-and-release / build (cron) (push) Successful in 2m22s
build-and-release / build (job-seekers) (push) Successful in 3m9s
build-and-release / build (customers) (push) Successful in 2m38s
build-and-release / build (developers) (push) Successful in 2m23s
build-and-release / build (photographers) (push) Successful in 2m51s
build-and-release / build (video-editors) (push) Successful in 2m45s
build-and-release / build (gateway) (push) Successful in 44s
feat(ai-guard): add semantic moderation layer + guard violations DB logging
- Add llm_moderation_check() — async call to LiteLLM /moderations endpoint
  (routes to OpenAI Moderation API, free) for hate/sexual/violence detection.
  Fails open: if LiteLLM is unreachable, message is allowed through with a
  warning log so core chat is never broken by a network hiccup.
- Add spawn_guard_log() — fire-and-forget tokio task that persists every
  guard rejection (keyword AND moderation) to ai_guard_violations table.
- Wire both guards into ai_chat_message, ai_chat_ask, and ai_chat_stream.
- Add migration: ai_guard_violations(id, user_id, message_excerpt,
  guard_type, reason, categories JSONB, created_at).
- Add GET /api/admin/ai/guard-events with filter by guard_type, pagination.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-15 14:20:44 +02:00
..
catering_services Surface real B2 upload errors and enforce 10MB body limit on document uploads 2026-07-26 19:25:53 +05:30
companies fix: return JSON errors from create_job and add admin job-slot grant endpoint 2026-08-03 17:04:00 +05:30
cron fix: security, wallet holds, printpdf upgrade 2026-08-12 13:38:17 +02:00
customers Surface real B2 upload errors and enforce 10MB body limit on document uploads 2026-07-26 19:25:53 +05:30
developers Surface real B2 upload errors and enforce 10MB body limit on document uploads 2026-07-26 19:25:53 +05:30
employees Fix security audit findings: admin authz, captcha, secret leak, CORS 2026-07-23 17:31:48 +05:30
fitness_trainers Surface real B2 upload errors and enforce 10MB body limit on document uploads 2026-07-26 19:25:53 +05:30
gateway feat(waitlist): admin listing endpoint (GET /api/admin/waitlist) 2026-08-14 04:05:17 +05:30
graphic_designers Surface real B2 upload errors and enforce 10MB body limit on document uploads 2026-07-26 19:25:53 +05:30
job_seekers fix: security, wallet holds, printpdf upgrade 2026-08-12 13:38:17 +02:00
jobs Fix security audit findings: admin authz, captcha, secret leak, CORS 2026-07-23 17:31:48 +05:30
makeup_artists Surface real B2 upload errors and enforce 10MB body limit on document uploads 2026-07-26 19:25:53 +05:30
payments feat(ai-credits): real coupon validation endpoint; restore invoice FK integrity 2026-08-14 15:26:47 +05:30
photographers Surface real B2 upload errors and enforce 10MB body limit on document uploads 2026-07-26 19:25:53 +05:30
social_media_managers Surface real B2 upload errors and enforce 10MB body limit on document uploads 2026-07-26 19:25:53 +05:30
tutors Surface real B2 upload errors and enforce 10MB body limit on document uploads 2026-07-26 19:25:53 +05:30
ugc_content_creators Surface real B2 upload errors and enforce 10MB body limit on document uploads 2026-07-26 19:25:53 +05:30
users feat(ai-guard): add semantic moderation layer + guard violations DB logging 2026-08-15 14:20:44 +02:00
video_editors Surface real B2 upload errors and enforce 10MB body limit on document uploads 2026-07-26 19:25:53 +05:30