gh#168: a PRE_TOOL_CALL hook’s modified args reach the tool

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:1826 · its file's page

What it checks (1)

  1. CHECK(run_with_pre_mod(spec) == "staged") observes run_with_pre_mod

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#168: a PRE_TOOL_CALL hook's modified args reach the tool→WHEN→run_with_pre_mod

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#168: a PRE_TOOL_CALL hook's modified args reach the tool · 1 checksrun_with_pre_mod… 4 calls …entropic_versionREQ-ABI-001 · inferredrun_with_pre_mod… 6 calls …entropic_session_bind_workspaceREQ-ABI-002 · inferredrun_with_pre_mod… 6 calls …entropic_last_errorREQ-API-003 · inferredrun_with_pre_mod… 6 calls …entropic_session_bind_workspaceREQ-API-005 · inferredrun_with_pre_mod… 6 calls …entropic_last_errorREQ-API-007 · inferredrun_with_pre_mod… 4 calls …entropic_versionREQ-API-008 · inferredrun_with_pre_mod… 7 calls …claim_exclusiveREQ-API-009 · inferredrun_with_pre_mod… 8 calls …entropic_set_state_observerREQ-API-010 · inferredWHENfailure_detailREQ-API-012 · inferredrun_with_pre_modprocess_tool_callscalldispatchREQ-BRIDGE-001 · inferredrun_with_pre_mod… 9 calls …resolve_data_dirREQ-CFG-008 · inferredrun_with_pre_mod… 5 calls …extract_context_refsREQ-DELEG-006 · inferred

and 40 more requirement paths, listed below.

Also reaches 53 requirements

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