1. packages/database/seed.ts: restore re-export of seedDatabase.
moduleResolution:node ignores package.json exports field β TypeScript
resolves @repo/database/seed to root seed.ts. Without the re-export,
tsc sees no seedDatabase export β TS2339 build failure.
Runtime still uses dist/src/seed.js (via exports field) which is
compiled CJS with no TypeScript syntax.
2. apps/whatsapp-worker/src/index.ts: add DISABLE_WORKER_CONSUMER guard.
Both Railway and HuggingFace workers share the same BullMQ/Redis queue.
When HuggingFace wins a send-message job, it fails with SSL EPROTO
(HF cannot reach graph.facebook.com). Setting DISABLE_WORKER_CONSUMER=true
on HuggingFace keeps the bridge running (accepts forwarded webhooks) but
stops it from consuming jobs β only Railway's worker sends to Meta.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
fix(database): point @repo/database/seed export to compiled distβ
CognxSafeTrack+1: Claude Sonnet 4.6
3deace7
exports["./seed"] was pointing to src/seed.ts (raw TypeScript) which
Node cannot parse in production β SyntaxError: Unexpected token ':'.
Changed to dist/src/seed.js which is already compiled by tsc (src/**/*
is in tsconfig include). Also reverted root seed.ts to pure script β
the re-export we added was unused since exports now points to dist/.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
fix(bot): build error + multilingual sectors + UserProgress on enrollmentβ
CognxSafeTrack+1: Claude Sonnet 4.6
b538b17
Build:
- Revert CommandHandler to dynamic import for seedDatabase β TypeScript
moduleResolution:node resolves @repo/database/seed to root seed.ts
which had no exports. Added re-export of seedDatabase there as fix.
OnboardingHandler:
- LEGACY_SECTORS now has multilingual labels (FR/WOLOF/EN/ES/PT)
- Sector list displayed in the user's chosen language at step 2
- Sector label saved to activity in user's language (not hardcoded FR)
EnrollHandler:
- Create UserProgress atomically alongside Enrollment on first enroll.
Missing UserProgress caused NavigationHandler SUITE to throw
"Record not found" on userProgress.update, blocking all navigation.
- Welcome message now sent in user's language (was hardcoded FR)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
feat: implement inbound audio/image transcription, secure media proxy, and client-side bulk contact import
CognxSafeTrack
30d60ea
feat(prod): implementation of missing features for production readiness
CognxSafeTrack
b150436
feat(module1): integrate the 12-day curriculum in FR/WO with seed data and auto-routing
CognxSafeTrack
cd75882
feat(whatsapp): implement interactive pedagogy architecture with Voice and Button routing
CognxSafeTrack
5746532
Initial commit: Monorepo setup with React+Vite, Fastify, Prisma, and Docker Compose