passed Passed in the packaged run.
What this test is for Why it exists
A directory whose `.git` is a plain file is refused, not built.
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 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/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/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/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/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 clew/mcp_server/freshness.py other filesother files other filesother files other files other files 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 opt (line 1826) opt opt (line 1874) opt opt (line 1887) opt opt (line 1904) opt 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 ▶ test enters 36. _options_meta → _meta_section 36 _meta_section 37. _meta_section → meta_section 37 meta_section 38. db_status → stated_options 38 stated_options 39. db_status → read_build_signature 39 read_build_signature 40–43. db_status → _source_drift 40 _source_drift +3 more 44. _scope_meta → _meta_section 44 _meta_section 45. db_status → _coverage_meta 45 _coverage_meta 46. _coverage_meta → _meta_section 46 _meta_section 47. db_status → _refresh_meta 47 _refresh_meta 48. _refresh_meta → _meta_section 48 _meta_section 49. db_status → list 49 list 50. db_status → _diagnostics_meta 50 _diagnostics_meta 51. _diagnostics_meta → _meta_section 51 _meta_section 52. db_status → _data_model_meta 52 _data_model_meta 53. _data_model_meta → _meta_section 53 _meta_section 54. db_status → code_identity 54 code_identity 55–57. code_identity → source_fingerprint 55 source_fingerprint +2 more 58. db_status → notices 58 notices 59–60. notices → code_identity 59 code_identity +1 more 61–63. _data_notice → _cost_clause 61 _cost_clause +2 more 64–67. notices → _schema_notice 64 _schema_notice +3 more 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. resolve_target → unknown_target_error 74 unknown_target_error … 12 steps between
callercaller callercaller 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/scope.pyclew/scope.py clew/scope.pyclew/scope.py other filesother files other filesother files try (line 1003) try index 87. whole_repo_scope → _gitignored_paths 87 _gitignored_paths 88. _gitignored_paths → git_argv 88 git_argv 89. git_argv → _no_ext_diff 89 _no_ext_diff ▶ test enters 90. git_argv → list 90 list 91. _gitignored_paths → git_env 91 git_env 92. whole_repo_scope → list 92 list … 61 later steps
7 more tests/test_background_indexing.py:305 · its file's page
What it checks (1) assert build.built == [], f"a file named .git was taken as consent to index: {build.built}"Where the product reaches it 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 8 requirements Its run touches their code; that is reach, not proof.