gh#190: a structured JSON error counts as a failure everywhere

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

What it checks (3)

  1. CHECK(last.find("[repeated-failure]") != std::string::npos) observes process_tool_calls via last
  2. REQUIRE_FALSE(recs.empty()) observes tool_history via recs
  3. CHECK(recs.front().status == "error") observes tool_history via recs

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#190: a structured JSON error counts as a failure everywhere→register_server→initialize→WHEN→process_tool_calls→tool_history→JsonErrorServer→call

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#190: a structured JSON error counts as a failure everywhere · 3 checkscalldispatchinitialize_resultentropic_versionREQ-ABI-001 · inferredcall… 4 calls …entropic_session_bind_workspaceREQ-ABI-002 · inferredcall… 4 calls …entropic_last_errorREQ-API-003 · inferredcall… 4 calls …entropic_session_bind_workspaceREQ-API-005 · inferredcall… 4 calls …entropic_last_errorREQ-API-007 · inferredcalldispatchinitialize_resultentropic_versionREQ-API-008 · inferredcall… 5 calls …claim_exclusiveREQ-API-009 · inferredcall… 6 calls …entropic_set_state_observerREQ-API-010 · inferredWHENfailure_detailREQ-API-012 · inferredcalldispatchREQ-BRIDGE-001 · inferredcall… 7 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.