Repository navigation
Closed
Labels
kind/bugSomething isn't workingpriority/lowNice to have; address when bandwidth allowstriage/acceptedTriaged and accepted for the backlog
Description
Low-severity findings from the post-merge codex gpt-6.1-sol review of large merged PRs (#1427, #1430, #1436, #1441, #1442). Mediums are being fixed in dedicated PRs.
- feat(connect): per-client credentials, bindings service and connect guard (Spec 108-c2) #1430
internal/runtime/clients_service_connect.go:120-161: A reconnect's profile/mode change is held only in memory (IssuedCredential.Pending) and applied in Commit after finalize; if Commit's setBindingLocked fails or the daemon crashes after the config write, reconcile finalizes the new secret while the credential keeps its OLD (possibly wider) binding with no warning. Plan D12 specified applying the binding change first. - feat(connect): per-client credentials, bindings service and connect guard (Spec 108-c2) #1430
cmd/mcpproxy/connect_credential.go:193-208: The offline CLI connect backend never reconciles a staged rotation (no ClientConfigReader, no ReconcileClient before Issue), so a new offline reconnect can discard a pending secret that the client config already holds. - feat(profiles): scope attribution and profile/client/token filters (Spec 108-e) #1436
cmd/mcpproxy/activity_cmd.go:1945-1947 (activityWatchScopeMatches), runActivityWatch ~1582-1678: 'activity watch' never validates the scope flags before streaming. resolveActivityScope returns an error for --token and --agent naming different tokens, and activityWatchScopeMatches turns that error into false for every event. The command connects and runs forever printing nothing, instead of rejecting the invocation as list, summary and export do. - feat(macos): profiles, client bindings, token profile, scoped views and explainer (Spec 108-k) #1442
native/macos/MCPProxy/MCPProxy/Views/ClientsView.swift:131: A .clientDetail route (move_client fix from the explainer or a warning) is consumed before the clients list has loaded, or while a filter excludes the target, so the target row is never expanded. Only the focus ring is set. - feat(macos): profiles, client bindings, token profile, scoped views and explainer (Spec 108-k) #1442
native/macos/MCPProxy/MCPProxy/Views/AccessExplainerModel.swift:142: Explainer fix routes use the currently edited tool field rather than the tool that produced the shown explanation. Editing the field does not invalidate the old verdict. - feat(macos): profiles, client bindings, token profile, scoped views and explainer (Spec 108-k) #1442
native/macos/MCPProxy/MCPProxy/Views/ClientSheets.swift:309: The Other client sheet's Cancel stays enabled while creation is in flight. If it is dismissed during the POST, the client is registered but the one-time credential lands in a discarded model and the user never sees it. - feat(macos): profiles, client bindings, token profile, scoped views and explainer (Spec 108-k) #1442
native/macos/MCPProxyTests/ClientBindingModelTests.swift:346: testTheCredentialNeverLandsInAppState cannot fail. It builds an AppState that is never connected to the CustomClientModel or the sheet, then asserts the credential is absent from that untouched object. This is the only test guarding the PR's hard 'secrets never persisted to app state' rule. - feat(cli): profile, client binding and access explain commands (Spec 108-g) #1441
cmd/mcpproxy/daemon_rest.go:417: The interactive confirmation prompt (Rewrite ... [y/N]:) is written to stdout even with -o json|yaml, so on a TTY without --yes the stdout is no longer the pure REST data object promised by the contract. This applies to client rotate (supported client) and upgrade-admin-key-holders. - feat(cli): profile, client binding and access explain commands (Spec 108-g) #1441
cmd/mcpproxy/token_cmd.go:625-630: parseAPIError returns a plain error for REST refusals that carry nofield, so main.go's text heuristic can map them to exit 4 (config error) instead of the contract's exit 1 for every REST refusal. The 108-g typed-error fix covers only thefieldbranch. - feat: grouped sidebar, compact header, command palette and Add menu (Spec 109-i) #1427
frontend/src/stores/clients.ts:74: refreshPresence() keeps the previously loaded detail 'state' (and connected/installed) for any client whose detail was loaded, so the 30s sidebar poll cannot upgrade it, while last_seen and active_sessions from the same poll do update, and the Clients row shows contradictory data. - feat: grouped sidebar, compact header, command palette and Add menu (Spec 109-i) #1427
frontend/src/components/CommandPalette.vue:256: When the query changes from one non-empty value to another, the previous query's tool rows stay rendered and clickable through the 150 ms debounce and the request, because toolRows is cleared only for empty input or tenants. - feat: grouped sidebar, compact header, command palette and Add menu (Spec 109-i) #1427
e2e/web-ui-sweep/navigation-consistency.spec.ts:442: The test 'Activity sessions rows open their calls (SC-009)' never clicks the row or checks the destination or REST filter. It only skips when no row exists, so it passes for any rendered session row, including one whose link does nothing or drops the session filter.
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't workingpriority/lowNice to have; address when bandwidth allowstriage/acceptedTriaged and accepted for the backlog
Activity
Dumbris commentedon Oct 1, 2026
Additional follow-up from #1454: the backend now returns
stale_classification_reasonson profile effective-tools. The Web profile editor and the macOS ProfileEditor should read it, which needscmd/generate-typesplus the frontend and Swift model changes. 108-l's parity work should cover this.Dumbris commentedon Oct 1, 2026
Remaining lows from the macOS retro-fix PR #1452:
native/macos/MCPProxy/MCPProxy/Views/AnonymousProfileSection.swift:163:commitSavedrecords the current picker selection, not the value that was PATCHed. A change made while the save is in flight can therefore leave the store with a value the daemon never saved. Capture the value before theawait, or disable the picker while saving.native/macos/MCPProxy/MCPProxy/Views/ClientSheets.swift:~542: the Forget sheet can show a stale guard refusal from an earlier row action when it first opens. CallclearError()on appear.Dumbris commentedon Oct 1, 2026
Remaining low from #1454:
internal/runtime/clients_service_connect.go:272(Abort), together with the 2-minute claim TTL at :61-63:Abortreleases the claim and rolls back by client id without checking that the claim and the pending secret still belong to it. A connect whose claim has expired can abort a newer connect's pending secret. Fix: compare the claim token and pending hash before rolling back.Dumbris commentedon Oct 1, 2026
Remaining low from #1455:
internal/runtime/supervisor/supervisor_test.go:1079: the "action in flight" assertion is already satisfied while the startup flag is still false, so theactionsInFlightcounter is never tested on its own. Fix: wait for the startup flag to flip while AddServer is still blocked, then assert the supervisor is not quiescent.fix(clients): harden connect credential commit/abort ordering and off…
fix(cli): CLI contract follow-ups (exit codes, stdout purity, scope v…
fix(web): command palette, scoped Servers view and profile editor sta…
fix(macos): clients/profiles sheets and pickers (in-flight dismiss, s…
fix(web): Spec 109 UI lows (Activity blocked offer, Home flash, healt…
feat(web,macos): surface stale_classification_reasons in profile edit…
test(server,supervisor): close profile v3 test gaps and deflake attri…
test(macos): make Swift guard tests able to fail (ToolTier golden, SC…
fix(web): clients presence, upgrade done step, explainer scope and im…
fix(macos): clientDetail route filter, connect binding fallback and l…
Dumbris commentedon Oct 6, 2026
All 17 follow-ups are fixed on main: #1494, #1496, #1500, #1503, #1506, #1507, #1509, #1511, #1512, #1515, #1516, #1520.
fix(clients): revoke the client credential on disconnect (#1518)