Show skill MCP scopes per agent in status - #523
Open
xsh310 wants to merge 1 commit into
Open
Conversation
xsh310
force-pushed
the
xshen/skill-per-agent-status
branch
from
September 8, 2026 05:43
189150f to
a1669b2
Compare
xsh310
force-pushed
the
xshen/skill-per-agent-status
branch
from
September 8, 2026 18:25
a1669b2 to
8176b6a
Compare
xsh310
force-pushed
the
xshen/skill-per-agent-status
branch
from
September 8, 2026 19:09
8176b6a to
71ad887
Compare
xsh310
marked this pull request as ready for review
September 8, 2026 21:09
xsh310
force-pushed
the
xshen/skill-per-agent-status
branch
from
September 8, 2026 22:12
71ad887 to
f228ea4
Compare
xsh310
force-pushed
the
xshen/skill-per-agent-status
branch
from
September 8, 2026 22:16
f228ea4 to
8eddff2
Compare
`ug status` rendered a single `Skill MCP Locations` line off the flat mirror, which hides divergence once agents carry different skill scopes. Read each configured client's scope with `skill_locations_for_client` and collapse to one line when every agent shares a scope, splitting into a per-agent line when they diverge, matching how the skills summary already reports scopes. Co-authored-by: Arthur Jenoudet <arthur.jenoudet@databricks.com> Co-authored-by: Isaac <no-reply@databricks.com>
xsh310
force-pushed
the
xshen/skill-per-agent-status
branch
from
September 8, 2026 23:09
8eddff2 to
4e2ca2f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
ug statusrendered a singleSkill MCP Locationsline from the flat scope mirror. Once agents carry different skill scopes (which per-agent add now makes possible), that single line hides the divergence. This makesstatusreport each agent's real scope.How
skill_locations_for_client.Skill MCP Locations+Configuredlines.Claude Code skill MCP locations: ...,Codex skill MCP locations: ...), matching how_print_skills_summaryalready reports scopes.Tests
test_cli.py: a state whose per-client scopes diverge renders one line per agent with that agent's own locations. The existing uniform-scope and no-locations status tests still pass unchanged.uv run pytest tests/test_mcp.py tests/test_cli.py tests/test_lint.pyis green.Manual verification (installed build)
Using the sandbox from the per-agent add PR (agents scoped to divergent locations: claude
shared.skills, claude.only, codexshared.skills), ranucode status. The Skills section rendered one line per agent:The new
ug skill add/ug skill remove --mcphint also appeared. The uniform-scope collapse path is covered by the existing status tests.Stacking
Second in the stacked per-agent skills series, based on
xshen/skill-per-agent-add(#522). Reviewing the diff against that base shows just this change. It rebuilds behavior originally designed by Arthur Jenoudet on the current per-client-map state model.This pull request and its description were written by Isaac.