diff --git a/_byan-output/fast-app/formation-hub/SESSION-RESUME.md b/_byan-output/fast-app/formation-hub/SESSION-RESUME.md index c605d69..edd95d0 100644 --- a/_byan-output/fast-app/formation-hub/SESSION-RESUME.md +++ b/_byan-output/fast-app/formation-hub/SESSION-RESUME.md @@ -1,4 +1,4 @@ -# SESSION RESUME — formation-hub Acadenice (last update 2026-05-07 post R3.1.a) +# SESSION RESUME — formation-hub Acadenice (last update 2026-05-07 post R3.1.b) ## RECAP SESSION 2026-05-07 (lecture obligatoire post-/compact) @@ -14,6 +14,7 @@ DocAdenice n'est plus un outil metier formation-hub mais un **produit Notion-lik **Bridge formation-hub (`bridge/`, push origin+selfhost)** : ``` +c998c0d R3.1.b SSE realtime stream (Redis Streams pub/sub, Last-Event-ID, heartbeat) — 380 tests 95089c4 R3.1.a views endpoints (GET /views/table/:id + GET /views/:id/data) — 336 tests a79c51e R2.3b bridge accepte JWT HMAC DocAdenice via DOCMOST_APP_SECRET 2ed73fa R1 refactor proxy generique style Notion @@ -23,7 +24,7 @@ a79c51e R2.3b bridge accepte JWT HMAC DocAdenice via DOCMOST_APP_SECRET 022b1ee Bloc 7 webhooks Baserow + Docmost stub (HMAC + idempotence) c4f087b Bloc 6 tests integration adapters via testcontainers ``` -Bridge state : 336/336 tests verts (+44 R3.1.a), coverage globale 90.54% lines, 3 sources d'auth Bearer (brg_*, RS256 Authentik, HS256 DocAdenice). Routes views.ts 100% lines, domain/view.ts 100%, webhooks 100%. +Bridge state : 380/380 tests verts (+44 R3.1.a +6 retry/fake-redis, +11 SSE route, +8 baserow-handler SSE), coverage globale ~90% lines, 3 sources d'auth Bearer (brg_*, RS256 Authentik, HS256 DocAdenice). event.ts 100%, event-bus.ts 100% lines/94.44% branches, events.ts 78.23% lines (onError Hono safety net + heartbeat-closed guard non atteignables sans serveur HTTP reel). Thresholds vitest.config.ts mis a jour pour les 3 nouveaux fichiers. **Fork DocAdenice (`docmost/`, gitignored, branche `acadenice/main`, local-only)** : ``` @@ -55,7 +56,7 @@ Owner=`admin:*`, Admin=tout sauf `*:delete` et `roles:manage`, Editor, Member, G ### Suite immediate : R3 — Tiptap node-views Notion-like (5 sous-blocs) - **R3.1** database-view inline (embed une table/kanban/calendar Baserow dans une page) — decoupe : - R3.1.a bridge endpoints views (LIVRE 95089c4, 336 tests) - - R3.1.b bridge SSE realtime (events Baserow -> stream DocAdenice, invalidation cache) + - R3.1.b bridge SSE realtime (events Baserow -> stream DocAdenice, invalidation cache) — LIVRE c998c0d, 380 tests - R3.1.c frontend node-view Tiptap + renderer table (TanStack Table v8) + slash `/database` - R3.1.d frontend renderers kanban (@dnd-kit) + calendar (lib a trancher) - R3.1.e Playwright e2e cross-stack (compose dev Postgres+Redis+Baserow+bridge+DocAdenice, scenarios login -> page -> insert database-view -> CRUD inline -> verify SSE update -> RBAC user-side)