[codex] follow-up: valid pio env CI + dual-hw loop hardening #9

Merged
electron-rare merged 6 commits from codex/autonomy-plan-todo-hw-local into main 2026-02-21 02:03:06 +00:00
electron-rare commented 2026-02-21 01:56:38 +00:00 (Migrated from github.com)

Summary

  • enforce valid PlatformIO env usage in firmware CI template (dynamic env discovery, no hardcoded native/test)
  • harden local webhook auth fallback by recovering bearer from ~/.zeroclaw/config.toml
  • align autonomy specs/todos with real hardware execution status and blockers
  • include new dual-hardware loop defaults (build -> upload -> monitor) and watcher checks in orchestrator workflow

Key changes

  • .github/workflows/zeroclaw_dual_orchestrator.yml
  • gh_setup_and_patches/patched_workflows/firmware_ci.yml
  • gh_setup_and_patches/setup_repo.sh
  • gh_setup_and_patches/REQUIRED_CHECKS_STRATEGY.md
  • tools/ai/zeroclaw_webhook_send.sh
  • tools/ai/zeroclaw_hw_firmware_loop.sh
  • specs/04_tasks.md
  • specs/constraints.yaml
  • specs/zeroclaw_dual_hw_orchestration_spec.md
  • specs/zeroclaw_dual_hw_todo.md

Validation

  • shell lint: bash -n + shellcheck on updated scripts
  • runtime smoke (single session):
    • 3000/health=200
    • 8788/=200
    • 9090/-/ready=200
    • 8788/realtime_1min.log=200
  • realtime watcher: new line appended after ~60s
  • webhook dry-run: rc=0
  • budget guards:
    • chars limiter rc=11
    • hourly limiter second call blocked rc=12
  • hardware loops:
    • RTC build success, upload timeout on serial
    • Zacus build success, upload timeout on serial

Refs:

## Summary - enforce valid PlatformIO env usage in firmware CI template (dynamic env discovery, no hardcoded `native/test`) - harden local webhook auth fallback by recovering bearer from `~/.zeroclaw/config.toml` - align autonomy specs/todos with real hardware execution status and blockers - include new dual-hardware loop defaults (`build -> upload -> monitor`) and watcher checks in orchestrator workflow ## Key changes - `.github/workflows/zeroclaw_dual_orchestrator.yml` - `gh_setup_and_patches/patched_workflows/firmware_ci.yml` - `gh_setup_and_patches/setup_repo.sh` - `gh_setup_and_patches/REQUIRED_CHECKS_STRATEGY.md` - `tools/ai/zeroclaw_webhook_send.sh` - `tools/ai/zeroclaw_hw_firmware_loop.sh` - `specs/04_tasks.md` - `specs/constraints.yaml` - `specs/zeroclaw_dual_hw_orchestration_spec.md` - `specs/zeroclaw_dual_hw_todo.md` ## Validation - shell lint: `bash -n` + `shellcheck` on updated scripts - runtime smoke (single session): - `3000/health=200` - `8788/=200` - `9090/-/ready=200` - `8788/realtime_1min.log=200` - realtime watcher: new line appended after ~60s - webhook dry-run: rc=0 - budget guards: - chars limiter rc=11 - hourly limiter second call blocked rc=12 - hardware loops: - RTC build success, upload timeout on serial - Zacus build success, upload timeout on serial Refs: - RTC issue #18: https://github.com/electron-rare/RTC_BL_PHONE/issues/18 - Zacus issue #98: https://github.com/electron-rare/le-mystere-professeur-zacus/issues/98
chatgpt-codex-connector[bot] commented 2026-02-21 01:56:41 +00:00 (Migrated from github.com)

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

You have reached your Codex usage limits for code reviews. You can see your limits in the [Codex usage dashboard](https://chatgpt.com/codex/settings/usage). To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your [settings](https://chatgpt.com/codex/settings/code-review).
electron-rare commented 2026-02-21 02:08:36 +00:00 (Migrated from github.com)

Coordination update (RTC): issue evidence opened https://github.com/electron-rare/RTC_BL_PHONE/issues/21 and RTC fix/evidence PR is https://github.com/electron-rare/RTC_BL_PHONE/pull/20 (esp32 audio dev run).

Coordination update (RTC): issue evidence opened https://github.com/electron-rare/RTC_BL_PHONE/issues/21 and RTC fix/evidence PR is https://github.com/electron-rare/RTC_BL_PHONE/pull/20 (esp32 audio dev run).
Sign in to join this conversation.