From 34b4bcdd82fc89da25b318842568e44b286d64f3 Mon Sep 17 00:00:00 2001 From: Hermann_Kitio Date: Sat, 25 Apr 2026 08:54:58 +0300 Subject: [PATCH] docs: update CHANGELOG and ROADMAP for Sprint 4 Co-Authored-By: Claude Opus 4.7 (1M context) --- docs/CHANGELOG-backend.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/CHANGELOG-backend.md b/docs/CHANGELOG-backend.md index 1ce412e..bfc976a 100644 --- a/docs/CHANGELOG-backend.md +++ b/docs/CHANGELOG-backend.md @@ -6,6 +6,29 @@ Format basé sur [Keep a Changelog](https://keepachangelog.com/fr/1.1.0/). --- +## [Unreleased] — 2026-04-25 — Sprint 4a/4b — Backend EO + +### Added + +- `POST /corrections/eo` aligné format Sprint 3.6a : revelation, diagnostic, criteres enrichis (exemple/suggestion/astuce), conseil_nclc adaptatif (4 niveaux selon score vs cible), erreurs_codes, jobs fire-and-forget modèle + exercices +- `POST /presentations/generate` — génération présentation T1 via DeepSeek (220-260 mots, registre oral NCLC 7-8, 5 champs) +- `POST /transcriptions/token` — token Deepgram éphémère (600s TTL, dormant côté frontend MVP) +- `src/lib/deepgram.ts` — client Deepgram /v1/auth/grant (scope Member requis) +- `src/lib/audioStorage.ts` — supprimé (audio non stocké côté serveur) +- Migration `006_sprint_4a_eo.sql` — documentation bucket Storage (no-op) + +### Changed + +- `correctEO` : accepte audioBase64+mimeType (Gemini batch) OU transcript texte +- MIME normalisé avant validation (audio/webm;codecs=opus → audio/webm) +- `sanitizeJsonContent` : gère single-quote JSON DeepSeek +- Gemini timeout 30s → 45s, DeepSeek correctEO 55s → 90s +- `gemini-2.0-flash` → `gemini-2.5-flash` +- conseil_nclc adaptatif EE + EO (4 niveaux : dépassé / atteint / proche / loin) +- Tests : 205 → 248 verts (+43) + +--- + ## [Unreleased] — 2026-04-25 — Fix health check keepalive Supabase ### Changed