Boucle autonome : /api/wevia-autonomous.php (routeur stateless) · council multi-agent via /api/consensus-autonomy.php → 33 agents, consensus ≥ 9 · self-heal D859 30 min · rotation clés autonomous-rotation.php · mega brain-autonomous-mega.php.
Routeur stateless par design (pattern API chat). Le client repasse history[] à chaque tour → injecté dans streamLLM. param: historyPAS session_id
recallMemory() : embeddings all-minilm (:4000) → Qdrant collection wevia_memory (:6333), top-3 score>0.3. Partagée, non scopée session. Qdrantvector
Module wevia-chat-memory.php : clé chatmem:{chat}:{user}. Interne = no TTL cap 500 ; public = 1h TTL cap 20. Redis DB5
queryRAG() D847 hybrid RAG+CRAG sur obsidian_vault (doctrines/sessions/décisions/KB). Fallback legacy garanti. RAG+CRAG
| Cas testé | Résultat |
|---|---|
| Chat autonome cascade T1 | PASS |
| Garde sécurité V183 (pattern bloqué sans referer) | PASS |
| Exec / action infra réelle | PASS |
| Consensus GET (masterdata + live) | PASS |
| Consensus POST council (verdict persisté) | PASS |
| Master API | PASS |
| Mémoire multi-tours (via history) | PASS |
| FastPath "nonreg status" (quirk cosmétique) | QUIRK — flagué, non patché (data réelle 153/153 correcte) |