Commit graph

18 commits

Author SHA1 Message Date
5f7e52d88a docs(t2live): MAJ prompt §3, TD-22, CHANGELOG Sprint 6d
Some checks failed
CI / quality (push) Has been cancelled
- Prompt_t2live.md §3 réécrit (13 règles) + encadré spécificité T2 (règle 7
  non propageable au prompt T1).
- TECH_DEBT-backend.md: TD-22 (contournement prompt engineering Flash Live).
- CHANGELOG-backend.md: bloc Sprint 6d.
2026-06-28 11:49:45 +03:00
d89b0b1e89 Sprint 6a — Backend T2 Live (WS proxy + correction + persistance)
feat(geminiLive): dynamic prompt builder, transcript accumulation,
  VAD config (END_SENSITIVITY_LOW, 2s silence), 210s timeout + 180s warning
feat(t2live): sujet fetch + validation, correction pipeline (deepseekCorrectEO
  + PHONOLOGY_STUB TD-08), production insert + report delivery via WS
feat(deepseek): TacheEO extended with EO_T2, VALID_TACHES_EO updated
test: 11 geminiLive tests (rewritten + 4 new), 10 t2live integration tests
  292/292 backend tests green (+15)
2026-04-26 19:53:37 +03:00
28f8373f5d fix(stripe): cancel_url /tarifs → /plan
La route /tarifs n'existe pas côté frontend (route réelle: /plan).
Cancellation Stripe Checkout aboutissait sur un 404. Bug détecté lors
du Sprint 5c frontend (gestion des retours post-Checkout).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-26 05:49:50 +03:00
6671bac347 feat(billing): TD-13 webhook idempotency + Stripe Customer Portal + doc cleanup
- Table stripe_webhook_events + helpers isEventProcessed/markEventProcessed
- POST /stripe/customer-portal (auth + stripe_customer_id check)
- ARCHITECTURE-backend.md: suppression POST /plans/upgrade (duplication doc)
- TD-13 fermé dans TECH_DEBT-backend.md
- Tests: 261 → 278 verts (+17)
2026-04-26 04:15:46 +03:00
ec0598d122 feat(corrections/eo): évaluation phonologique Gemini — 5 critères × /4 (Sprint 4.8)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-26 03:09:13 +03:00
34b4bcdd82 docs: update CHANGELOG and ROADMAP for Sprint 4
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-25 08:54:58 +03:00
7cac057062 feat(eo): align correction EO on 3.6a format + Deepgram token + T1 presentation generation
Sprint 4a:
- correctEO aligned on CorrectionRapport format (revelation, diagnostic, criteres, conseil_nclc, erreurs_codes)
- nclc_cible parameter (default 9, accepts 9|10)
- Fire-and-forget modele + exercices jobs (same pattern as EE)
- EO-specific DeepSeek prompt (oral transcript tolerance, 4 TCF criteria)
- Gemini transcribeAudio: 30s timeout + 1 retry
- POST /presentations/generate: 5-field questionnaire → DeepSeek generates oral presentation (~220-260 words, NCLC 7-8)
- Migration 006_sprint_4a_eo.sql (documentation only — no audio storage)

Sprint 4b:
- POST /transcriptions/token: Deepgram temporary API key (600s TTL)
- Removed audio storage pipeline (audioStorage.ts, XOR validation, 14MB limit)
- Backend receives transcript text only, no audio files
- TD-10/TD-11 resolved (Sprint 3.6c), TD-16/17/18 resolved (4b cleanup)

Typecheck: OK · Tests: 241/241 

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-25 05:04:26 +03:00
f5954e6d72 docs(changelog): add health check keepalive entry
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-25 02:29:05 +03:00
63bc43ddcf feat(corrections): Sprint 3.6a — nouveaux prompts + taxonomie erreurs + génération parallèle
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-22 17:27:29 +03:00
c9912e883a docs: Golden Dataset — validation manuelle T2 live Premium — 17 avril 2026 2026-04-17 04:57:54 +03:00
653fc3150e feat: WS /t2/live — proxy Gemini Live API — 124/124 tests 2026-04-17 03:39:21 +03:00
dd2dfaa662 fix: build TypeScript — moduleResolution Bundler + casts API — 117/117 tests 2026-04-17 00:53:31 +03:00
5b82c6bd46 feat: Stripe checkout + webhook + upgrade prorata — 117/117 tests 2026-04-16 20:39:18 +03:00
f4f8c55ce7 feat: POST /corrections/eo — Gemini transcription + DeepSeek EO — 84/84 tests 2026-04-16 17:43:46 +03:00
77d5a8373e feat: POST /corrections/ee — DeepSeek rapport complet — 73/73 tests 2026-04-16 17:14:45 +03:00
b4097d7bde docs: ajout TECH_DEBT.md — 12 entrées initiales 2026-04-16 15:13:59 +03:00
f4849571c4 feat: ajout 6 fichiers de tests automatisés — 39/39 verts 2026-04-16 06:46:43 +03:00
b06970c9ae docs: ajout documentation de référence 2026-04-16 05:50:55 +03:00