dir_complete: hook rejection + coverage_gap metadata

Tests › tests/unit/core/engine_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/core/engine_test.cpp:1802 · its file's page

What it checks (9)

  1. REQUIRE(ctx.state == AgentState::EXECUTING) not attributed
  2. REQUIRE(found) not attributed
  3. REQUIRE(feedback.find("\xC3\x28") == std::string::npos) not attributed
  4. REQUIRE_NOTHROW(arr.dump()) not attributed
  5. REQUIRE(ctx.metadata["coverage_gap"] == "true") not attributed
  6. REQUIRE(ctx.metadata["gap_description"] == "missing X") not attributed
  7. REQUIRE(ctx.metadata["suggested_files_json"].find("a.cpp") != std::string::npos) not attributed
  8. REQUIRE(ctx.metadata["explicit_completion_summary"] == "partial") not attributed
  9. REQUIRE(ctx.state == AgentState::COMPLETE) 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

dir_complete: hook rejection + coverage_gap metadata→make_mock_interface→set_hooks→make_hooks→make_messages→directive_processor→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.

dir_complete: hook rejection + coverage_gap metadata · 9 checksset_hooksREQ-HOOK-002 · inferred
Also reaches 1 requirement

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