Repository navigation
Fix shared MCP session isolation and daemon startup races - #489
Merged
Merged
Conversation
There was a problem hiding this comment.
inspect review
Triage: 36 entities analyzed | 0 critical, 0 high, 20 medium, 16 low
Verdict: standard_review
Findings (0)
Reviewed by inspect | Entity-level triage found 0 high-risk changes
rs545837
marked this pull request as ready for review
September 21, 2026 21:50
There was a problem hiding this comment.
inspect review
Triage: 36 entities analyzed | 0 critical, 0 high, 20 medium, 16 low
Verdict: standard_review
Findings (0)
Reviewed by inspect | Entity-level triage found 0 high-risk changes
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.
Concurrent MCP clients now keep independent context history while sharing repository caches. An OS lock serializes daemon startup and stale socket recovery; shared connections cannot switch repositories. Adds a real MCP health check, bounded handshakes, graceful termination, and reproducible lifecycle tests with macOS/Linux CI. Local validation: 106 Rust tests, 12 transaction tests, and TypeScript typechecking passed. A synthetic 41-file context benchmark measured median startup plus retrieval of 37.2 ms standalone versus 16.4 ms shared across ten paired samples. This is not an end-to-end agent benchmark or evidence of token savings. Windows sharing remains unimplemented; Windows retains standalone stdio.