Skip to content

Add schema-driven plugin RPC contracts - #705

Closed
SawyerHood wants to merge 1 commit into
bb/plugin-1-0-contracts-integration-basefrom
bb/plugin-1-0-schema-driven-rpc-thr_ds42p2ici3
Closed

SawyerHood wants to merge 1 commit into
bb/plugin-1-0-contracts-integration-basefrom
bb/plugin-1-0-schema-driven-rpc-thr_ds42p2ici3

Conversation

@SawyerHood

@SawyerHood SawyerHood commented Jul 15, 2026 •

Copy link
Copy Markdown
Collaborator

Stacked on the exact plugin contracts integration base so this PR contains exactly one schema-driven RPC feature commit.

Exact stack

Summary

  • add validator-neutral Standard Schema RPC contracts with inferred backend handlers and frontend clients
  • validate inputs, outputs, and strict JSON wire serialization with stable structured failures
  • replace all generic Docs and GitHub RPC contracts with method-specific Zod schemas that validate actual handler inputs and results
  • preserve production, fake-host, frontend-test, HTTP-route, declaration, and runtime parity
  • retain the migrated Connect, Automations, Custom Instructions, Inline Vis, Docs, GitHub, and Memory surfaces
  • keep StandardSchemaV1 type-only and defineRpcContract as the runtime and declaration value

Validation

  • forced Turbo typechecks: 11/11 affected packages
  • plugin SDK, templates, and migrated plugin tests: 201 tests
  • full server suite: 1,114/1,114 tests
  • full app suite: 1,576/1,576 tests
  • external app scaffold with app:true, skipLibCheck:false, and canonical starter dependency links
  • canonical SDK declaration and template regeneration checks
  • exact frontend runtime/declaration parity
  • stale generic-contract, old registration, version, and diff audits
  • no 1.0 version bump

This PR must remain unmerged pending maintainer action.

@SawyerHood

Copy link
Copy Markdown
Collaborator Author

Closing this obsolete stack instance while PRs #693 and #694 are refreshed onto pinned main. The validated schema-RPC feature commit is preserved and will be replayed onto the rebuilt exact integration base before a new ready PR is opened.

@SawyerHood SawyerHood closed this Jul 15, 2026
@SawyerHood SawyerHood reopened this Jul 15, 2026
@SawyerHood
SawyerHood force-pushed the bb/plugin-1-0-schema-driven-rpc-thr_ds42p2ici3 branch 2 times, most recently from 5aaee15 to 9e4e6c4 Compare July 15, 2026 03:26
@SawyerHood
SawyerHood force-pushed the bb/plugin-1-0-contracts-integration-base branch from 726ab96 to 71b5df4 Compare July 15, 2026 03:31
@SawyerHood
SawyerHood force-pushed the bb/plugin-1-0-schema-driven-rpc-thr_ds42p2ici3 branch from 9e4e6c4 to 7cf1593 Compare July 15, 2026 03:31
@SawyerHood

Copy link
Copy Markdown
Collaborator Author

Superseded by authoritative PR #707 per publication coordination. No branch or history changes were made during this consolidation.

@SawyerHood SawyerHood closed this Jul 15, 2026
@SawyerHood SawyerHood reopened this Jul 15, 2026
@SawyerHood

Copy link
Copy Markdown
Collaborator Author

Closed again as a superseded duplicate. Authoritative publication is #707 per final coordination; no branch or history changes made.

@SawyerHood SawyerHood closed this Jul 15, 2026
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