gh#99: run_as emits each tier’s grammar on a shared model

Tests › tests/model/test_gh99_run_as.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/model/test_gh99_run_as.cpp:74 · its file's page

What it checks (6)

  1. REQUIRE(h != nullptr) observes setup via h
  2. CHECK(has_verb(npc1.answer)) observes has_verb
  3. CHECK(npc1.answer.find("ANSWER") == std::string::npos) observes run_as via npc1
  4. CHECK(comp1.answer.find("ANSWER") != std::string::npos) observes run_as via comp1
  5. CHECK(has_verb(npc2.answer)) observes has_verb
  6. CHECK(rc == ENTROPIC_ERROR_IDENTITY_NOT_FOUND) observes entropic_run_as via rc

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#99: run_as emits each tier's grammar on a shared model→model_gguf→setup→REQUIRE→WHEN→run_as→has_verb→entropic_run_as→entropic_run_as→entropic_free→entropic_free

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#99: run_as emits each tier's grammar on a shared model · 6 checksentropic_freeREQ-ABI-001 · inferredsetupentropic_grammar_register_fileREQ-ABI-002 · inferredsetupentropic_createREQ-API-002 · inferredsetupentropic_createREQ-API-003 · inferredsetupentropic_configure_dirREQ-API-004 · inferredentropic_run_asREQ-API-005 · inferredentropic_run_asREQ-API-008 · inferredentropic_run_asREQ-API-009 · inferredentropic_run_asREQ-API-010 · inferredWHENfailure_detailREQ-API-012 · inferredsetup… 3 calls …init_orchestratorREQ-API-013 · inferredsetup… 3 calls …start_http_listenerREQ-BRIDGE-001 · inferred

and 65 more requirement paths, listed below.

Also reaches 79 requirements

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