GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — id: MQTT device bridge id.device.v1 — spec + labelled PoC (ESP32 path recommendation) (#2027) · Issue #2343 · developing-today/code

id: MQTT device bridge id.device.v1 — spec + labelled PoC (ESP32 path recommendation) (#2027) #2343

New issue
Copy link
New issue
Copy link
Closed
#7976
Closed
id: MQTT device bridge id.device.v1 — spec + labelled PoC (ESP32 path recommendation) (#2027)#2343
#7976
Copy link
Assignees
dezren39
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insepic/id-programReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/creatorFiled by the new-issue-creator jobstatus/triagedTriaged and routed (see agent note)status:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

@dezren39
dezren39
opened on Oct 29, 2026
Issue body actions

Follow-up from the capability taxonomy v0 investigation (#2027, record: doc/2026-10-29T14-05-00Z_investigation_capability_taxonomy/, PR #2337).

Goal

Specify and prototype the MQTT device bridge (id.device.v1) — the recommended ESP32 path: ID speaks MQTT directly, so devices get the same wants/result/refusal semantics as web instead of terminating at Home Assistant.

Why this path

Taxonomy §5 compares (a) firmware → MQTT → Home Assistant, (b) ID speaks MQTT directly, (c) direct web, and recommends (b) as the device path with (a) as interop and (c) unchanged: only (b) keeps one capability model and one refusal vocabulary at the last hop.

Scope

  • Topic schema: <prefix>/manifest (retained, on connect), <prefix>/wants, <prefix>/cap/result, <prefix>/surface, <prefix>/events; one connection per device, per-world prefix.
  • Wire bounds identical to WebSocket: 64 KiB frames, 8 KiB args; a 128×64 1-bit screen is ~1 KiB of cells, which is why pixel screens are the existing Screen variant at smaller dimensions rather than a new kind.
  • Rotary encoders as Key events with a signed delta in args.
  • Minimum time.tick interval for the device path to avoid wake storms.
  • Decisions: retained wants (recommend: manifest only, wants never retained — a retained wants replays a stale request); TLS/auth; reconnect/backoff; journaling on the device side.
  • Firmware implements only device.info, small screen/text, a closed form.* subset, loc.position when GNSS is present, and key/encoder events.

Acceptance

  • A written schema doc with example documents for each topic.
  • A PoC clearly labelled as a PoC (the issue's rule: never build the permanent feature on an unreviewed PoC) — a host-side bridge plus a fake device that connects, publishes a manifest, receives a wants document and gets a cap: result, in an integration test.
  • Home Assistant interop recorded as out-of-scope-but-supported.

Out of scope

Firmware for a specific board, OTA, ESPHome components, power profiling.

Acceptance criteria

  • A written id.device.v1 schema doc exists with example documents for each topic (manifest retained on connect; wants; cap/result; surface; events) and the wire bounds identical to WebSocket (64 KiB frames, 8 KiB args)
  • The open decisions are recorded with recommendations: retained wants (recommend manifest only — a retained wants replays a stale request), TLS/auth, reconnect/backoff, device-side journaling, minimum time.tick interval
  • A PoC — clearly labelled as a PoC, never the permanent feature — host-side bridge plus a fake device connects, publishes its manifest, and answers a want with result/refusal semantics matching web
  • Firmware scope stays the closed subset: device.info, small screen/text, closed form.* subset, loc.position when GNSS present, key/encoder events (rotary encoder as Key with signed delta)

Triage verdict — 2026-11-08 (queue task 12058)

Verdict: REAL AND CURRENT. This is the full verdict; the comment POST is blocked by GitHub's secondary content-creation rate limit, so it is carried in the issue body until that clears.

Fresh evidence (00ca4186, 2026-11-08T18:10Z)

  • id: MQTT device bridge id.device.v1 — spec + labelled PoC (ESP32 path recommendation) (#2027) #2343 is OPEN; no hard-stop labels.
  • PR search for id.device.v1 returns only merged PR docs(id): capability taxonomy v0 for interface specialization (#2027) #2337 — the capability-taxonomy investigation, not an implementation. No schema examples, wire code or PoC.
  • git grep -i mqtt -- pkgs/id/src returns no matches.
  • id: design: constrained-device providers (ESP32 + MQTT instantiation) (from #5686) #5901 is CLOSED with the constrained-device decision: retained manifest only, TLS plus per-device credentials, the closed device subset, and bridge-as-translator. It names id: MQTT device bridge id.device.v1 — spec + labelled PoC (ESP32 path recommendation) (#2027) #2343 as the bridge implementation follow-up, so those are inputs here, not open questions.
  • id: design: ID core build v1 — app model + capability system, enough to start app examples #2028 keeps production hardware rollout deferred; id: design: ESP32 hardware platform line — boards, provisioning, firmware lifecycle, OTA, power #5783 owns boards, firmware, OTA and power and is out of scope.

Live remainder, scoped into the follow-up packet

  1. id.device.v1 schema with example documents for manifest, wants, cap/result, surface and events; per-world prefix, one connection per device, 64 KiB frame / 8 KiB args bounds.
  2. Recommendations for reconnect/backoff, device-side journaling and minimum time.tick, reusing id: design: constrained-device providers (ESP32 + MQTT instantiation) (from #5686) #5901's decisions without reopening them.
  3. A clearly labelled non-production host bridge plus fake-device integration PoC proving manifest publication, wants/result/refusal semantics, stale retained-wants rejection, bounds enforcement and fail-closed authentication.

Routing

  • Fix packet task 13917 queued on repo-health-code-pilot, dedupe key repo-health:v1:fix:developing-today/code:issue:2343.
  • id: MQTT device bridge id.device.v1 — spec + labelled PoC (ESP32 path recommendation) (#2027) #2343 stays OPEN and closes only through a merged PR, never through this triage.
  • Triage task: test(id): run planted-bug preflight safety tests in CI #12058 (OpenChamber scheduled lane bf419306-c4ef-470f-a553-beabf93239de).

Activity

Next
  1. dezren39
    added
    kind/featureNew feature or capability request
    status/needs-triageNot yet triaged; needs a first look
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Oct 29, 2026
  2. developing-today commented on Oct 29, 2026

    @developing-today
    developing-todayBot
    on Oct 29, 2026 – with developing.today
    Contributor
    More actions

    CODE-1188

  3. dezren39
    added
    priority/normalOrdinary priority (the default)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Oct 29, 2026
  4. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    Intake review

    Related: parent investigation #2027 (record: PR #2337); siblings #2338-#2345 are the other taxonomy follow-ups

    Notes: Filed 2026-10-29T14:04Z from #2027 (taxonomy §5 recommends ID-speaks-MQTT as the ESP32 path over terminating at Home Assistant). Still live: no open or merged PR implements it.

    Risks: Retained-wants replay is the named footgun; the spec must close it explicitly. A PoC that quietly becomes the permanent bridge repeats the pattern the issue's own rule forbids.

    Suggested approach: Schema doc + decision record first, then the labelled PoC with the fake device.

    🤖 Agent note · filed

    • Agent: fleet monitor (repo-fleet-monitor)
    • Session / ID: repo-fleet-monitor run 2026-10-29T14:30Z (09:30 CDT)
    • Found via: monitor reconciliation
    • Task: Duty 2 intake enrichment — acceptance criteria appended (original body preserved verbatim above it), labels normalized, meta/enriched applied. Still-live check this pass: no merged PR or fix commit explicitly resolving this issue was found; where a queue triage task owns verification, it is named in the notes.
    • Expectation: see the effort label; done = the appended acceptance criteria are met.
    • Links: this issue
  5. github-actions
    assigned
    dezren39
    on Oct 29, 2026
  6. dezren39
    added
    queue/queuedHas a queued queue task
    source/creatorFiled by the new-issue-creator job
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 3, 2026
  7. developing-today commented on Nov 3, 2026

    @developing-today
    developing-todayBot
    on Nov 3, 2026 – with developing.today
    Contributor
    More actions

    agent-note:v1
    state: triaged (coverage pass)
    Coverage pass 2026-11-03: reviewed in the fleet-wide per-issue pass (drift / overlap / already-handled / stale / blockers / ordering). Verdict: still live; queued in repo-health-code-pilot as triage at priority 40 (priority/normal). If this is already handled at current main, the triage closes it with evidence; if it needs splitting, the triage files the split.
    Found via: coverage pass 2026-11-03

  8. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Nov 3, 2026
  9. 100 remaining items

  10. dezren39
    added
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 9, 2026
  11. dezren39 commented on Nov 9, 2026

    @dezren39
    dezren39
    on Nov 9, 2026
    MemberAuthor
    More actions

    Claimed as queue task 13917 (attempt 3). Revalidated fresh: issue OPEN, no hard-stop labels, no competing implementation PR, #5901 CLOSED (decisions reused as inputs), #2028 still defers production rollout. Worktree: laptop ~/git/fleet/13917, branch queue/13917-2343-mqtt-device-bridge. Plan: id.device.v1 schema doc + labelled host-bridge/fake-device PoC with integration tests, then PR.

  12. developing-today
    added
    status:in-review
    on Nov 9, 2026
  13. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 9, 2026
  14. dezren39 commented on Nov 9, 2026

    @dezren39
    dezren39
    on Nov 9, 2026
    MemberAuthor
    More actions

    PR opened: #7976 — #7976

    Queue task 13917 completed pr_opened. Branch queue/13917-2343-mqtt-device-bridge, last pushed SHA c94978b449f9871518ae2b5c72486bebf4f71db3.

    Delivered exactly the triage remainder, nothing more:

    • doc/2026-11-09T05-00-00Z_feature_mqtt_device_bridge_id_device_v1/ — topic table, per-world prefix, one connection per device, example documents for all five topics, wire bounds, and the recommendations (retained manifest only, TLS + per-device credentials, reconnect/backoff, device-side journaling, 1 Hz time.tick floor, closed firmware subset).
    • pkgs/id/src/device_bridge.rs — labelled PoC: fail-closed auth, bridge wants evaluation with the web refusal vocabulary, fake broker enforcing the retained-wants ban and wire bounds, fake device with journal/tick floor/backoff/encoder-as-Key.
    • One pub mod line in lib.rs; no production paths touched.

    Tests: cargo test --lib device_bridge — 11 passed. CI pending; this lane is ending its run, so CI follow-through belongs to the next scheduled lane or the merging worker (the task is terminal with ci: pending, PR recorded).

    Reused #5901 decisions without reopening them. One finding recorded in the doc: the host rejects oversize args at parse_wants time, so the PoC asserts that boundary rather than inventing a per-request args_too_large code the host never emits.

    Issue stays OPEN until #7976 merges; nothing in this run closed it.

  15. dezren39
    added
    epic/id-programReprioritization program epic (2026-11-12)
    on Nov 12, 2026
  16. dezren39
    added a commit that references this issue on Nov 14, 2026

    feat(id): id.device.v1 MQTT device bridge spec + labelled PoC (#2343) (…

    1fd1a80
  17. dezren39
    closed this as completedin #7976on Nov 14, 2026
  18. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insepic/id-programReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/creatorFiled by the new-issue-creator jobstatus/triagedTriaged and routed (see agent note)status:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.