17 KiB
17 KiB
- Louis-Andre — profil — dev senior/admin, francais, workflow specs .md delegues
- Minimal permission prompts — executer directement, ne confirmer que pour actions destructives
- Relancer DEUX serveurs — Stop-Process node tue aussi Vite, toujours relancer backend + frontend
- PR depuis PO: state machine — validateInvoice doit set budgetCheckResult + opsApprovedAt sinon state=draft
- Diagnostic BUG1 doublons — toujours verifier visuellement, ne pas se fier au code seul
- Deux modules fournisseur — frontend utilise /supplier-database, PAS /suppliers
- Prisma Decimal = string — champs Decimal serialises en string, coercer Number() cote frontend
- Session 35 complete — 15 specs, workflow paiement refondu, TLT, tender award fix (09/04/2026)
- Session 36 complete — 36A-36H, reminders, revision fix, navigation, lot split deliveryDate (10/04/2026)
- Session 37 complete — 37A-37E, settings refonte, notif preferences, budget specData, notifyByCategory (10/04/2026)
- Session 38 en cours — 38A-38F, lots editables, livraison partielle, UX correctifs PO, profil, 305→0 TS, calendrier ДДС reel (10-13/04/2026)
- Session 39 en cours — 39A enum ExpenseCode → table 54 codes cyrilliques, FK 4 tables, CRUD admin, classifyCategory async (13/04/2026)
- Session 40 deployée — 40A alertes widget, 40B approve/reject override PR+PO, 40C fix Рентабельность budget×qty + actual POInvoice (14/04/2026)
- Session 40D mapping smeta — SmetaBudgetMapping, profitabilityByExpenseCode, SPEC-40E ventilation/marge (14/04/2026)
- Session 41 complete — 41A-41I: migration staging, PO drawer, tender↔PO links, supplier fix, archived toggle, backfill material, TLT fix (15-20/04/2026)
- Session 42 complete — 42A purge DB + material required, 42B ventilation line-by-line POLine.material (21/04/2026)
- Session 42C complete — cashflow entrées clients socle: 7 modèles, 27 endpoints, UI onglet+page (21/04/2026)
- Session 42D+E complete — ClientContract + auto-gen installments + УПД sign → SHIPMENT_DATE (21/04/2026)
- Diag S42D-bis — module documentooborot + etat pages contrats + actions manquantes
- Session S42F complete — Прогноз ДДС forecast timeline, 3 services, 12 endpoints, UI timeline+modals (21/04/2026)
- Session S42-DOCOBOROT complete — refonte hub documentaire, 5 onglets, /annuaires, endpoint global (21/04/2026)
- Session S42D-ter complete — entity documents FK+soft-delete, 9 endpoints, EntityDocumentsSection, 3 pages (21/04/2026)
- Session 43 complete — S42J УПД workflow + S42L multi-contrats + S42H cashflow client incomes (21/04/2026)
- Session 44 complete — S42I Оплата, S42K file tracking, S42F-bis UX forecast+aggregator (22/04/2026)
- Session 45 complete — S42-REBALANCE rolling rebalance transactionnel + 38 tests E2E (22/04/2026)
- Session 46 complete — S42M hub Документооборот refonte + S42F-ter forecast UX polish (22/04/2026)
- Session 47 complete — S42-PLANNING-1 phases 1-7: réceptions, overview, frontend, PO drawer (22/04/2026)
- Session 48 complete — S45-PLANNING-SCALE + S45-PLANNING-DETAIL: échelle temporelle, fériés, drawer catégorie PO (24/04/2026)
- Session 49 complete — S46-PDL-3: SHIPMENT_SIGNED phase, contractTermId, forecast→installment loop (26/04/2026)
- Session 50 complete — S46-PDL-4.4 duplicate warning + fix SHIPMENT_SIGNED plannedLotId (26/04/2026)
- Session 51 complete — S48 syncOnSmetaLock hook + cleanup Order 2/4 + validation 14M (27/04/2026)
- Session 52 complete — S42-PLANNING-2-EXPAND: expandable category lanes, position timelines (27/04/2026)
- Session 53 complete — S53A PR lifecycle refactor + S53A-MIG data migration (27/04/2026)
- Session 54 complete — fix PO pricing 4 paths, tender budget col, UX polish (27/04/2026)
- Session 55-56 complete — PLANNING-RENDER-FIX Option B + planning UX + PO-DELIVERY-DATE mandatory (27/04/2026)
- Session 57-58 complete — BUDGET-QTY-1 + PDL-STATUS-AUTO: budget×qty fix + auto PDL transitions (28/04/2026)
- Session 59 complete — PO-POSTPAY-AUTO: auto PaymentRequest on SDN sign + postpay modes (28/04/2026)
- Session 60 complete — PLANNING-RISK-ALERTS: risk badges purchase+delivery, buildTimeline cleanup (28/04/2026)
- Session 62 complete — ORDER-IMG-1/3: product image backend+frontend 3 locations + tab font fix (28/04/2026)
- Session 63 complete — INVOICE-DOC-SYNC + ORDER-IMG-2: ClientInvoice↔Document sync + smeta image extraction (29/04/2026)
- Session 64 complete — FIX-IMG-INV-UI + SUPPLIER-CONTRACT-1: visual fixes + supplier contracts CRUD + regularity (29/04/2026)
- Session 65 complete — ACTUAL-X-IMPL: idempotent recompute actualX from PAID cashflows (07/05/2026)
- Session 66 complete — DRAWER-NOTE auto-save notes + PLANNING-DETAIL drill-down drawers (07/05/2026)
- Session 67 complete — ACTUAL-X-FIX-1 + CASHFLOW-FORECAST-V2: expenses forecast tab + chart fusion (07/05/2026)
- Session 68 complete — WIN-SQL-AGENT: read-only SQL from VPS to PC via SCP pipeline (07/05/2026)
- Session 69 complete — SMETA-VAL-1: deterministic validation P0 structure + P2.5 arithmetic (08/05/2026)
- Session 70 complete — HOMEPAGE-V2: TopBar météo, sidebar logo, dashboard feed, audit 8 hooks (08/05/2026)
- Bugs restants — P2 erreurs TS .test.ts uniquement
- Setup CLAUDE.md + start-dev — CLAUDE.md local PC + start-dev.ps1 (2026-04-03)
- Auto-start au boot — metallkart-dev.bat dans Startup Windows (2026-04-03)
- Diag email SMTP — SMTP OK, workflow tender 2 etapes (DRAFT→SENT), emails background
- Purge donnees ERP — base videe 2026-04-08, conserve clients/suppliers/users/refs, backup dump
- Lecture module Tenders — audit lecture TendersTab (1794L), routes (357L, 20 endpoints), service (1509L) (2026-04-08)
- Audit 33A — final — PDF OK, workflow OK, cashflow OK, Gantt OK
- Session 71 complete — CONTRACT-MERGE P1+P2: unified contracts hub + auto-generate schedule (10/05/2026)
- Session 72 complete — SMETA-MOVE + TS-CLEANUP 44→0 + HELP-MODULE-P0/P1/P2 (59 articles aide) (10-11/05/2026)
- Session 73 complete — CONTRACT-MERGE-FIX: 3 guards applyContractTerms + POPaymentScheduleSource (10/05/2026)
- Session 76 complete — HELP-P2 role fixes + PLAYWRIGHT-P0 E2E infra 10 smoke tests (11/05/2026)
- Session 77 complete — SEED-VPS-STAGING: dataset réaliste 10 users + 10 orders (11/05/2026)
- Session 79 complete — PLAYWRIGHT-P1.1B: 12 tests purchases (PR listing/create/confirm, tender/PO tabs) (12/05/2026)
- Session 80 complete — PLAYWRIGHT-P1.1C: 12 tests budget+indirect (validation workflow, reject/reset, CRUD) (12/05/2026)
- Session 81 complete — PLAYWRIGHT-P1.1D: 10 tests estimates (listing, filters, drawer, CRUD, revision) (12/05/2026)
- Session 82 complete — PLAYWRIGHT-P1.1D-bis: 10 tests SmetaRevisionTab (visibility, diff, workflow, cost) (12/05/2026)
- Session 83 complete — PLAYWRIGHT-P1.1D-ter: 5 tests Import AI UI (modal import, dragger SRT) (12/05/2026)
- Session 84 complete — PLAYWRIGHT-P1.1E: 8 tests Dashboard + Profitability (feed, KPIs, filter, drawer, export) (12/05/2026)
- Session 85 complete — PLAYWRIGHT-P1.1E-bis: 10 tests CashflowTab (KPIs, horizon, chart, alerts, upcoming, modal) (12/05/2026)
- Session 86 complete — PLAYWRIGHT-P1.1E-ter: 10 tests ExpensesForecastTab + ForecastDDSPage (12/05/2026)
- Session 87 complete — PLAYWRIGHT-P1.1F: 10 tests Documents hub + infra fixes (105/105 total) (12/05/2026)
- Session 88 complete — PLAYWRIGHT-P1.1G: 8 tests Planning/Gantt + seed order6+holiday (113/113 total) (13/05/2026)
- Session 89-90 complete — STD-1A+1B+1C: Product model + catalog + detail page + 7 E2E (120/120) (13/05/2026)
- Session 91 complete — STD-2A: ProductMaterialPricing backend + workflow + 14 Vitest (13/05/2026)
- Session 92 complete — STD-2B: Frontend pricing UI (5 composants, 4 E2E, 124/124) (13/05/2026)
- Session 93 complete — STD-3A: Backend standard order creation (auto PO, preview, 15 Vitest) (13/05/2026)
- Session 94 complete — STD-3B: Frontend standard order drawer (product select, preview PO, 4 E2E, 128/128) (13/05/2026)
- Session 95 complete — STD-4A: UX polish navigation + E2E AntD Select fix (131/131) (13/05/2026)
- Session 96 complete — STD-4B: Catalogue polish + orderType filter (4 features, 5 E2E, 136/136) (14/05/2026)
- Session 97 complete — STD-6: E2E workflow STANDARD bout-en-bout (13 tests, 149/149) (14/05/2026)
- Session 98 complete — CRIT-NOTIF-1: critical notifications backend (27 Vitest, 6 producers) (14/05/2026)
- Session 99 complete — CRIT-NOTIF-2: frontend critical notifs + auto-ack 5 services (15/05/2026)
- Session 100 complete — CRIT-NOTIF-4: 11 E2E tests critical notifications (160/160) (15/05/2026)
- Session 101 complete — CRIT-NOTIF-3: cancel cascade + resolveIntervention + audit 35 producers (15/05/2026)
- Session 102 complete — AI-CONST-0A: MCP Server ERP-Context 5 tools + 20 Vitest + E2E fix (15/05/2026)
- Session 103 complete — AI-CONST-0B (43 Vitest) + AI-CONST-1A Backend Advisor (23 Vitest, SSE OK) (15/05/2026)
- Session 104 complete — AI-CONST-1B: Frontend Chat Drawer (8 composants, SSE, mock mode, 6 E2E, 166/166) (15/05/2026)
- Session 105 complete — AI-CONST-1C: Admin Review Queue (4 endpoints, notif, digest cron, tab, 170/170) (17/05/2026)
- Session 106 complete — AI-CONST-2A: Backend BUILDER Foundation (4 models, 7 endpoints, 23 Vitest) (17/05/2026)
- Session 107 complete — AI-CONST-2B: Backend BUILDER LLM (2 SSE endpoints, mock mode, 23 Vitest) (17/05/2026)
- Session 108 complete — AI-CONST-2C: Provisioning Staging (5 helpers, service, 3 routes, cron, 65 Vitest) (17/05/2026)
- Session 109 complete — AI-CONST-2D: Test Runner automatique (service, helper, auto-chain, 86 Vitest) (17/05/2026)
- Session 110 complete — AI-CONST-2E: Merge+Revert+Cleanup (MergeService, RevertService, cron, 118 Vitest) (17/05/2026)
- Session 111 complete — DETTE-E2E-FLAKY-S105: 5 flaky stabilisés + smoke fix (170/170) (18/05/2026)
- Session 112 complete — FRONTEND-BUILDER-3A: liste+création+filtres AI Builder (178/178) (18/05/2026)
- Session 113 complete — FRONTEND-BUILDER-3B: detail page AI Builder (6 tabs, SSE, 12 E2E, 190/190) (18/05/2026)
- Session 114 complete — BUILDER-COST-TRACKING: shared pricing, costEstimateCents fix, maxCostCents 429 (18/05/2026)
- Session 115 complete — BUILDER-ANTD-V6-PROMPT + SMOKE-S107: 4/4 axes PASS, $1.35 (18/05/2026)
- Session 116 complete — HELP-CONTENT-UPDATE-S107 + BETA-SEED-S107: 93 help + 2 seed scripts (7 users, demo data) (18/05/2026)
- Session 117 complete — BETA-FINAL-OPENING + TELEGRAM-BUG-FORM-S107: 15 users VPS, Telegram bot, 16 Vitest (19/05/2026)
- Session 118 complete — EMAIL-INBOX-DISABLE-S108: toggle cron IMAP + diagnostic SMTP/IMAP (19/05/2026)
- Session 119 complete — USER-EDIT-FIX-S109 + TELEGRAM-OUTBOUND-FIX-S109: admin UX fixes + stateless TG sender (19/05/2026)
- Session 120 complete — ADVISOR-DIGEST-FIX-S109: sender erp-bot + idempotence SystemJob + env flag (19/05/2026)
- Session 122 complete — WSL PG migration + AGENT-M0A (5 models, pgvector, 5 Vitest) + SMETA-FOCUS-1 (19/05/2026)
- Session 123 complete — AGENT-M0B: AgentRuntime + 4 guards + 10 Vitest (20/05/2026)
- Session 124 complete — AGENT-M0D: knowledge pipeline Voyage+chunking+retrieval, 14 Vitest (20/05/2026)
- Session 125 complete — AGENT-M0E: 4 action handlers + audit-log + registry, 14 Vitest (20/05/2026)
- Session 126 complete — AGENT-M0F: 8 admin routes + runtime-config + JALON M0 COMPLET (20/05/2026)
- Session 127 complete — AGENT-M1A+M1B: 10 detectors + watchdog escalation, 36 Vitest (20/05/2026)
- Session 128 complete — AGENT-M1C (3 tabs admin) + M1E.1 (adaptive polling + LastSyncIndicator) (20/05/2026)
- Session 129 complete — AGENT-M2A: weekly report aggregator backend, 14 Vitest (20/05/2026)
- Session 130 complete — M2A.2 KPI tab + Telegram nameRu + M2D AgentReport CRUD 17 Vitest (20/05/2026)
- Session 131 complete — AGENT-M2B: LLM Opus 4.7 commentary + prompt builder + RAG + 26 Vitest (20/05/2026)
- Session 132 complete — AGENT-M1F.1: bouton+modal Создать статью Knowledge admin (20/05/2026)
- Session 133 complete — Bug fixes (lang=ru, notifs ADM), smeta workflow, M1F.2 KB toggle, TS cleanup (22/05/2026)
- Session 134 complete — VPS bugs (tags/TLT/accounting/ACHETEUR), M2B Opus temp fix, test script (22/05/2026)
- Session 135 complete — SEED-STAGING-HARDENING: référentiels préservés, JSON, upsert, dry-run, 21 Vitest (22/05/2026)
- Session 136 complete — M2C.1+M2C.3: weekly report cron + admin tab + VPS fix (25/05/2026)
- Session 138 complete — SPEC-M3 COPILOT AOÛT: agent-chat complet (41 Vitest, 8 E2E) (25/05/2026)
- Session 139 complete — SPEC-BLOC-1A: Engagement Foundation (11 models, 17 enums, 10 Zod, 12 Vitest) (26/05/2026)
- Session 140 complete — SPEC-BLOC-1B: 7 services + 7 routes + hooks + crons + 30 Vitest (26/05/2026)
- Session 141 complete — SPEC-BLOC-1C: Frontend Tasks (Liste+Kanban+Drawer+Modal, 23 Vitest) (26/05/2026)
- Session 142 complete — SPEC-E2E-TASKS-1C: 22 E2E tests Tasks + search bug fix (26/05/2026)
- Session 143 complete — SPEC-BLOC-1E: router wiring + deep-link fix + cron migration (27/05/2026)
- Session 144 complete — SPEC-BLOC-1F: PWA installable + Web Push + Auth HTTPOnly cookies (27/05/2026)
- Backend dans WSL — portproxy netsh cassé, lancer backend dans WSL directement
- AntD Select evaluate click — dropdown .click() unreliable in full suite, use evaluate(el.click())
- AntD css-in-js override — CSS animations écrasées par AntD v6, utiliser DOM direct
- PS5.1 UTF-8 SSH transfers — Get-Content pipe = UTF-16 LE corruption, utiliser ReadAllText UTF8
- Journal des conversations — log chronologique sessions 1-11