Skip to content

embeddedci / embeddedci-mcp 3.0.0: wiring profiles on the pod, nothing wired by default, error codes - #96

Merged
wardviaene merged 2 commits into
mainfrom
feedback-v3
Nov 16, 2026
Merged

wardviaene merged 2 commits into
mainfrom
feedback-v3

Conversation

@wardviaene

Copy link
Copy Markdown
Member

Major release (see the changelogs' 'Upgrading to 3.0').

SDK: profiles stored on the pod (wiring_profile=, load_wiring, stored_wiring, wiring_profiles, set_default_wiring, delete_wiring, save_wiring(profile=None, name=None) over any connection with a revision check); schema version 2 (Wiring() wires nothing; Wiring.preset('embeddedci-reference') is the old default bench; version 1 data still fills it in); power_on applies the profile's I/O voltage before the rail and records the profile; FirmwareError.code / .values / .docs_url rendered from the bundled catalog; pytest --benchpod-wiring-profile. embeddedci-openhtf 2.4.0 needs embeddedci 3.

MCP: wiring lists the pod's profiles and unsaved_changes with a hint; tools save_wiring, load_wiring, set_default_wiring, delete_wiring; connect/power_on take wiring_profile; set_wiring is this connection only unless --wiring-autosave (never a change of I/O voltage, rail or SWD target); coded refusals show the agent's fix.

Tests: all packages pass (934 / 205 / 74 / 12). Not yet run against the pod with firmware #155; that end-to-end run follows.

Merge order (one release, SDK/MCP 3.0.0, CLI 0.9.0): benchpod-firmware#155, benchpod-ui, then embeddedci-python, benchpod-cli and benchpod-desktop; embeddedci-server main after the firmware and benchpod-ui.

🤖 Generated with Claude Code

wardviaene and others added 2 commits November 16, 2026 17:02
…t, error codes

- Wiring profiles stored on the pod (firmware wiring_list/get/put/delete/default): wiring_profile=
  (BENCHPOD_WIRING_PROFILE, pytest --benchpod-wiring-profile), load_wiring, stored_wiring,
  wiring_profiles, set_default_wiring, delete_wiring; save_wiring(profile=None, name=None) stores
  on the pod over any connection, with a revision check (BP0009) when saving the loaded profile.
  Older firmware keeps the embeddedci.com profile.
- Schema version 2: Wiring() wires nothing, la_mv/efuse/i2c_addr are None when unset; the old
  defaults are Wiring.preset('embeddedci-reference'); version 1 data still fills them in.
- power_on applies the profile first (I/O voltage, then the rail) and records it on the pod; never
  changes the I/O voltage under a powered board.
- FirmwareError.code / .values / .docs_url from the firmware's error codes, rendered with the
  bundled catalog (error_catalog.json, scripts/sync-error-catalog.sh); errors.explain().
- embeddedci-openhtf 2.4.0 needs embeddedci 3.
- README (wiring, error codes, options), changelogs with an upgrade guide, tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s, opt-in autosave

- wiring lists the pod's profiles and unsaved_changes with a hint; new tools save_wiring,
  load_wiring, set_default_wiring, delete_wiring; connect(wiring_profile=), power_on(wiring_profile=).
- set_wiring changes this connection only (version 2); --wiring-autosave / BENCHPOD_WIRING_AUTOSAVE
  also stores it, never a change of the I/O voltage, power rail or SWD target.
- power_on applies the profile first and names it in the result.
- Coded refusals show the code, the agent's fix and the docs link.
- Agent instructions: ask before saving, never guess a missing pin.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@wardviaene
wardviaene marked this pull request as ready for review November 16, 2026 23:48
@wardviaene
wardviaene merged commit f1eaf4f into main Nov 16, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant