Files
RTC_BL_PHONE/docs/zeroclaw_orchestration.md
T
2026-02-21 01:24:35 +01:00

1.3 KiB

Orchestration ZeroClaw (RTC)

Dernière mise à jour: 2026-02-21.

Objectif

Rendre les boucles hardware RTC plus robustes:

  • préflight USB obligatoire avant upload/flash,
  • session agent ZeroClaw ciblée sur le repo RTC,
  • exécution coordonnée avec Kill_LIFE (orchestrateur dual-repo).

1) Préflight hardware local

Lancer avant autoflash.py, hw_validation.py ou tout upload PlatformIO:

python3 scripts/zeroclaw_hw_preflight.py --zeroclaw-bin /Users/cils/Documents/Lelectron_rare/Kill_LIFE/zeroclaw/target/release/zeroclaw --require-port

Variantes:

python3 scripts/zeroclaw_hw_preflight.py --port /dev/tty.SLAB_USBtoUART
python3 scripts/zeroclaw_hw_preflight.py --port /dev/tty.usbserial-0001 --port /dev/tty.usbmodem5AB90753301

2) Conversation agent ciblée RTC

Depuis Kill_LIFE:

tools/ai/zeroclaw_dual_chat.sh rtc -m "fais un état hardware et propose 3 actions"

Si credentials manquants, choisir un provider:

  • zeroclaw auth login --provider openai-codex --device-code
  • ou export OPENROUTER_API_KEY=... && export ZEROCLAW_PROVIDER=openrouter

3) Boucle recommandée (issue -> PR)

  1. Préflight USB (zeroclaw_hw_preflight.py).
  2. Prompt court RTC.
  3. Patch minimal RTC.
  4. Tests locaux ciblés.
  5. PR dédiée RTC avec logs/artefacts.