{"success":true,"name":"brimind-call-preflight","description":"Use when call.mjs refuses an appel with « aucun Chrome trouvé », an expired audio proof, or a WhatsApp HOLD. Also when: Quand call.mjs annonce « aucun Chrome trouvé » malgré une installation Puppeteer réussie, ou que la détection Chrome disparaît entre deux contrôles. Also when: Quand `call.mjs check --json` annonce Chrome absent alors que le binaire existe dans /mnt/d/cache/puppeteer/chrome","category":"unitary","path":"unitary/brimind-call-preflight/SKILL.md","file":"SKILL.md","content":"---\nname: brimind-call-preflight\ndescription: Use when call.mjs refuses an appel with « aucun Chrome trouvé », an expired audio proof, or a WhatsApp HOLD. Also when: Quand call.mjs annonce « aucun Chrome trouvé » malgré une installation Puppeteer réussie, ou que la détection Chrome disparaît entre deux contrôles. Also when: Quand `call.mjs check --json` annonce Chrome absent alors que le binaire existe dans /mnt/d/cache/puppeteer/chrome\n---\n> Imported from [PRIVATE_HOST] `~/unitary/generated/agents/handoff/data/skills/call-director/brimind-call-preflight`. Paths are relative to `[PRIVATE_HOST]:[PATH]`; run commands there via `ssh [PRIVATE_HOST] 'cd ~/unitary && ...'`. Owner send rules from skill i7-remote-ops still apply.\n\n\n1. Run node agents/method/call.mjs check --json: this preflight checks profile, driver, Chrome, audio proof, owner stop switch and WhatsApp HOLD without connecting to WhatsApp.\n2. Resolve each reported blocker before attempting a call. Chrome detection checks OPENER_CHROME_BIN and ~/.cache/puppeteer/chrome; the presence of /snap/bin/chromium alone does not establish compatibility. Test compatibility before selecting an alternative binary.\n3. While HOLD is active, do not open a WhatsApp browser, reconnect or send. Check the phone notification and effective release before continuing.\n4. Once permitted, renew expired audio proof using node agents/method/call.mjs --self --confirm. This is a real self-call, not a dry check.\n5. Rerun check --json before resuming calls.\n\nLinked: C:h_call-directo_202610180619_70f8 (continues the unresolved call diagnosis); S:brimind-repeat-becomes-rail (replaces repeated manual diagnosis with the delivered rail)\nLearned: 2026-10-19, handoff h_call-directo_202610190602_d11d.\n\n## Field notes (from session handoffs)\n- 2026-10-20: 1. Si `npx puppeteer browsers install chrome`, exécuté depuis browser-opener, installe Chrome dans un cache externe, comparer son chemin avec ceux inspectés par le prévol : OPENER_CHROME_BIN et ~/.cache/puppeteer/chrome. 2. Le binaire installé à /mnt/d/cache/puppeteer/chrome/linux-131.0.6778.204/chrome-linux64/chrome a passé `--version` et un test navigateur local (`preflight-local`). Un lien ~/.cache/puppeteer/chrome vers le cache installé a permis au prévol de détecter Chrome. 3. Un succès ponctuel ne prouve pas la persistance : refaire le contrôle dans l'environnement de reprise et comparer environnement et lien du cache si Chrome disparaît. Preuve du contrôle réussi : agents/call-director/notes/evidence/2026-10-19-preflight.txt. Chromium Snap a refusé de démarrer avec un problème de confinement AppArmor sur cette machine. (when: Quand call.mjs annonce « aucun Chrome trouvé » malgré une installation Puppeteer réussie, ou que la détection Chrome disparaît entre deux contrôles.) (links: S:brimind-repeat-becomes-rail (fiabilise le prévol réutilisable); C:h_call-directo_202610190602_d11d (poursuit le diagnostic Chrome))\n- 2026-10-21: 1. Si Chrome disparaît au prévol, vérifier si `[PATH]` manque alors que `/mnt/d/cache/puppeteer/chrome` contient toujours le binaire installé. 2. Uniquement dans ce cas, restaurer le lien : `mkdir -p [PATH]` puis `ln -s /mnt/d/cache/puppeteer/chrome [PATH]`. 3. Vérifier le binaire détecté avec Puppeteer en mode headless sur une page locale, fermer le navigateur, puis relancer `node agents/method/call.mjs check --json` pour confirmer que la détection tient au recontrôle. Cette vérification locale ne nécessite aucune connexion WhatsApp. (when: Quand `call.mjs check --json` annonce Chrome absent alors que le binaire existe dans /mnt/d/cache/puppeteer/chrome) (links: C:h_call-directo_202610200611_27fd (résout la disparition de Chrome au recontrôle); S:brimind-repeat-becomes-rail (précise la réparation du prévol récurrent))\n","linked_files":[],"origin":"brimind","owner_id":null,"source":"router"}