Repository navigation
MCP-05: query-aware ECAN-style working-set attention over MCP-04 - #22
Merged
patrickdugan merged 31 commits intoNov 22, 2026
Conversation
Contributor
Author
|
MCP-05 CPU review checkpoint (head
The larger MCP retrieval gym workflow is a separate gate. Leave this PR draft until the pinned native replay and tool access are reviewed. |
MCP-05T: audited historical read-repetition and stale-edit baseline
patrickdugan
marked this pull request as ready for review
November 22, 2026 02:53
patrickdugan
merged commit Nov 22, 2026
ebd7360
into
research/mcp04-stateful-preflight-20261121
2 checks passed
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.
Scope
Builds on MCP-04's typed packet and exact provider-token preflight. Adds a deterministic, ECAN-inspired read-memory policy with:
The existing content-addressed result-handle store and verifier-only authority remain unchanged. The implementation is a CPU policy prototype, not native Hyperon PathMap or learned ECAN.
Verification
Run:
python -m pytest -q MCP/test_mcp05_attention.py MCP/test_mcp04.py MCP/test_hubrun.pyProtocol: MCP05_PROTOCOL.md. Compare raw vs MCP-04 vs MCP-05 with paired seeds, exact upstream token usage, repeated reads, stale edit-site outcomes, solutions and full failed-task cost.
Dependent on: #18 (MCP-04), which in turn is based on #14 (MCP-01).
No changes to native research membranes, test split, or environment verifier.