Tool emits directives → ToolExecutor extracts + dispatches them

Tests › tests/unit/mcp/tool_executor_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/tool_executor_test.cpp:1342 · its file's page

What it checks (5)

  1. REQUIRE(complete_fired >= 1) not attributed
  2. REQUIRE(state.first == 3) not attributed
  3. REQUIRE(std::find(state.second.begin(), state.second.end(), static_cast<int>(ENTROPIC_DIRECTIVE_COMPLETE)) != state.second.end()) not attributed
  4. REQUIRE(std::find(state.second.begin(), state.second.end(), static_cast<int>(ENTROPIC_DIRECTIVE_PIPELINE)) != state.second.end()) not attributed
  5. REQUIRE(std::find(state.second.begin(), state.second.end(), static_cast<int>(ENTROPIC_DIRECTIVE_STOP_PROCESSING)) != state.second.end()) not attributed

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

Tool emits directives → ToolExecutor extracts + dispatches them→register_server→initialize→make_call→WHEN→process_tool_calls→REQUIRE→DirectiveEmittingServer

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.

Tool emits directives → ToolExecutor extracts + dispatches them · 5 checksprocess_tool_calls… 3 calls …entropic_versionREQ-ABI-001 · inferredprocess_tool_calls… 5 calls …entropic_session_bind_workspaceREQ-ABI-002 · inferredprocess_tool_calls… 5 calls …entropic_last_errorREQ-API-003 · inferredprocess_tool_calls… 5 calls …entropic_session_bind_workspaceREQ-API-005 · inferredprocess_tool_calls… 5 calls …entropic_last_errorREQ-API-007 · inferredprocess_tool_calls… 3 calls …entropic_versionREQ-API-008 · inferredprocess_tool_calls… 6 calls …claim_exclusiveREQ-API-009 · inferredprocess_tool_calls… 7 calls …entropic_set_state_observerREQ-API-010 · inferredWHENfailure_detailREQ-API-012 · inferredprocess_tool_callscalldispatchREQ-BRIDGE-001 · inferredprocess_tool_calls… 8 calls …resolve_data_dirREQ-CFG-008 · inferredprocess_tool_calls… 4 calls …extract_context_refsREQ-DELEG-006 · inferred

and 41 more requirement paths, listed below.

Also reaches 53 requirements

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