gh#154 a REQUEST-level grammar_key miss still fails open

Tests › tests/unit/inference/tier_grammar_gate_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/inference/tier_grammar_gate_test.cpp:223 · its file's page

What it checks (2)

  1. REQUIRE_FALSE(orch.initialize( make_tier_grammar_config(fake.path, /*grammar_stem=*/""))) observes initialize
  2. CHECK(result.error_code != ENTROPIC_ERROR_GRAMMAR_NOT_FOUND) observes generate via result

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#154 a REQUEST-level grammar_key miss still fails open→initialize→make_tier_grammar_config→WHEN→generate→one_turn

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#154 a REQUEST-level grammar_key miss still fails open · 2 checksgenerate… 8 calls …entropic_versionREQ-ABI-001 · inferredgenerate… 10 calls …entropic_session_bind_workspaceREQ-ABI-002 · inferredgenerate… 10 calls …entropic_last_errorREQ-API-003 · inferredgenerate… 10 calls …entropic_session_bind_workspaceREQ-API-005 · inferredgenerate… 10 calls …entropic_last_errorREQ-API-007 · inferredgenerate… 8 calls …entropic_versionREQ-API-008 · inferredWHENfailure_detailREQ-API-012 · inferredgenerate… 6 calls …dispatchREQ-BRIDGE-001 · inferredinitializeactivate_routerensure_loadedload_and_activateREQ-INFER-002 · inferredgenerate… 4 calls …generate_mtpREQ-INFER-005 · inferredgenerate… 7 calls …to_common_samplingREQ-INFER-006 · inferredgeneraterefuse_unresolved_tier_grammarREQ-INFER-007 · inferred

and 19 more requirement paths, listed below.

Also reaches 55 requirements

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