/api/v1/profiles (MCP-3241)Verified against a live core (127.0.0.1:18243) with two configured profiles
(dev→[github, ast-grep], solo→[github]). Screenshots captured by
switcher.spec.ts in execution order.
Expected: Header shows “Profile: All servers”; zero-config default, no filter.
Observed: Label reads “All servers”; menu closed.
Expected: Dropdown lists each configured profile with server membership + tool count; All-servers marked active.
Observed: “All servers” (active badge), “dev — 2 servers · 0 tools”, “solo — 1 server · 0 tools”.
Expected: PUT /api/v1/profiles/active persists; header label switches to the chosen profile.
Observed: Header label now reads “dev”.
Expected: Re-opening the menu shows the active badge + check on “dev”, not “All servers”.
Observed: “dev” carries the active badge/check.
Expected: Selecting “All servers” PUTs an empty slug; header returns to the zero-config default.
Observed: Header label back to “All servers”.