Orchestrator empty-tiers + handoff + observer + accessor coverage

Tests › tests/unit/inference/orchestrator_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/orchestrator_test.cpp:642 · its file's page

What it checks (11)

  1. REQUIRE(orch.initialize(cfg)) observes initialize
  2. REQUIRE(orch.last_used_tier().empty()) observes last_used_tier
  3. REQUIRE(orch.loaded_models().empty()) observes loaded_models
  4. REQUIRE_FALSE(orch.check_speculative_compat().compatible) observes check_speculative_compat
  5. REQUIRE(orch.last_residency_error() == ENTROPIC_OK) observes last_residency_error
  6. REQUIRE(events == 0) not attributed
  7. REQUIRE(orch.can_handoff("lead", "eng")) observes can_handoff
  8. REQUIRE_FALSE(orch.can_handoff("lead", "no-such")) observes can_handoff
  9. REQUIRE_FALSE(orch.can_handoff("no-source", "lead")) observes can_handoff
  10. REQUIRE(j["residency"].is_array()) observes residency_snapshot_json via j
  11. REQUIRE(j["residency"].empty()) observes residency_snapshot_json via j

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

Orchestrator empty-tiers + handoff + observer + accessor coverage→REQUIRE→initialize→last_used_tier→loaded_models→shutdown→set_speculative_enabled→check_speculative_compat→last_residency_error→clear_last_residency_error→make_placeholder_gguf→set_residency_observer→make_load_failure_config→can_handoff→residency_snapshot_json

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.

Orchestrator empty-tiers + handoff + observer + accessor coverage · 11 checksshutdownREQ-INFER-002 · inferredinitializeload_bundled_grammarsload_bundledREQ-INFER-007 · inferredinitializecreate_tier_backendscreate_adapterREQ-INFER-012 · inferredcheck_speculative_compatcheck_compatREQ-INFER-016 · inferredinitializeensure_vram_budgetREQ-INFER-019 · inferredshutdownREQ-INFER-020 · inferredinitialize… 3 calls …preload_adapters_for_modelREQ-INFER-023 · inferred
Also reaches 7 requirements

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