name: project-systeme-demarrage
description: Système de démarrage Antigravity + Remoat — architecture et procédures au 2026-05-28
metadata:
node_type: memory
type: project
originSessionId: ba291164-bf55-46fd-84e9-ab43c1076b43
C:\Users\lisa\Desktop\RELANCER_TELEGRAM.bat
Séquence :
1. Kill Antigravity.exe + node.exe
2. Libère port 8099 + tue python_proxy.py
3. Supprime lock : C:\Users\lisa\.remoat\.bot.lock
4. Lance proxy : C:\Python314\python.exe scratch\python_proxy.py
5. Vérifie proxy (3 tentatives)
6. Lance Antigravity via powershell -Command "Start-Process 'Antigravity.exe' ..." sur port CDP 9222
7. Lance Remoat bot minimisé avec log dans bot_startup.log
Nom : RELANCER_TELEGRAM
Déclencheur : connexion Windows + délai 30 secondes
Action : exécute RELANCER_TELEGRAM.bat
NE PAS faire : Start-Process "RELANCER_TELEGRAM.bat"
TOUJOURS faire : schtasks /Run /TN "RELANCER_TELEGRAM"
Why: Antigravity utilise un Job Object Windows. Tout processus lancé depuis Claude Code est enfant de ce Job Object. Quand Antigravity est tué, le Job Object ferme et tue tous ses enfants (y compris le bat). La tâche planifiée s'exécute hors du Job Object → survit → Antigravity redémarre correctement.
Antigravity tourne sur port CDP 9222 (fixe).
Proxy Python sur port 8099 (requis pour les appels HTTPS de Remoat via proxyFetch.ts).
C:\Users\lisa\.remoat\.bot.lockC:\Python314\python.exe (explicite, évite confusion avec Windows Store)powershell -Command "Start-Process ..." au lieu de start ""