Repository navigation
Check live connector authority before discovery and tool dispatch - #704
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Important
Tool-list revocation still permits a not-yet-sent child call to reach the server during HTTP authentication. The inline finding includes a reproduced read and mutation case.
Reviewed changes across desktop, isolated subagent, and CLI connector authority checks.
- Live dispatch checks: Desktop calls reload the executing client's inventory as needed and reject changes to tool membership, presentation, schemas, or effect metadata.
- Inventory invalidation: Cache revisions invalidate outstanding reads and guards; isolated child clients also track tool-list notifications, and CLI guards check the current connection and inventory revision.
- Workspace discovery: Disabled connectors are filtered before child credential lookup or connection, and connector off-lists preserve exact IDs while Bot grants remain independent.
- Settings authority: iMCP Open rechecks its originating document after bundle verification and before invoking the OS-open operation.
- Coverage and documentation: Reviewed the added behavioral tests and updated connector documentation. Locally, MCP tests passed with one skip, and all 171 focused child/configuration/contract tests passed. Phase-5C passed 146/147 tests; the unchanged zero-recent-budget compaction test returned
provider_failed/compaction-failedinstead ofcompleted, including on one focused rerun. CLI build/parity and a real macOS launch were not rerun.
gpt-6.1-sol | 𝕏
Contributor
There was a problem hiding this comment.
✅ No new issues found in the incremental changes.
Reviewed changes since the previous review at 9ec70d531, focused on the HTTP send boundary and durable mutation cancellation.
- Extended send-time checks: Bound each tool's authority guard to its RPC ID and rechecked it after credential preparation and before OAuth retries, including provider-key requests.
- Fenced later listings: Revoked pending guards when a complete listing changes on the same client, while preserving guards across equivalent listings and rejecting conflicting overlapping reads.
- Separated charging from retries: Charged child operations at the first authorized send and rechecked foreground authority before subsequent attempts without charging twice.
- Preserved durable outcomes: Allowed pre-send cancellation with a local no-send receipt while retaining unknown outcomes after an attempted send or restart without such evidence.
- Validated regressions: MCP tests passed with 366 passes and one skip; focused read/dispatcher tests passed all 26 cases. Phase-5C passed 148/149, with the same unchanged zero-recent-budget compaction test failure observed in the prior review (
provider_failed/compaction-failedinstead ofcompleted). CLI build/parity and E2E were not rerun locally, and hosted CI was not yet complete.
gpt-6.1-sol | 𝕏
This was referenced Nov 3, 2026
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.

Addresses confirmed weekly findings 5.6–5.9 on 9b2875d.
The first-parent main fixtures failed all four original triggers. Local suites passed: 355 MCP tests, 147 phase-5C tests, 211 focused workspace/config/inventory/child tests (overlap between suites), CLI build and four bundled MCP parity tests, root and CLI type-checks, changed-file ESLint and git diff check. The SDK peer tests used in-memory or local transports. No production connector account or actual OS launch was used. Changes are host-local, with no Remote wire or mobile contract change.
PR #609 protects storage and the persisted stdio launch approval. It touches the same handler module but does not change the iMCP Open operation. PR #699 already verified the signed executable at launch.
CI history
On head
9ec70d531, the Linux x64 build failed under--fail-on-flaky-tests. The Snooze test attests/e2e/inbox-sidebar.spec.ts:190timed out after 15 seconds at line 236 looking for the Allow once button. The first attempt showed “This chat could not be loaded. Try again.” and Bot/Telegram storage-restore warnings. The built-in retry passed. The Linux x64 and arm64 gates also failed. No manual rerun was used. The connector fix does not establish a cause for this failure. Failing job