test_the_public_tool_names_are_frozen

Tests › tests/test_mcp_server.py

passed Passed in the packaged run.

What this test is for

Why it exists

README declares MCP tool names COVERED by semantic versioning. Until this test existed that promise could not be kept: every other assertion in this file compares `TIER1_TOOLS` against ITSELF, so renaming a tool — a breaking change for every agent configuration in existence — passed the whole suite silently.

Verifies REQ-DDB-MCP-001 REQ-DDB-MCP-003 REQ-DDB-QUERY-006 REQ-DDB-QUERY-008 REQ-DDB-QUERY-009

Given

  1. —
→

When

  1. —
→

Then

  1. ✓ set(TIER1_TOOLS) equals set(FROZEN_TIER1_NAMES)

tests/test_mcp_server.py:2929 · its file's page

What it checks (1)

  1. assert set(TIER1_TOOLS) == set(FROZEN_TIER1_NAMES), ( "the MCP tool-name surface changed. README declares these names covered by " "semver, so adding one is a MINOR bump and renaming or removing one is a " "MAJOR bump — update this frozen set in the same commit, on purpose." ) not attributed

What it reaches

Each row runs from this test, through the calls it makes, to the code a requirement names. If that code breaks, the test's checks are what should catch it. Reaching is not proving: a check only proves what it observes. No mutation records were given, so these rows say what the test REACHES.

Requirements it verifies (5)

requirementlinked byimplementers exercised
REQ-DDB-MCP-001catalogunknown
REQ-DDB-MCP-003catalogunknown
REQ-DDB-QUERY-006catalogunknown
REQ-DDB-QUERY-008catalogunknown
REQ-DDB-QUERY-009catalogunknown