Skip to content

docs: correct MCP fixture expectations#262

Merged
rng1995 merged 1 commit into
NVIDIA:mainfrom
koriyoshi2041:fix-b31-mcp-doc-fixture
Jul 10, 2026
Merged

docs: correct MCP fixture expectations#262
rng1995 merged 1 commit into
NVIDIA:mainfrom
koriyoshi2041:fix-b31-mcp-doc-fixture

Conversation

@koriyoshi2041

Copy link
Copy Markdown
Contributor

Problem

The B.3.1 MCP least-privilege docs list mcp_underdeclared_skill/ as expecting both LP1 and LP3, but the rule interaction table, implementation, and regression test all treat a missing permissions declaration as LP3 only.

Fix

Update the fixture expectations table so mcp_underdeclared_skill/ expects LP3 and describes the case as missing permissions plus detected capabilities.

Test

  • git diff --check
  • ./.venv/bin/pytest tests/test_mcp_least_privilege.py::TestLP1UnderdeclaredCapability::test_underdeclared_detected -q

Risk

Low. This is a docs-only correction and does not change analyzer behavior.

Signed-off-by: kigland <shuaizhicheng336@gmail.com>

@rng1995 rng1995 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Automated SkillSpector Review]

Approved. The fixture table now matches the implementation and existing regression expectation: missing permissions is LP3 only, not LP1 plus LP3. This is documentation-only and does not change runtime behavior or output contracts.

@rng1995 rng1995 merged commit a68496d into NVIDIA:main Jul 10, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants