Skip to content

Align November OpenAPI devices and harden agent execution - #81

Merged
chenliuyun merged 7 commits into
mainfrom
fix/agent-contract-mvps
Nov 20, 2026
Merged

chenliuyun merged 7 commits into
mainfrom
fix/agent-contract-mvps

Conversation

@chenliuyun

Copy link
Copy Markdown
Collaborator

Changes

  • Align November device contracts with the pinned SwitchBot API, including S30, Frame 2/Luma, Vision Doorbell, Hub 4 and regional plugs.
  • Enforce dry-run boundaries, bind approvals to the reviewed plan and account, and avoid replaying actions with unknown outcomes.
  • Scope discovery to the requested models, support both MCP protocol generations, and gate agent behavior on household outcomes.

Local verification

  • 3,300 tests passed (187 files); build and packed-install smoke passed.
  • Compared all 145 CLI command paths and 29 MCP tool schema pairs against the pre-MVP binary: existing definitions unchanged, excluding descriptions.
  • Exercised stdio and HTTP on Node 18.20.8. Offline household evaluation: 12/12, no forbidden requests or unexpected writes. No real devices or model calls.

@chenliuyun
chenliuyun merged commit 3a22bd3 into main Nov 20, 2026
25 checks passed
@chenliuyun chenliuyun mentioned this pull request Nov 20, 2026
@chenliuyun
chenliuyun deleted the fix/agent-contract-mvps branch November 20, 2026 11:31
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