gh#203: followup returns delegation_id and summary from real storage

Tests › tests/unit/api/followup_provider_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/api/followup_provider_test.cpp:31 · its file's page

What it checks (10)

  1. REQUIRE(entropic_create(&h) == ENTROPIC_OK) observes entropic_create
  2. REQUIRE(entropic_configure(h, cfg.c_str()) == ENTROPIC_OK) observes entropic_configure
  3. REQUIRE(entropic_storage_open(h, (dir / "s.db").c_str()) == ENTROPIC_OK) observes entropic_storage_open
  4. REQUIRE(h->storage->create_delegation(parent, "lead", "eng", "find it", 3, del_id, child)) observes create_delegation
  5. REQUIRE(out.contains("results")) not attributed
  6. REQUIRE(out["results"].size() == 1) not attributed
  7. CHECK(r["delegation_id"] == del_id) not attributed
  8. CHECK(r["target_tier"] == "eng") not attributed
  9. CHECK(r["summary"] == "answer: magic-token at a.cpp:12") not attributed
  10. CHECK(r.size() == 4) 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

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#203: followup returns delegation_id and summary from real storage · 10 checksentropic_createREQ-ABI-001 · inferredentropic_configureREQ-ABI-002 · inferredentropic_createREQ-API-002 · inferredentropic_createREQ-API-003 · inferredentropic_configureREQ-API-004 · inferredentropic_configureREQ-API-005 · inferredentropic_configure… 10 calls …entropic_last_errorREQ-API-007 · inferredentropic_configure… 8 calls …entropic_versionREQ-API-008 · inferredentropic_configure… 3 calls …rewire_observersREQ-API-010 · inferredWHENfailure_detailREQ-API-012 · inferredentropic_configuredo_configure_jsonconfigure_commoninit_orchestratorREQ-API-013 · inferredentropic_destroystopREQ-BRIDGE-001 · inferred

and 66 more requirement paths, listed below.

Also reaches 81 requirements

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