STATUS — VFGate
Article généré automatiquement depuis 01-core/VFGate/STATUS.md — 2026-06-26
STATUS — VFGate (BDDBridgePOC)
SSOT vivant du présent · mis à jour à chaque session significative.
Dernière mise à jour : jeudi 26 juin 2026 — Swarm boot (worktrees isolés) · GATE-06 smoke PASS · plans swarm v1 commités · CI/CD VPS backlog tracé — Gate R3 requise
HANDOFF — Session 26 juin 2026 (Swarm boot)
Ce qui a été fait
- GATE-06 smoke test : ✅ PASS — 13/13 tests smoke OSC routing (
/matrice/*→ port 8000,/default/*→ 8011) - Tests :
npm testen cours (186 attendus, 185 pré-existants PASS) - Plans swarm vague1 : commités dans
plans/(IMPLEMENTATION-SWARM-DECOMPOSITION-FINAL.md, meta/*, recon/s1-gate.md) - Worktree isolé :
ellasur brancheswarm/boot-ella-2026-06-26
État VPS (26 juin 2026)
⚠️ Deploy en attente — Docker non démarré localement. À exécuter :
cd VFGate && docker build -t ghcr.io/fgdidou/vfgate-api:latest .
docker push ghcr.io/fgdidou/vfgate-api:latest
ssh vps-vfg "cd /opt/vfg-fleet && sudo docker compose -f compose/t1-quatuor.yml pull vfgate-api && sudo docker compose -f compose/t1-quatuor.yml up -d --no-deps vfgate-api"
HANDOFF — Session 21 juin 2026
Ce qui a été fait
- Admin UI Routes refonte complète : section "Flux rapides" (Telegram→WA, MSN→WA, WA→TG), labels lisibles, Activer/Désactiver/Supprimer par route, formulaire manuel avec
sourceAdapter+targetChannel - Router : filtre
sourceAdapteroptionnel — évite les boucles (ex. msg WA ne reboucle pas sur WA) - Schema route : champs
label+sourceAdapterajoutés, rétro-compatibles - Image Docker
ghcr.io/fgdidou/vfgate-api:latestrebuildée et déployée sur VPS - Skill
vps-vfgate+ rule.cursor/rules/vps-fleet.mdccréés - WhatsApp VPS : adapter
whatsapp-mqnjl9qhactif,qr_pending— scanner sur gate.vfg.lol → Connexions
État VPS (21 juin 2026)
| Container | Port | État |
|---|---|---|
vfg-fleet-vfgate-api-1 | 8083 | ✅ nouvelle image |
vfg-fleet-vfgate-admin-1 | 8084 | ✅ nouveau build UI |
Adapters actifs sur VPS :
| ID | Type | État |
|---|---|---|
stack-telegram | telegram | ✅ |
stack-osc | osc | ✅ |
stack-vfg-hero | vfg-hero | ✅ |
whatsapp-mqnjl9qh | 🟡 qr_pending — scanner |
Routes dupliquées (UUID sans label) encore présentes dans le store — les supprimer via gate.vfg.lol → Routes → Supprimer.
Prochaines actions
| ID | Sujet | Owner |
|---|---|---|
| WA-QR | Scanner QR WhatsApp sur gate.vfg.lol → Connexions | FG |
| ROUTES-CLEAN | Supprimer les 4 routes UUID dupliquées chat.* → whatsapp | FG |
| GATE-05 | R2 preuve bot dédié BotFather → Hero event log | FG |
Cap général du projet
| Phase | État |
|---|---|
| V1 data-hub | ✅ bridge health/feed/rules |
| S2 write pipeline | ✅ forward Hero ingest + hero_quest_id |
| GATE-03 | ✅ smoke bridge — health agrégé hero+matrice+vfgate |
| GATE-04 | ✅ TELEGRAM_ENABLED=true · envoi réel |
| GATE-05 | 🟡 bot dédié BotFather · chat.inbound → Hero ingest |
| GATE-06 | 🟡 OSC /matrice/* → :8000 |
| Bedtime Call | ✅ session.end → forward Hero |
| WhatsApp VPS | 🟡 adapter déployé · QR à scanner |
| Routes Flux rapides | ✅ UI + sourceAdapter filter + label |
| Multi-plateforme | ✅ PWA + Electron thin client |
Tokens alignés
| Clé VFGate | Alignement Hero |
|---|---|
VFG_BRIDGE_TOKEN_VFGATE | VFG_BRIDGE_TOKEN_VFGATE (ingest source:vfgate) |
HERO_API_TOKEN | VFG_Hero VFG_API_TOKEN |
FEED_TOKEN_MATRICE | Matrice MATRICE_VFGATE_TOKEN |
BRIDGE_WRITE_ENABLED=true | active le forward ingest |
Accès prod
- Admin :
https://gate.vfg.lol(Basic Auth — credentials dans/root/vfg-admin-credentials.txtVPS) - API interne VPS :
http://127.0.0.1:8083/api/vfgate/v1/health
Tests (2026-06-21)
npm test: 185/186 pass (1 failing pré-existant : admin PWA SW check dans admin-dist)npm run smoke:poc: PASS