Commit History
-
fix: update production port to 7860 for Hugging Face compatibility and add audit report
CognxSafeTrack10211c3
-
fix(docker): generate Prisma client before turbo build
CognxSafeTrack +1: Claude Sonnet 4.6Prisma generate was running AFTER pnpm turbo run build, causing TypeScript to compile the API without the generated Prisma types. This made all Prisma query result types resolve to 'any', triggering TS7006 on every callback parameter (.map, .filter, .reduce) in strict mode. Fix: move prisma generate to before turbo build in the builder stage. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>93faeee -
chore: finalize Sprint P2 & P3 optimizations, baseline prisma migrations, and update technical audit docs
CognxSafeTrackcfbb685
-
feat: deploy user modifications to database and docker configuration
CognxSafeTrack192979e -
fix: ensure production build and runtime use compiled JS to avoid tsx dependency
CognxSafeTrack54834cf -
feat: complete final technical debt polishing (structured logs, stripe tests, and automated migrations)
CognxSafeTrack86731f4 -
chore: optimize Dockerfile and PM2 config for independent scaling and better performance
CognxSafeTrack34c79d1 -
feat: implement PM2 orchestration and re-enable BullBoard (Phase 1)
CognxSafeTrackb035578 -
deploy: add root Dockerfile for Railway
CognxSafeTrack8ff7abb
-
fix: decouple API and Worker startup and resolve port conflicts
CognxSafeTrack0134788
-
feat: unified Dockerfile for multi-service deployment
CognxSafeTrack0aedaaf
-
fix: allow CORS preflight OPTIONS requests in guarded routes
CognxSafeTrackac6a112 -
chore: force railway rebuild via REBUILD_DATE bump
CognxSafeTrack3e4c8c4
-
fix(ai): remove double day incrementation on success and queue remediation correctly
CognxSafeTrack8fde072 -
feat(ai): integrate XAMLÉ v2 prompt guidelines including anti-hallucination constraints and strict Wolof normalization
CognxSafeTrack90b1788 -
fix(ai): remove hardcoded sector examples from system prompts to prevent AI hallucinations across mismatched domains
CognxSafeTrack75c0b4c -
chore: explicit rebuild request for railway deployment sync
CognxSafeTrackdcdc311 -
fix(ai): update validation schemas and types to properly handle null context parameters for new users
CognxSafeTrack9102815 -
fix(ai): add imageUrl field to Prisma schema and correctly route language selection inside whatsapp.ts
CognxSafeTrackf0f0df4 -
fix(ai): fully wipe BusinessProfile and Response history on INSCRIPTION to prevent AI context leaks
CognxSafeTrack854ab32 -
chore: force rebuild on Railway and HF via Dockerfile cache invalidation
CognxSafeTrackf414696
-
fix(docker): set SKIP_DB_PUSH=true default to prevent HF Space dropping schema columns
CognxSafeTrack752165b -
chore(docker): bump REBUILD_DATE to v6 to force Railway redeploy after build fix
CognxSafeTrack1d81454
-
fix(deployment): make Prisma sync conditional in Dockerfile to prevent HF crash
CognxSafeTrackf9ed63f
-
build: add prisma db push to API startup
CognxSafeTracke619896 -
build: force deep rebuild v4 with improved logging
CognxSafeTrack3ec3d38
-
build: Bump rebuild date to force HF cache invalidation
CognxSafeTrack6cd1af9 -
fix(deploy): use tsx for HF api start, combine api and worker on railway to expose webhooks
CognxSafeTrack3c8d51a -
chore(deploy): split HF Dockerfile for API and Railway Dockerfile for Worker
CognxSafeTrackb6cac0c
-
fix(hf): remove worker from HF Dockerfile CMD — API-only mode
CognxSafeTrack20dc7ed
-
fix: force ipv4 DNS resolution in Docker to prevent native fetch ENOTFOUND errors
CognxSafeTrack1adb7ee -
fix(docker): bust cache with REBUILD_DATE to guarantee latest code ships
CognxSafeTrack222146f
-
feat(docker): bypass build issues and run directly with tsx
CognxSafeTrack29d83ee -
fix(docker): ensure typescript is installed and workspaces build correctly
CognxSafeTrack4fc4120 -
fix(docker): pin pnpm to v9 to prevent fetch errors
CognxSafeTrackf61e1a8 -
chore(docker): optimize build with debian slim and system chromium
CognxSafeTrack827d82d -
fix: run prisma commands using @repo /database filter
CognxSafeTrackf68d61b -
fix: resolve Docker build cache miss and pnpm filter errors
CognxSafeTracke4884cd
-
feat: add Dockerfile and script for Hugging Face Spaces
CognxSafeTracka59f28c