passed Passed in the packaged run.
What this test is for Why it exists
Every `index` reply carries the `action` that produced it.
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.
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 opt (line 3017) opt opt (line 3019) opt opt (line 3021) opt loop (line 2353) loop index 1. index → _index_action 1 _index_action ▶ test enters 2. _index_action → registry_wide_target_error 2 registry_wide_target_error 3. _index_action → status 3 status 4–6. _index_action → build_or_refresh 4 build_or_refresh +2 more 7. ensure_target → _target_from_roots 7 _target_from_roots ▶ test enters 8–9. _target_from_roots → _roots 8 _roots +1 more 10. _roots_askable → roots_request_supported 10 roots_request_supported 11. roots_request_supported → server_request_surface 11 server_request_surface … 2 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 loop (line 2353) loop index 14. list → link 14 link 15. _target_from_roots → root_uri_to_path 15 root_uri_to_path 16. ensure_target → adopt 16 adopt ▶ test enters 17. adopt → repo_indexes 17 repo_indexes 18. repo_indexes → target_for 18 target_for … 3 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/freshness.pyclew/mcp_server/freshness.py clew/mcp_server/freshness.pyclew/mcp_server/freshness.py opt (line 2070) opt loop (line 662) loop catch (line 562) catch index 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 … 109 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 loop (line 2805) loop loop (line 2807) loop index 145–146. read_comments → ensure_target 145 ensure_target +1 more 147–148. _index_action → list_targets 147 list_targets +1 more 149. list_targets → db_status 149 db_status 150–152. list_targets → _top_level_names 150 _top_level_names +2 more 153. list_targets → _capped_listing 153 _capped_listing 1 more tests/test_subject_surface.py:496 · its file's page
What it checks (3) assert listed["action"] == "targets"assert listed["results"] == [], "an empty registry lists nothing, in the wrapped shape"assert reported["action"] == "status", "the mapping-shaped result must survive the stamp"Where the product reaches it Call flow test_index_stamps_the_action_that_produced_the_reply→ 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 6 requirements Its run touches their code; that is reach, not proof.