Budget-exhausted forced complete sets terminal_reason metadata

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

What it checks (3)

  1. REQUIRE(it != ctx.metadata.end()) not attributed
  2. REQUIRE(it->second == "budget_exhausted") not attributed
  3. REQUIRE(ctx.state == AgentState::COMPLETE) 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

Budget-exhausted forced complete sets terminal_reason metadata→make_mock_interface→WHEN→make_messages→run_loop→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.

Budget-exhausted forced complete sets terminal_reason metadata · 3 checksWHENfailure_detailREQ-API-012 · inferredrun_looploopexecute_iterationcheck_compactionREQ-COMPACT-001 · inferredrun_loopREQ-COMPACT-002 · inferredrun_loop… 4 calls …execute_pending_pipelineREQ-DELEG-001 · inferredrun_looploopresolve_max_iterationsREQ-DELEG-002 · inferredrun_loop… 5 calls …finalize_delegation_resultREQ-DELEG-003 · inferredrun_loop… 4 calls …execute_pending_pipelineREQ-DELEG-004 · inferredrun_loop… 5 calls …resolve_session_rootREQ-DELEG-005 · inferredrun_loop… 5 calls …resolve_resume_delegationREQ-DELEG-006 · inferredrun_looploopREQ-HOOK-002 · inferredrun_loopREQ-IDEN-001 · inferredrun_loop… 4 calls …try_auto_chainREQ-IDEN-003 · inferred

and 9 more requirement paths, listed below.

Also reaches 21 requirements

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