GeezerVison is showing github.com — id: design: ESP32 hardware platform line — boards, provisioning, firmware lifecycle, OTA, power · Issue #5783 · developing-today/code
id: design: ESP32 hardware platform line — boards, provisioning, firmware lifecycle, OTA, power #5783Labels app/idPackage/app: id (pkgs/ or apps/ in this repo)epic/id-programReprioritization program epic (2026-11-12)queue/parkedQueue task is parked (waiting on CI, time, or an event)status/triagedTriaged and routed (see agent note)task/triageQueue packet kind: verify, reproduce, and route this item DescriptionSummary
Design the ESP32 hardware platform line: the device side of ID — reference boards, identity provisioning, firmware lifecycle and OTA, power behaviour, and field failure modes — as its own design, under the protocol and provider model that already exist.
Motivation
The ESP32 currently lives inside two other designs, and its hardware questions are explicitly homeless in both. #2343 designs the id.device.v1 MQTT bridge (topic schema, wire bounds, refusal semantics) and scopes OUT, in its own words: "Firmware for a specific board, OTA, ESPHome components, power profiling." #5686 designs the capability-provider model an ESP32 plugs into — provider abstractions, deliberately target-agnostic. What no issue owns is the ESP32 as a platform: which boards, how a device gets its identity, how its firmware is built, signed, updated and rolled back, and what it does when power, Wi-Fi, or time itself misbehaves. Drew's 2026-11-04 instruction — each thing gets its own design issue — applies here directly: the bridge spec can be perfect and the device line can still fail in the field for reasons no filed design covers.
Sketch
- Board posture: one reference board vs a supported family; ESP32 variants' memory/radio/flash differences measured against the bridge's 64 KiB frame budget and the firmware's closed capability subset.
- Identity provisioning: device key generation and enrolment (the device-owned identity question posed in design(id): client-side capability providers — one provider model for ESP32/MQTT, terminal, Bevy, smartphone, and web #5686, answered for hardware); factory reset and re-provisioning semantics; what a stolen device knows.
- Firmware lifecycle: builds in CI/the flake, signed images, OTA with rollback to last-good, and the device-side journaling decision inherited from id: MQTT device bridge id.device.v1 — spec + labelled PoC (ESP32 path recommendation) (#2027) #2343 — spelt out as a lifecycle, not a per-decision list.
- Power: sleep/wake posture against the bridge's minimum
time.tick floor; battery budgets for the reference build; wake-storm avoidance as a fleet property, not a per-device hope.
- Field behaviour: no-RTC time (what does a device do before it learns the time, and whose time does it trust), broker absence, captive-portal-class Wi-Fi failures, brownout mid-write.
Open questions
- Firmware language/stack: Rust (esp-hal / esp-idf) vs C — and what the crate-split workspace can share with it?
- ESPHome: interop target, migration source, or ignore?
- Hardware-in-the-loop testing: does a physical rig join the deterministic testing infrastructure, or is the fake-device PoC (id: MQTT device bridge id.device.v1 — spec + labelled PoC (ESP32 path recommendation) (#2027) #2343) the permanent test double?
- Who is the hardware line for in v1 — Drew's own bench, or a reproducible build others can flash?
Relations
Parent: epic #2056. Relations: #2343 (MQTT bridge spec — the protocol this platform speaks; its out-of-scope list is this issue's scope), #5686 (capability providers — the model this platform instantiates), #5684 (identity/delegation — device identity custody), #5671 (transport fallback — constrained radios). Filed in the 2026-11-04 gap pass (WS-F) per Drew's order. Activitydeveloping-today commented on Nov 5, 2026 dezren39 commented on Nov 5, 2026 Field survey filed: #5931 (capability-provider research widening, per Drew's 2026-11-04 ruling) covers the current option space relevant to this issue in §5 (ESP32/MQTT/IoT) — ESP-IDF v5.5 vs esp-hal 1.0 + Embassy Rust vs Arduino/ESPHome/Zephyr/Tasmota; Matter/Thread production state and its attestation regime; broker field incl. EMQX's BSL license change. It is an inventory, not a decision — the section ends with the open questions this design needs to answer. dezren39 commented on Nov 5, 2026 🤖 Agent note · done
- Agent: queue worker (repo-worker-code), lane code-x
- Session / ID: task 10187
- Found via: queue claim
- Task: Triage issue id: design: ESP32 hardware platform line — boards, provisioning, firmware lifecycle, OTA, power #5783 at current main — verified open, no held/user/owned/do-not-merge/do-not-auto-edit labels.
- Expectation: Triage outcome: design specification, not a small fix. Scope: ESP32 hardware platform line — reference board posture, identity provisioning/enrolment, signed firmware + OTA with rollback, power/sleep posture, field behaviour (no-RTC time, broker absence, brownout). Explicitly the gap left by issue id: MQTT device bridge id.device.v1 — spec + labelled PoC (ESP32 path recommendation) (#2027) #2343 (MQTT bridge, scopes firmware/OTA/power out) and issue design(id): client-side capability providers — one provider model for ESP32/MQTT, terminal, Bevy, smartphone, and web #5686 (provider model, target-agnostic). No code change in this triage task.
- Links: Open decisions: firmware stack Rust vs C, ESPHome posture, hardware-in-the-loop testing. Next: scoped design/implementation follow-up should be enqueued separately; this design issue stays open.
dezren39 commented on Nov 8, 2026
Agent note — picked up, handed off to opencode execution lane (lane code-u, task 12290, 2026-11-07)
Task 12290 (triage: re-queued under triage doctrine — queue task 10187 was marked done with no landed evidence) was claimed by lane code-u and assigned by the execution-lane system to the opencode lane (assigned_lane: opencode). Per the worker runbook §1b, the bound opencode session launched by the laptop claimant owns this task from here: revalidation against current state, triage verdict, and any scoped follow-up packet are that session's to produce.
This note is the pickup/handoff record only — no triage verdict is implied. If the claimant has not launched by lease expiry, the task returns to the queue on its own. developing-today commented on Nov 8, 2026 🤖 Agent note · handed off
- Agent: queue worker (repo-worker-code), lane code-d
- Session / ID: task 12290
- Found via: queue claim
- Task: triage issue id: design: ESP32 hardware platform line — boards, provisioning, firmware lifecycle, OTA, power #5783 — handed off to the opencode claimant per execution-lane assignment (assigned_lane=opencode); attempt 3/3, claimant launch before lease expiry is time-critical; claim labels already present, left as found; note posted via the developing.today app (user token rate-limited)
- Expectation: claimant launches the bound opencode session and drives task 12290 to a terminal state
- Links: issue id: design: ESP32 hardware platform line — boards, provisioning, firmware lifecycle, OTA, power #5783
developing-today commented on Nov 8, 2026 agent-note:v1
task: 12290
lane: code-t
state: picked up, then handed off
execution_lane: opencode
next: opencode claimant launches the bound session for task 12290
verified: issue #5783 OPEN, no hard-stop labels (held/user/owned/do-not-merge/do-not-auto-edit absent), fresh gh check 2026-11-08 dezren39 commented on Nov 17, 2026 🤖 Agent note · triaged / queue task done
- Agent: repo-worker-code, OpenChamber scheduled lane code-g
- Task: 18372 triage, fresh state checked 2026-11-17T03:01Z.
- Verdict: issue OPEN. Design decision record PR docs(id): decision record for ESP32 hardware platform line (#5783) #8001 is MERGED (2026-11-14T21:24Z,
doc/2026-11-09_design_id5783.md), so the design is recorded. Issue stays open as the epic tracker for the remaining ESP32 platform work (boards, provisioning, OTA, power, field behaviour), which have no separate follow-on packet yet. No new repo-health task created.
- Labels: left unchanged; no claim labels were applied this run.
dezren39 commented on Nov 22, 2026 Merged work, still open. Every pull request that references this issue has merged (#7976, #8001) and none is open, but the issue kept status:in-review. Tasks that name it as a blocker have been waiting on it.
status:in-review is removed. Whoever takes this next: run the issue's done check against main. Close the issue if it passes; if not, list what is left here and carry on with it (AGENTS.md, "Finishing work").
By: Claude, 2026-11-22 flow review.
Generated by Claude Code dezren39 commented on Nov 24, 2026
Second-pass verdict (openchamber lane oc-code-03, queue task 22831, 2026-11-24)
Fresh state: #5783 OPEN, labelled task/triage and queue/parked, under epic #id-program. The parked state is already on record. This is a design-line item, so no implementation is started here and no new packet is routed. It stays parked until its design inputs are settled. developing-today-fleet commented on Nov 25, 2026 agent-note:v1
Agent: felix (Muse lane, 2026-11-25)
State: label correction (comment-only) — graph hygiene audit #14863, slice 6
Label defect: this issue carries queue/queued and queue/parked at the same time — it cannot be both awaiting draw and parked. One of them should be removed so the queue state reads unambiguously. Refs #14863 developing-today-fleet commented on Nov 26, 2026
Triage recheck (code-h, task 24353, 2026-11-26): unchanged. Design recorded in merged #8001; epic tracker stays OPEN awaiting settled design inputs for boards/provisioning/OTA/power/field behaviour. No new referencing PRs since #8001 (11-14). Label hygiene per #14863 slice 6: removed stale queue/queued, keeping queue/parked per the standing park verdict. No packet routed (design-line, nothing to implement here). developing-today-fleet commented on Nov 26, 2026 🤖 Agent note (lane code-j, 2026-11-26, triage task 25087): design record landed, epic stays parked — no packet.
- Fresh readback: OPEN. Decision record merged in docs(id): decision record for ESP32 hardware platform line (#5783) #8001; no new referencing PRs since.
- The epic waits on settled design inputs for boards, provisioning, OTA, power and field behaviour (per the 2026-11-26 code-h recheck). Nothing queueable until those inputs exist. Keeping queue/parked. Refs id: MQTT device bridge id.device.v1 — spec + labelled PoC (ESP32 path recommendation) (#2027) #2343, design(id): client-side capability providers — one provider model for ESP32/MQTT, terminal, Bevy, smartphone, and web #5686, Queue reprioritization programme 2026-11-24: full census, reorder, unblock #14158.
developing-today-fleet commented on Nov 27, 2026 🤖 Triage re-verification — oc-code-03, task 25494 (2026-11-27)
Design record landed; tracker stays open, no packet. Fresh readback: #5783 OPEN (task/triage, queue/parked, status/triaged). Decision record merged in #8001; no new referencing PRs since. Relations update since the last recheck: parent epic #2056 plus #2343 (bridge spec), #5686 (provider model), #5684 (identity/delegation), and #5671 (transport fallback) are all CLOSED — the platform line's protocol/model/identity/transport inputs are settled. What remains (boards, provisioning, OTA, power, field behaviour) has no child issues and no queueable implementation under this design-line item, so no new packet is routed here. Label queue/parked already reflects the standing park verdict.
No code changed.
MetadataMetadataapp/idPackage/app: id (pkgs/ or apps/ in this repo)epic/id-programReprioritization program epic (2026-11-12)queue/parkedQueue task is parked (waiting on CI, time, or an event)status/triagedTriaged and routed (see agent note)task/triageQueue packet kind: verify, reproduce, and route this item DevelopmentNo branches or pull requestsIssue actions
|