gh#160: only an explicit readOnlyHint counts as read-only

Tests › tests/unit/mcp/server_manager_test.cpp

absent Not in the packaged run: no test report names it.

What this test is for

Why it exists

The test says nothing about why.

tests/unit/mcp/server_manager_test.cpp:330 · its file's page

What it checks (5)

  1. REQUIRE(all.size() == 2) observes tools_without_readonly_hint via all
  2. CHECK(all[0] == "clew.refresh") observes tools_without_readonly_hint via all
  3. CHECK(all[1] == "clew.index") observes tools_without_readonly_hint via all
  4. CHECK(scoped.empty()) observes tools_without_readonly_hint via scoped
  5. CHECK(ServerManager::tools_without_readonly_hint("not json", {}).empty()) observes tools_without_readonly_hint

Where the product reaches it

No product flow reaches this code: no product entry point's flow calls any of the functions this test calls.

Call flow

gh#160: only an explicit readOnlyHint counts as read-only→tools_without_readonly_hint→REQUIRE

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.

gh#160: only an explicit readOnlyHint counts as read-only · 5 checkstools_without_readonly_hintREQ-DELEG-005 · inferredtools_without_readonly_hintREQ-MCP-007 · inferred
Also reaches 2 requirements

Its run touches their code; that is reach, not proof.