Context accumulates across turns

Tests › tests/regression/test_multi_turn_context.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/regression/test_multi_turn_context.cpp:77 · its file's page

What it checks (4)

  1. REQUIRE(count_role(r1, "assistant") == 1) observes count_role
  2. REQUIRE(count_role(r2, "assistant") == 2) observes count_role
  3. REQUIRE(count_role(r3, "assistant") == 3) observes count_role
  4. REQUIRE(count_role(r3, "user") == 3) observes count_role

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

Context accumulates across turns→make_mock_interface→WHEN→make_messages→run→add_user_turn→reset_interrupt→REQUIRE→count_role

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.

Context accumulates across turns · 4 checksWHENfailure_detailREQ-API-012 · inferredrunloopexecute_iterationcheck_compactionREQ-COMPACT-001 · inferredrunREQ-COMPACT-002 · inferredrun… 4 calls …execute_pending_pipelineREQ-DELEG-001 · inferredruninit_session_conversationREQ-DELEG-002 · inferredrun… 5 calls …finalize_delegation_resultREQ-DELEG-003 · inferredrun… 4 calls …execute_pending_pipelineREQ-DELEG-004 · inferredrun… 5 calls …resolve_session_rootREQ-DELEG-005 · inferredrun… 5 calls …resolve_resume_delegationREQ-DELEG-006 · inferredrunloopREQ-HOOK-002 · inferredrunREQ-IDEN-001 · inferredrun… 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.