create registers MCP keys

Tests › tests/unit/core/identity_manager_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/identity_manager_test.cpp:186 · its file's page

What it checks (4)

  1. REQUIRE(mgr->create(cfg) == ENTROPIC_OK) observes make_config via cfg
  2. REQUIRE(auth_mgr.is_enforced("npc_guard")) observes is_enforced
  3. REQUIRE(auth_mgr.check_access( "npc_guard", "game.inventory", MCPAccessLevel::READ)) observes check_access
  4. REQUIRE(auth_mgr.check_access( "npc_guard", "game.dialog", MCPAccessLevel::WRITE)) observes check_access

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

create registers MCP keys→make_mgr→make_config→REQUIRE→is_enforced→check_access

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.

create registers MCP keys · 4 checksis_enforcedREQ-MCP-010 · inferredcheck_accessREQ-MCP-011 · inferred
Also reaches 2 requirements

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