passed Passed in the packaged run.
What this test is for Why it exists
THE CONTROL. A repository with no nested trees is not split, has no sub-indexes to name, and an unscoped refresh is exactly the right advice for it.
Given
home = tmp_path / "state"repo = tmp_path / "plain"repo.mkdir()→ When
_mcp, state = build_server(st.TargetRegistry(home))state.tools.dossier("anything", target=str(repo))message = str(exc.value)→ Then
✓ raises RuntimeError✓ message contains "index(action='refresh'"✓ message does not contain "sub_index"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.
… 15 earlier steps
callercaller callercaller caller clew/mcp_server/server.pyclew/mcp_server/server.py clew/mcp_server/server.pyclew/mcp_server/server.py clew/mcp_server/server.py clew/mcp_server/state.pyclew/mcp_server/state.py clew/mcp_server/state.pyclew/mcp_server/state.py clew/mcp_server/state.py clew/wiki/themes/clew/static/web.jsclew/wiki/themes/clew/static/web.js clew/wiki/themes/clew/static/web.jsclew/wiki/themes/clew/static/web.js clew/wiki/themes/clew/static/web.js clew/mcp_server/routing.pyclew/mcp_server/routing.py clew/mcp_server/routing.pyclew/mcp_server/routing.py clew/mcp_server/routing.py clew/mcp_server/freshness.pyclew/mcp_server/freshness.py clew/mcp_server/freshness.pyclew/mcp_server/freshness.py clew/mcp_server/freshness.py opt (line 352) opt opt (line 169) opt loop (line 169) loop opt (line 171) opt opt (line 172) opt opt (line 2070) opt loop (line 662) loop catch (line 562) catch index 16. ensure_target → adopt 16 adopt 17. adopt → repo_indexes 17 repo_indexes 18. repo_indexes → target_for 18 target_for 19. target_for → _safe_index_name 19 _safe_index_name 20. target_for → state_home 20 state_home 21. repo_indexes → target_for 21 target_for 22. adopt → target_for 22 target_for 23. adopt → _sync_tier1 23 _sync_tier1 24. _sync_tier1 → register_query_tools 24 register_query_tools ▶ test enters 25–29. register_query_tools → _add_tool 25 _add_tool +4 more 30. _answering_with_refresh → refused 30 refused 31. _answering_with_refresh → _take_context 31 _take_context 32. _take_context → list 32 list 33. register_query_tools → list 33 list 34. adopt → db_status 34 db_status 35. db_status → _options_meta 35 _options_meta … 31 steps between
callercaller callercaller clew/mcp_server/server.pyclew/mcp_server/server.py clew/mcp_server/server.pyclew/mcp_server/server.py clew/mcp_server/state.pyclew/mcp_server/state.py clew/mcp_server/state.pyclew/mcp_server/state.py clew/wiki/themes/clew/static/web.jsclew/wiki/themes/clew/static/web.js clew/wiki/themes/clew/static/web.jsclew/wiki/themes/clew/static/web.js clew/mcp_server/routing.pyclew/mcp_server/routing.py clew/mcp_server/routing.pyclew/mcp_server/routing.py clew/mcp_server/freshness.pyclew/mcp_server/freshness.py clew/mcp_server/freshness.pyclew/mcp_server/freshness.py other filesother files other filesother files opt (line 1826) opt opt (line 1874) opt opt (line 1887) opt opt (line 1904) opt opt (line 1911) opt opt (line 260) opt index 67. notices → _code_notice 67 _code_notice 68. _build_subject → resolve_target 68 resolve_target 69. resolve_target → _indexes_for 69 _indexes_for ▶ test enters 70. _indexes_for → repo_indexes 70 repo_indexes 71. _indexes_for → repo_indexes 71 repo_indexes 72. resolve_target → list 72 list 73. resolve_target → target_for 73 target_for 74–75. resolve_target → unknown_target_error 74 unknown_target_error +1 more 76. resolve_target → unbuilt_refusal 76 unbuilt_refusal 77. unbuilt_refusal → no_index_message 77 no_index_message ▶ test enters 78–79. unbuilt_refusal → listed_names 78 listed_names +1 more 80. unbuilt_refusal → describe_declaration 80 describe_declaration 81. describe_declaration → _parsed_declaration 81 _parsed_declaration 82. resolve_target → 82 … 1 call not run … 71 later steps
5 more tests/test_split_repo_routing.py:266 · its file's page
What it checks (1) assert "index(action='refresh'" in message and "sub_index" not in message, message not attributed Where the product reaches it Call flow test_an_unsplit_repo_keeps_the_original_refusal→ build_server 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.
Also reaches 7 requirements Its run touches their code; that is reach, not proof.