load_layered overlays a project config.local.yaml when present

Tests › tests/unit/config/loader_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/config/loader_test.cpp:798 · its file's page

What it checks (4)

  1. REQUIRE(err.empty()) observes load_layered via err
  2. CHECK(config.log_level == "DEBUG") not attributed
  3. CHECK(config.models.default_tier == "lead") not attributed
  4. CHECK(config.log_dir == project_dir) 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

load_layered overlays a project config.local.yaml when present→load_test_registry→WHEN→load_layered→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.

load_layered overlays a project config.local.yaml when present · 4 checksWHENfailure_detailREQ-API-012 · inferredload_layeredREQ-CFG-001 · inferredload_layeredREQ-CFG-002 · inferredload_test_registryloadREQ-CFG-003 · inferredload_layered… 4 calls …parse_model_configREQ-CFG-005 · inferredload_layeredload_consumer_layerparse_config_fileREQ-CFG-006 · inferredload_layeredREQ-CFG-007 · inferredload_layeredload_bundled_defaultresolve_data_dirREQ-CFG-008 · inferredload_layered… 4 calls …parse_delegation_configREQ-DELEG-005 · inferredload_layered… 6 calls …parse_absolute_path_listREQ-MCP-021 · inferredload_layered… 7 calls …parse_bash_configREQ-MCP-023 · inferredload_layeredload_consumer_layerparse_config_fileREQ-TYPE-005 · inferred
Also reaches 12 requirements

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