run_streaming overloads route through agent loop

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

What it checks (5)

  1. REQUIRE(engine.run_streaming(std::string("hi"), cb, &chunks, nullptr) == 0) observes run_streaming
  2. REQUIRE(chunks.find("abcd") != std::string::npos) not attributed
  3. REQUIRE(engine.run_streaming(std::string("x"), [](const char*, size_t, void*) {}, nullptr, &cancel) == 1) observes run_streaming
  4. REQUIRE(engine.run_streaming(std::move(turn), cb, &chunks, nullptr) == 0) observes run_streaming
  5. REQUIRE_FALSE(chunks.empty()) 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

run_streaming overloads route through agent loop→make_mock_interface→REQUIRE→run_streaming

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.

run_streaming overloads route through agent loop · 5 checksrun_streamingREQ-LOOP-001 · inferredrun_streamingREQ-LOOP-008 · inferred
Also reaches 2 requirements

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