mcpproxy-go
mcpproxy-go copied to clipboard
Follow-ups from Spec 108-k macOS profiles review (#1442)
Low-severity findings left after the review and live GUI QA of #1442 (Spec 108-k macOS).
- [x]
native/macos/MCPProxy/MCPProxy/MCPProxyApp.swiftstopCore()resets servers, counts andapiClient, but it leavesappState.clientsandappState.profilesset. While the core is stopped, the tray Clients submenu therefore keeps showing stale rows and bindings. Menu actions still fail closed withnotReady. - [x] In-window pickers don't tell apart profiles that share a title, for example two profiles both titled "Work Read-only". This affects the Upgrade sheet, the client binding picker, the Connect sheet, the token picker, the Settings anonymous picker, the Servers filter and the Explain fix button. Only the tray submenu appends the slug.
- [x] The Connect sheet doesn't refresh its profile list while it is open.
- [x] The Home sessions list needed a re-navigate to show a new session.
- [x] Turning
require_mcp_authoff while a binding is live shows the 409 as plain red text in the general settings footer instead of the guard view. - [ ] During automated QA, clicking the Cursor row in the Connect sheet did not select it (this may be an automation artifact; the earlier full QA step 6 passed). Recheck by hand.
- [x]
POST /profiles/trywith the query "issue" returns no hits against tools namedcreate_issue. This comes from BM25 tokenisation on the backend and predates this PR.
Checked the #1449 checklist against main (f4b3c9298). Five items are already fixed there by #1507, #1511 and #1520, and no new PR is needed:
- stopCore() clears profiles and clients.
- In-window pickers disambiguate duplicate titles through the shared ProfileView.pickerTitle(in:).
- The Connect sheet refreshes its profile list while open.
- The Home sessions list refreshes on activity events.
- The require_mcp_auth 409 renders GuardRefusalView. Still open: the manual recheck of the Cursor row click in the Connect sheet, and the backend BM25 tokenisation of POST /profiles/try ("issue" vs create_issue). Explain-fix button labels come from the core's fix.label, so slug disambiguation there would need a backend change.
Rechecked on main (af68aab32): the BM25 item is also fixed — #1535 added underscore-segment matching, covered by TestBleveIndex_SearchBareSegment ("issue" matches create_issue), and /profiles/try uses the same index. Ticked six of seven. Only the Cursor-row click remains: it is a native List(selection:) in ConnectClientView, no code defect found, needs a manual recheck.