Wire contract evolution through mdbase Connect - #163
Merged
Conversation
This was referenced Aug 2, 2026
callumalpass
marked this pull request as ready for review
August 3, 2026 09:17
# Conflicts: # .github/workflows/server-ci.yml # Cargo.lock # Cargo.toml # apps/desktop/package.json # apps/portal/package.json # crates/connect-protocol/src/tests.rs # deploy/docker/Cargo.lock.hosted-provider # docs/releasing.md # package.json # packages/client/package.json # packages/devkit/package.json # packages/management/package.json # packages/pickle/package.json # packages/protocol/package.json # packages/protocol/test/schema.test.mjs # packages/sync/package.json # packages/ui/package.json # packages/webhooks/package.json # services/mcp/package.json # services/mcp/src/mcp.ts # services/server/package.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
mdbase.lock.yamlportable authority data across hosted snapshots and Rust/TypeScript mirrors while keeping scoped application projections private.Why
When a contract changed, Connect could authorize an application against the new declaration while an existing collection silently retained older resources. The application then failed later with little explanation. The control plane, providers, mirrors, and clients also lacked one exact portable provenance record.
This moves compatibility into the SDK/backend boundary: callers can inspect a deterministic migration outcome before writing, and application is exact, transactional, interruption-safe, and conflict-preserving.
Impact
This is intentionally breaking prerelease work. The obsolete install operation and partial contract references are removed. Consumers must use beta.25 assess/apply APIs and exact digests.
Depends on:
Validation
runtime.application-executioninteroperability scenario0024, plus a focused PostgreSQL 18 fixture proving that known Connect contracts receive exact digests while unknown application contracts and criterion order are preserved