fix(spatial): classify IAI-MCP paths by exact component#69
Merged
CodeAbra merged 3 commits intoJul 13, 2026
Conversation
Warm the dispatch surface once, keep a timed-out background warmup alive explicitly, and release async-write and lifecycle resources safely when startup cancellation escapes the inner run loop. Designed by Marsu — Refined by Codex. Co-Authored-By: Codex <codex@openai.com>
Remove workstation-only and process-history assumptions, keep version checks source-aware, use the standard library for plist parsing, and preserve correctness signals without unstable global monkeypatches or hard timing gates. Designed by Marsu — Refined by Codex. Co-Authored-By: Codex <codex@openai.com>
Recognize exact iai_mcp and iai-mcp path components while preserving Desktop precedence and rejecting substring lookalikes. Designed by Marsu — Refined by Codex. Co-Authored-By: Codex <codex@openai.com>
37cf0c6 to
aecf53c
Compare
This was referenced Jul 13, 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.
Draft / stacked PR
Do not merge before #67 and #68. This branch is stacked on those fixes, so the GitHub diff includes dependency commits until they land. It will then be rebased onto
mainto leave only the spatial-classification change.Problem
Paths inside an
IAI-MCPcheckout were not assigned to the correspondingspatial wing, while a substring match would misclassify unrelated directory
names.
Solution
Match
iai_mcpandiai-mcpcase-insensitively as exact path components,after the more specific Desktop classification.
Guarantees and scope
Desktop precedence is preserved and substring lookalikes remain unmatched.
Validation
Focused spatial tests cover exact components, case variants, Desktop
precedence, and substring false positives.
Designed by Marsu — Refined by Codex.
Public CI result
The cumulative macOS correctness gate is fully green: 5,126 passed, 113 skipped, 107 deselected, and 4 xfailed in 1:16:40. The universal2 wheel and secret scan also pass.
This confirms that the three spatial failures remaining on the preceding #68 tip are resolved here, while the synchronized daemon and GIL checks remain green.