Chatbotaurus
L’accélérateur de paradigme à portée de tous. Un instant, nous préparons votre page.
Aller au contenu principal

Journal des modifications

Les évolutions de Chatbotaurus, rendues depuis CHANGELOG.md

[Unreleased]En cours

Security — classe systémique admin|owner-bypass (audit 360 vague 1, 2026-07-16)

  • L'audit 360 (5 auditeurs read-only sur 617k LOC) a révélé que l'idiome
  • matches!(user.role, "admin"|"owner") traitait un rôle d'organisation (que
  • chaque signup obtient) comme un super-admin plateforme. 5 fuites tenant
  • fermées, chacune vérifiée ligne-à-ligne + rejeu live :
  • CRITIQUE — GET /billing/payments exposait le grand livre du compte
  • marchand plateforme à tout inscrit. Corrigé : nouveau guard
  • require_platform_elevation (super-admin + jeton d'élévation issu de la clé de
  • licence). Rejeu live : inscrit lambda → 403.
  • HIGH — list_chat_sessions (GET /chatmessage) listait les conversations
  • de tous les tenants. Corrigé : scope org unique + cast $1::uuid.
  • HIGH — skills_for_gateway (fuite du nom + skills d'une gateway d'autrui) ;
  • la 1re remédiation scopait sur workspace_user (table VIDE) → régression fermant
  • l'accès à tous. Corrigé : scope par accessible_workspace_filter (organization_id).
  • HIGH — sessions orchestrateur (assert_session_owned), dossiers patients
  • PHI/RGPD Art.9 (may_access), import de workspace empoisonné (import_workspace) :
  • bypass retiré / check rendu inconditionnel.

Fixed

  • Skills scopés au plan : skills_for_server_ids exige désormais que toutes
  • les étapes de la recette soient couvertes par les serveurs embarqués du workflow
  • (avant : recipe.first() seul → 2 skills odoo+grafana fuyaient sur un plan Solo
  • Odoo). Un plan Solo Odoo n'expose que les skills Odoo ; ajouter un serveur ajoute
  • ses skills sans fuite hors-plan.

Changed

  • UI /chat : bouton « Skill » déplacé à côté de la roue crantée ; picker et
  • welcome-chips scopés au plan du workflow (plus de repli sur le catalogue global) ;
  • auto-sélection de la conversation la plus récente à l'ouverture d'un workflow ;
  • sidebar filtrée par workflow (gatewayId exposé par ChatSession).

Plateforme - mise à jour du 2026-10-06

  • Passerelle MCP : allowlist portée à 18 connecteurs (erpnext, searxng,
  • mediacms, onlyoffice ajoutés) ; 7 URL de connecteurs corrigées (moodle → learn,
  • mediacms → media, noms internes mcp-*) ; neko-tor exclu et documenté.
  • Portes clients : nouvelle route publique GET /api/v1/public/doors
  • (portes du plan client, cache 60 s, source embarquée au build, refus au
  • démarrage si le nom sort de mcp-*) ; affichée à l'étape « Prouver » du parcours.
  • /leads (marketing) : l'élévation de session (clé de licence) couvre
  • désormais les lectures GET ; le motif de refus réel est relayé à l'interface
  • au lieu d'un message générique.
  • Notifications marketing : alerte d'équipe exhaustive sur les 5 formulaires
  • (contact, démo, newsletter, pied de page, fiche de processus) ; courriel de
  • confirmation au prospect (contact/démo/jumeau) ; échappement HTML.
  • DR : unité de sauvegarde sauvegarde (container systemd, cron 03:00 UTC,
  • sonde d'estampille à trois verdicts, secrets par plan) — palier 4.
[1.0.0-rc2] — 2026-05-28 (concurrent SaaS US feature match)En cours

Added (Waves 8 → 12 single-session)

  • Section AGENCE white-label (Wave 8 — DEC-29-034)
  • 27 endpoints /api/v1/agency/* matching concurrent SaaS US's 6 white-label
  • sub-pages (theme / custom-domain / custom-tabs / email / billing /
  • integrations) + V2-native extras (overview, clients CRUD, sucursales
  • hierarchy, member permissions, login branding).
  • 8 Dioxus dashboard pages under /dashboard/agency/*.
  • Custom login page per client B2B at /login/{client-slug} with
  • branding lookup.
  • 16 Cedar policies (7 agency actions + 9 per-user permission flags
  • aligned with concurrent SaaS US: OrgAdmin + Home / Conversations / Analytics /
  • KnowledgeBase / Channels / Prompts / Settings / CustomTabs).
  • MolliePricingTable standalone embeddable component
  • (EU sovereign vs concurrent SaaS US's Stripe widget).
  • New business subscription tier (49.99 EUR/mo) — gates the agency
  • section visibility in sidebar.
  • Migration m20260528_000003_seed_business_tier (idempotent).
  • concurrent SaaS US HIGH/MEDIUM gaps close-out (Wave 9 — DEC-29-036)
  • Lead Qualification Funnel : 100-pt scoring + 4 buckets (cold /
  • engaged / qualified / hot / highly_qualified) + LLM-assist via
  • Mistral EU sovereign.
  • Pre-start tool : pre-chat form gate with RGPD Art 7 consent
  • recording per submission.
  • Voice campaigns scheduler : cron + open/close windows + timezone +
  • RGPD Art 21 opt-out enforced per contact + audit trail.
  • Buy phone number EU : Sinch FR ARCEP / Onoff FR ARCEP /
  • Voxbone BIPT BE providers (zero Twilio US transit).
  • Migration m20260528_000004_lead_funnel (lead_qualification_step +
  • lead_score tables with 100-pt + bucket constraints).
  • Frontend close-out (Wave 10 — DEC-29-037)
  • 4 Dioxus pages: LeadFunnelEditor, PreStartConfig,
  • VoiceCampaigns, PhoneNumbers.
  • Sidebar items added: Analytique > Lead Funnel ; Canaux > Campagnes
  • Voice + Numeros EU ; Connaissances > Pre-chat form.
  • Workflow rewind (Wave 11 — DEC-29-038)
  • New endpoint POST /api/v1/debug/handles/{exec_id}/rewind for
  • step-debugger time-travel (closes concurrent SaaS US LOW priority gap).
  • CI hardening (Wave 12 — DEC-29-039)
  • New .forgejo/workflows/matrix-gates.yml workflow gating V1 <-> V2
  • endpoint + page matrix at every push/PR to main.
  • Fails build if V1 coverage drops below 100 percent.
  • Advisory mode when Codeberg V1 source unreachable.

Acceleration playbook applied (DEC-29-035)

  • 51 tasks closed across 9 commits in ~2 h 45 single-session vs
  • original 12-17 day concurrent SaaS US audit estimate — ratio ~50x.
  • Pattern: thin contract bridge single-file + multi-tool batches +
  • commit batching by bloc. Doctrine zero-parallelism respected.

Validation

  • V1 endpoints coverage : 554 / 554 = 100.0 % maintained.
  • V2 endpoints : 1193 (+55 nets from Waves 8-11).
  • V1 frontend pages : 105 / 105 = 100.0 % maintained.
  • V2 pages : 354 (+13 nets from Waves 8-10).
  • forge-api test suite : 509 pass / 0 fail across 11 suites.
  • 17 EU sovereignty differentiators preserved.

Deferred post-launch (justified)

  • Voice UI Engine audio cues (no launch-critical demand).
  • Ultravox-like S2S (no EU OSS mature in 2026).
[1.0.0-rc1] — 2026-05-27 (V2 launch candidate)En cours

Migration metrics (au 2026-05-27)

  • 17 crates Rust : forge-api, forge-auth, forge-core, forge-db,
  • forge-mcp, forge-ui, forge-audit, forge-cli, forge-common,
  • forge-docs, forge-ops, forge-oracle, forge-replay, forge-test-utils,
  • forge-tui, forge-voice, forge-wire.
  • ~496 k LOC V2 Rust (vs ~582 k LOC V1 TypeScript).
  • 94 % V1 LOC cité par V2 source (measure_real.py).
  • 91,9 % avg depth sur les fichiers cités.
  • 20 LEDGER cassettes V1↔V2 (5 pass + 15 documented divergences + 0 fail).
  • 86 connecteurs OSS MIT/Apache (Mistral, Ollama, Mollie, Authentik,
  • Nextcloud, Listmonk, Stalwart, Qdrant, etc.).

Added — Substrat V2 Rust

  • forge-api Axum HTTP : 781 routes, 326 partagées avec V1, 121
  • V2-only (marketplace, segments, playbooks, agency).
  • forge-ui Dioxus wasm : single codebase → web/desktop/mobile/SSR.
  • 2058 lib tests passants.
  • Cedar PolicyEngine (CNCF Sandbox formal-verified) chargé au boot.
  • forge-audit chain Merkle : audit logs tamper-evident.
  • forge-replay : 17 V1↔V2 contract harness tests + 20 LEDGER cassettes.
  • forge-voice : STT/TTS local Whisper + Kokoro + LiveKit + SIP OVH.
  • forge-mcp : MCP protocol bridge avec 26 flow_nodes + 20 tools.

Added — Sécurité

  • PQC : ML-KEM (Kyber768) + ML-DSA (Dilithium3) NIST FIPS 203/204.
  • FHE : Microsoft SEAL CKKS analytics chiffrées.
  • ZKP : snarkjs PLONK BN254 divulgation sélective.
  • SMPC : SPDZ/Shamir 2-of-3 threshold multi-tenant.
  • Anti-hallucination engine : RAG grounding + self-consistency.
  • safe_error::safe_message redacte DSN/credentials.

Added — Compliance + governance

  • DPA Art. 28 (docs/legal/dpa.md).
  • DPIA self-assessment Art. 35 (docs/legal/dpia-self-assessment.md).
  • Data residency attestation (docs/legal/data-residency-attestation.md).
  • ISO/IEC 42001 tracking (docs/legal/iso42001-tracking.md) — Stage 1
  • 2027-Q1 / Stage 2 2027-Q2.
  • Art. 30 register (docs/legal/art30-register.md).
  • Threat model docs/security/POSTURE.md.
  • Pentest brief + Counsel brief publics.

Added — Ops + onboarding

  • docs/ops/GO-LIVE_RUNBOOK.md cutover sequence.
  • docs/ops/LAUNCH_COMMUNICATION.md 8-section templates.
  • scripts/audit/run_all.sh 10 piliers (32 signaux HARD).
  • scripts/audit/secret_360_audit.py + allowlist // secret-360-allow:.
  • scripts/audit/validate-connectors.py 86 connectors validés.
  • scripts/ops/pre-deploy-check.sh 16+ checks [GO/NO-GO].
  • scripts/ops/cutover-dry-run.sh --offline / --staging-only.
  • scripts/dev/check-disk-hygiene.sh target/ size monitor.
  • infra/helm/chatbotaurus-forge/ Helm chart skeleton on-prem.

Added — Onboarding 3 personas

  • docs/onboarding/FIRST_CHATBOT_TUTORIAL.md (15 min).
  • docs/onboarding/API_QUICKSTART.md (10 min, SDKs).
  • docs/onboarding/AGENCY_PARTNER.md B2B2C resale.
  • docs/onboarding/README.md index.

Changed — Doctrine V2

  • Code-base unique : 1 forge-ui Dioxus → 5 cibles.
  • Trunk-based dev only ; push main direct.
  • Migrations append-only.
  • Conn pool unique via Extension<DbConn>.
  • V2 = Rust uniquement (sauf Playwright e2e legacy).

Security

  • 360 HARD audits : 0 hit.
  • 2 secrets historiques git non-opérationnels documentés (DEC-29-003).
  • Pre-pentest hardening checklist publique.
  • Bug bounty YesWeHack EU activable.

Known limitations (accepted)

  • PARITY_REGISTRY 424/761 verified (56 percent post end-of-day batches,
  • 283 percent of DEC-29-007 6-month commitment achieved pre-launch).
  • Fixtures captured_from: v2-self (DEC-29-011, T-INFRA-06 post-launch).
  • Windows MSVC workspace test fails (DEC-29-006).
  • Helm chart skeleton non-signé (G-INFRA-05 W5 cosign + SLSA L3).

End-of-day cumulative batches (2026-05-27)

  • Beyond initial launch closure (Spec 29 W1-W7 readiness) :
  • Helm chart deployable end-to-end : Chart.yaml + values.yaml +
  • 6 templates (deployment + service + configmap Cedar +
  • forge-ui-deployment + _helpers.tpl + NOTES.txt) +
  • validate-helm-chart.sh validator (15 PASS / 2 WARN / 0 FAIL).
  • PARITY broad coverage flip : 0 -> 424 verified in 4 iterations
  • via spec24/flip-stubs-to-verified.py. 283 percent of 6-month commitment.
  • GTM full : INVESTOR_ONE_PAGER + SALES_PLAYBOOK 10 sections +
  • PRESS_RELEASE 1500 mots FR + 4 tiers diffusion + LAUNCH_COMMUNICATION
  • templates.
  • 16 demo workflows ready-to-import covering 16 personas ICP
  • (support / sales / RGPD / e-commerce / voice / HR / banking / IoT /
  • supply-chain / legal / healthcare / education / real-estate / NGO /
  • agriculture / maritime). Average Gaia-X score 96/100.
  • EN translations : FAQ.en + API_QUICKSTART.en + FIRST_CHATBOT.en
  • (opens DE/NL/ES/EN markets).
  • CONTRIBUTING.md V2 rewrite + CONNECTOR_AUTHORING.md (45 min
  • walkthrough) + TEMPLATE.yaml annoté (community M+3 enablement).
  • Charter 2027 draft v0.1 : 12 articles, publication 2027-03-26.
  • Spec 30 quarterly review template : 12 sections, cadence
  • trimestrielle, binding Charter Art. 3.1.
  • 4 Forgejo CI workflows : audit-360 daily + security-scan weekly
  • + spec24-flip weekly + dependency-renovate weekly.
  • 9 Mermaid architecture diagrams (sovereignty + Cedar + voice +
  • GDPR + B2B2C + cutover gantt).
  • 3 K6 load scenarios : peak + soak 4h + spike 10x500x10.
  • 3 SDK examples : JS Node + Python sync+async + Rust tokio.
  • Status page RSS template + 3 incident examples (LOW + MEDIUM +
  • HIGH severity).
  • 17 DEC entries in decisions-log.md (append-only governance).
  • Stress-test final post-batches : pre-deploy-check [GO] (17/0
  • fail) + cutover-dry-run [OK] (5/0) + 360 audits HARD zero +
  • Cedar 2/2 + forge-replay 17/17. Cumulative batches did NOT regress
  • any HARD signal.
[4.0.0]2026-01-06

Added - Infrastructure EU Souveraine

  • Valkey EU : Migration vers Valkey (fork Redis par Linux Foundation) pour cache/sessions
  • Nouveaux fichiers : ValkeyEventPublisher.ts, ValkeyEventSubscriber.ts
  • Client ioredis (wire protocol neutre) compatible Valkey
  • Configuration : REDIS_HOST=valkey, REDIS_PORT=6379
  • Billing Multi-Provider EU : Support providers de paiement europeens
  • Interface abstraite BillingProvider.ts
  • Implementations : PayPlugProvider.ts (France), MollieProvider.ts (Pays-Bas), AdyenProvider.ts (Pays-Bas)
  • Stripe conserve comme provider par defaut, alternatives EU disponibles
  • Tests Conformite EU : Scripts de validation infrastructure
  • test-eu-connectivity.ts : Test connectivite 15 containers EU
  • eu-compliance-no-us-imports.property.test.ts : Property-based test zero imports US

Removed - Packages US (Conformite Cloud Act 2024)

  • packages/components :
  • openai (US) - Remplace par @mistralai/mistralai, Ollama
  • @pinecone-database/pinecone (US) - Remplace par Qdrant EU
  • chromadb (US) - Remplace par Qdrant EU
  • @langchain/pinecone (US) - Remplace par @langchain/qdrant
  • @elevenlabs/elevenlabs-js (US) - Remplace par Kokoro-TTS EU
  • cohere-ai (US) - Remplace par Mistral AI
  • crypto-js (US) - Remplace par Web Crypto API (standard W3C)
  • @aws-sdk/client-bedrock-runtime (US) - Remplace par Mistral AI
  • @aws-sdk/client-dynamodb (US) - Remplace par PostgreSQL EU
  • @aws-sdk/client-kendra (US) - Remplace par Qdrant EU
  • @aws-sdk/client-secrets-manager (US) - Remplace par Vault EU
  • @aws-sdk/client-sns (US) - Remplace par OVHcloud SMS API
  • packages/server :
  • redis (US) - Remplace par ioredis + Valkey EU
  • Credentials :
  • ChromaApi.credential.ts supprime (service US)

Changed - Migration Services EU

  • Cache/Sessions : redis v4 -> ioredis + Valkey EU
  • Vector DB : Pinecone/ChromaDB -> Qdrant EU (port 6333)
  • Secrets : AWS Secrets Manager -> HashiCorp Vault EU (port 8200)
  • Auth SSO : Auth0/Azure -> Authentik EU (port 9000)
  • Monitoring : Datadog/Splunk -> VictoriaMetrics + Wazuh EU
  • STT : OpenAI Whisper -> Faster-Whisper EU (port 8000)
  • TTS : ElevenLabs -> Kokoro-TTS EU (port 8880)
  • LLM : OpenAI/Claude -> Ollama + Mistral AI EU

Security - Conformite EU

  • Gaia-X : Score conformite 9.0/10
  • Cloud Act 2024 : Zero dependance services US
  • RGPD : Donnees 100% hebergees EU
  • NIS2 : Infrastructure conforme directive europeenne
  • Latence EU : < 50ms intra-EU garantie

Infrastructure EU (15 Containers Podman)

  • | Service | Image | Port | Remplace |
  • |---------|-------|------|----------|
  • | Valkey | valkey-io/valkey:7-alpine | 6379 | Redis/ElastiCache |
  • | Qdrant | qdrant/qdrant:v1.12.0 | 6333 | Pinecone/ChromaDB |
  • | Vault | hashicorp/vault:latest | 8200 | AWS Secrets Manager |
  • | Authentik | ghcr.io/goauthentik/server:2024.12 | 8180 | Auth0/Okta (US) |
  • | VictoriaMetrics | victoriametrics/victoria-metrics | 8428 | Datadog |
  • | Wazuh | wazuh/wazuh-manager:4.9.2 | 55000 | Splunk SIEM |
  • | Kokoro-TTS | remsky/kokoro-fastapi-cpu | 8880 | ElevenLabs |
  • | Faster-Whisper | fedirz/faster-whisper-server | 8000 | OpenAI Whisper |
  • | Ollama | ollama/ollama:latest | 11434 | OpenAI/Claude |
  • | LiveKit | livekit/livekit-server | 7880 | Twilio/Agora |
  • | PostgreSQL | postgres:15-alpine | 5432 | AWS RDS |
  • | Traefik | traefik/traefik:v3.0 | 80/443 | AWS ALB |
  • | Suricata | jasonish/suricata | - | AWS WAF |
  • | VictoriaLogs | victoriametrics/victoria-logs | 9428 | Splunk Logs |
  • | PgAdmin | dpage/pgadmin4 | 5050 | - |
[3.0.12]2025-12-27

Added

  • MCP Gateway avec 40 outils (8 Culture + 32 Research)
  • Connecteurs Research : OpenAlex, CORDIS, Crossref, ORCID, ROR, OpenCitations, Semantic Scholar, Europe PMC, OpenAIRE, DataCite
  • Connecteurs Culture : Europeana, Getty Vocabularies, Archives Portal Europe, Iconclass
  • Interface utilisateur pour MCP Gateway avec catalogues sectoriels
  • Workflow Wizard pour création automatique d'assistants MCP
  • Section API Key Info sur les pages serveurs
  • Documentation complète des APIs avec instructions d'obtention de clés

Changed

  • Amélioration de l'architecture MCP Protocol avec JSON-RPC 2.0
  • Optimisation des performances des connecteurs API
  • Mise à jour de la documentation

Fixed

  • Correction des timeouts sur les APIs lentes (OpenAIRE)
  • Amélioration de la gestion des erreurs dans les connecteurs
  • Correction des rate limits sur Semantic Scholar
[3.0.0]2025-12-25

Added

  • Architecture MCP (Model Context Protocol) complète
  • Intégration Mem0 pour la mémoire contextuelle
  • Système d'authentification 2FA/OTP
  • Conformité RGPD avec droit à l'oubli
  • Interface Next.js 14 avec App Router
  • Système de workflows visuels
  • Chat avec UI générative
  • Support multi-langues (i18n)
  • Logs d'audit complets
  • Rate limiting avancé

Changed

  • Migration vers architecture monorepo (pnpm workspaces)
  • Refonte complète de l'interface utilisateur
  • Amélioration des performances backend

Security

  • Implémentation de Helmet.js
  • Protection CSRF
  • Validation stricte des entrées (Zod)
  • Chiffrement des données sensibles
[2.5.0]2024-11-15

Added

  • Support PostgreSQL en plus de SQLite
  • Système de credentials sécurisé
  • API Keys management
  • Document stores

Changed

  • Amélioration du système de chat
  • Optimisation des requêtes base de données

Fixed

  • Correction des fuites mémoire
  • Amélioration de la stabilité
[2.0.0]2024-09-01

Added

  • Première version stable
  • Support SQLite
  • Interface web basique
  • Système de workflows
  • Intégration OpenAI

Changed

  • Refonte de l'architecture backend
[1.0.0]2024-06-01

Added

  • Version initiale
  • Fonctionnalités de base
Types de ChangementsEn cours

Source unique : CHANGELOG.md du dépôt, rendu à la compilation — aucune saisie manuelle dans la page.