Skip to content

[NO-MERGE][rewrite] Interfaces Protocol v1 conformance slice (WS5)#136

Draft
adamcohenhillel wants to merge 18 commits into
mainfrom
rewrite/protocol-v1
Draft

[NO-MERGE][rewrite] Interfaces Protocol v1 conformance slice (WS5)#136
adamcohenhillel wants to merge 18 commits into
mainfrom
rewrite/protocol-v1

Conversation

@adamcohenhillel

Copy link
Copy Markdown
Contributor

Do not merge

Branch-only work under the Interfaces v1 rewrite plan (see silentspeech-app PR #138). Merge requires the separate Part VI acceptance review.

Note: this branch is cut at 59ba9f65 (tip of refactor/app-os-boundary, which contains all of main plus the PhoneToolGateway seam and adaptive surfaces) — so this PR includes that unmerged branch's commits plus the WS5 work on top.

Contents

  • runtime/protocol/ifp1/ — vendored TypeScript validator + conformance machine + fixture corpus (80 cases incl. shared canonical-JSON/params-hash vectors), openphone-tools.ifp1.json re-expressing all 37 v0 commands as ifp/1 tool declarations (risk carried over exactly: 8 low / 24 medium / 5 high), and MIGRATION.md with the full command-to-tool table.
  • Lifecycle adapter (adapter.mjs) — runtime.tool.requested becomes action.propose; confirmation resolution becomes approve/reject with exact params_hash binding; results carry binding_mismatch/action_expired handling. runtime.confirmation.required deliberately has no wire message: confirmation is surface-local authority (spec 8.2).
  • v0 manifests marked deprecated ("deprecated": true, "superseded_by": "ifp1/") — not deleted; the Java side still reads them. Deletion gate in the remainder.
  • 92 new test cases wired into scripts/check.sh; full check suite green including the Java compile contract checks.

Spec bugs found here (wrong params_hash example, undefined canonical JSON) were fixed upstream in the shared corpus.

Remainder: WS5-REMAINDER.md (Java RuntimeToolBridge/PhoneToolGateway port, Ed25519 pairing promotion from the OpenClaw adapter, OpenClaw/MCP/CLI manifest switch, old-manifest deletion gate, iOS runtime note).

🤖 Generated with Claude Code

adamcohenhillel and others added 18 commits July 18, 2026 16:22
Vendored ifp/1 validator+machine+fixtures, all 37 commands re-expressed
as v1 tool declarations with migration table, lifecycle adapter
(propose/approve/reject/result with params_hash binding), 86 new test
cases wired into check.sh, v0 manifests marked deprecated/superseded_by.
check.sh fully green. Remainder in WS5-REMAINDER.md.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openphone-docs Ready Ready Preview, Comment Jul 21, 2026 6:24pm

Request Review

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