test_state_directory_alone_is_sufficient_evidence

Tests › tests/test_init.py

passed Passed in the packaged run.

What this test is for

Why it exists

The state directory alone evidences an install.

Verifies REQ-DDB-CLI-002

What it exercises

The parts of the system's flows this test ran, measured by per-test coverage: lit steps ran in this test, dimmed ones did not, and ▶ marks where the test called in. Each title opens the whole flow with these steps lit.

clew — `main` (clew/cli.py) · 3 of 400 steps

… 160 earlier steps

command-line usercommand-line usercommand-line usercommand-line userclew/init_command.pyclew/init_command.pyclew/init_command.pyclew/init_command.pyother filesother filesother filesother filesmain161. diagnose → _check_client_config161_check_client_config162. _check_client_config → global_config_evidence162global_config_evidence163–164. global_config_evidence → claude_state_dir163claude_state_dir +1 more165. _check_client_config → global_config_available165global_config_available166. global_config_available → global_config_evidence166global_config_evidence▶ test enters167. diagnose → _check_server_command167_check_server_command168. _check_server_command → resolve_server_command168resolve_server_command

… 232 later steps

tests/test_init.py:937 · its file's page

Where the product reaches it

  • main → init_main → diagnose → _check_client_config → global_config_available (flow)
  • main → init_main → _register → config_path → global_config_path (flow)

Call flow

test_state_directory_alone_is_sufficient_evidence→global_config_path→global_config_available

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.

test_state_directory_alone_is_sufficient_evidenceglobal_config_pathREQ-DDB-MCP-001 · measured

Requirements it verifies (1)

requirementlinked byimplementers exercised
REQ-DDB-CLI-002catalogunknown
Also reaches 1 requirement

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