Skip to content

Follow-ups from Spec 108-c2 client credentials review (#1430) #1435

Closed

Description

@Dumbris

Low-severity findings left open after the review and live QA of #1430 (Spec 108-c2).

  • internal/runtime/clients_service.go setBindingLocked checks that the requested profile exists before it checks whether the client has an active credential. A binding request for a client with no active credential that also names an unknown profile therefore returns 400 unknown profile. The contract says it should return 409 no_client_credential. Fix: do the credential-state check first.
  • internal/server/profile_resolver.go:338-341 resolveEffectiveProfileForJustSetSlug treats ac.ProfilePin as authoritative without checking ProfileMode. Example: a switchable client bound to ro calls set_profile("full") and gets back servers:["github"], which is ro's list, although full's tools are reachable. The reported list understates reach (it errs toward closed), and enforcement is not affected. The T029 rows do not assert servers.
  • CLI: refusal Error: lines print twice for connect errors. connect <existing entry> without --force prints "Failed" but exits 0. These predate this PR.
  • PATCH /config answers "No configuration changes detected" even though the change is persisted. This predates this PR.
  • disconnect leaves the client credential active; only undo or the 108-f forget route revoke it. Decide whether disconnect should revoke it, and document the choice.

Activity

  1. added
    kind/bug
    priority/low
    triage/accepted
    on Sep 30, 2026
  2. added a commit that references this issue on Oct 18, 2026
    c5593ca
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugpriority/lowtriage/accepted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions