Repository navigation
Conversation
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
…text Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
…espace Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
…text Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
…text Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
…her boundaries Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
…ry offsets Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
…text Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com> # Conflicts: # scripts/verify_clean_equality.py
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
Naoray
marked this pull request as ready for review
October 27, 2026 09:36
github-merge-queue
Bot
removed this pull request from the merge queue due to a conflict with the base branch
Oct 27, 2026
Preserve both upgrade entries while integrating the protection outcome types. Signed-off-by: Krishan Koenig <krishan.koenig@googlemail.com>
This branch has not been deployed
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 & why
Embedded MCP hosts can supply private record context to dispatch. The shared Context parser validates the original JSON. Only actual response matches persist; private identifiers use session-keyed HMAC labels. Trusted snapshot v8 preserves the key across imports. Hosts supply a Session and DispatchHost per conversation. Model metadata supplies no authority, and stock stdio has no private context channel. See UPGRADE.md for the API contract.
Cloned selections reuse one assembly profile when the session, resident registry, policy, rulepacks and locales match. Every call still admits arguments, parses context, applies fresh guess exclusions and keeps its current models, safety nets and logger. The profile also retains its miss-time resident clone until replacement or the last handle drops. The no-default runtime uses normalization from gaze-types, the validator-probe lock is synchronized, and the secret-bearing test diagnostic is removed.
HostContextPolicy defaults to 4,096 argument bytes, 32 scalars and 4,096 visited entries per view. Admission is record-independent. Admitted guesses can still be confirmed by tools, and short numeric records remain enumerable within the pair budget. Hosts must rate-limit repeated calls. Exclusion reduces private-context recall on admitted guesses; ordinary recognizers and existing session mappings still protect those values.
Local gates
Evidence head:
56c0d605112b9c499599c9a42eae23e84f6cee26. Runtime and equality source:0dc40595cea3c64b7fbaf2f527dcb7d061298059. This follow-up changes only documentation, the equality helper and its tests. No Rust source or Cargo inputs changed.7d7bde2e. Final-head CI is green.Five interleaved release runs reduced median Present p50 from 76.997 ms on the freshly rebuilt pre-cache host to 6.400 ms on the cached host. Both sides use Rust 1.96.0. All 1,200 calls validated with zero errors. Other Gaze lanes were paused; non-Gaze work remained on the shared machine. This fixed workload uses no optional neural safety net.
Full ranges, p95, RSS, historical comparisons and before/after uptime, memory and disk provenance are in
docs/reference/mcp-host-context-verification.mdandmcp-host-latency-rss.json. Mutation evidence is inmcp-host-context-mutations.md.Benchmark evidence
The independent release comparison of main
2fc435adfcec118ccb3fd2f38a1a80de625d570cand runtime source0dc40595cea3c64b7fbaf2f527dcb7d061298059passed 2,144 cases across both policy modes with zero differences and zero non-success exits. Each side reported 767 detections. Policy hashes match; binary, driver and input hashes were verified. Both one-byte output mutants were detected. The report isdocs/reference/mcp-host-clean-equality.json.No detection-corpus benchmark or scorecard certification ran in this follow-up. Default-clean equality does not certify private-context detection across the benchmark layers.
Fixtures & PII hygiene
DCO and commit discipline