Repository navigation
feat(mcp)!: harden contracts and Evidence references - #274
Merged
Merged
Conversation
morluto
marked this pull request as ready for review
July 16, 2026 11:49
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
BREAKING CHANGE: comparison tools now require session-owned Evidence IDs or approved bundle paths, and structured Evidence results use compact references.
morluto
force-pushed
the
codex/rea-2-mcp-contract-hardening
branch
from
July 16, 2026 12:17
438b020 to
2b06433
Compare
darsrc
pushed a commit
to darsrc/rea
that referenced
this pull request
Oct 10, 2026
…hardening feat(mcp)!: harden contracts and Evidence references
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.
Summary
Root cause and implementation
SDK prevalidation produced text-only failures, runtime and advertised object closure could drift, side-effect hints were distributed across contract declarations, and several comparison workflows accepted caller-owned Evidence payloads. Dependency and installed-skill drift were also not checked against canonical local identity.
REA now owns one typed validation boundary, derives wire metadata from ToolEffects, resolves Evidence IDs against the session ledger with operation and predicate checks, serializes text exactly from structured content, and exposes immutable Evidence through resource links. Managed workflows added on current main were integrated into the same reference and capability model and are hidden when no session ledger exists.
This is a breaking contract release and includes BREAKING CHANGE metadata for Release Please.
Verification
Real Hopper, Ghidra, browser, and replay verification was not run because provider operation behavior was not changed.
Closes #261
Closes #264
Closes #265
Closes #266
Refs #24
Refs #101