Show skill MCP scopes per agent in status - #523
Draft
xsh310 wants to merge 1 commit into
Draft
Conversation
`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 05:43
189150f to
a1669b2
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.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.