mcpproxy-go icon indicating copy to clipboard operation
mcpproxy-go copied to clipboard

Follow-ups from Spec 108-k macOS profiles review (#1442)

Open Dumbris opened this issue 2 months ago • 2 comments

Low-severity findings left after the review and live GUI QA of #1442 (Spec 108-k macOS).

  • [x] native/macos/MCPProxy/MCPProxy/MCPProxyApp.swift stopCore() resets servers, counts and apiClient, but it leaves appState.clients and appState.profiles set. While the core is stopped, the tray Clients submenu therefore keeps showing stale rows and bindings. Menu actions still fail closed with notReady.
  • [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_auth off 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/try with the query "issue" returns no hits against tools named create_issue. This comes from BM25 tokenisation on the backend and predates this PR.

Dumbris avatar Oct 01 '26 06:10 Dumbris

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.

Dumbris avatar Oct 16 '26 13:10 Dumbris

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.

Dumbris avatar Nov 24 '26 17:11 Dumbris