passed Passed in the packaged run.
What this test is for Why it exists
Absent is the norm rather than a defect, so it is a warning — but a SAID one: an empty causal layer on a repo whose accessors the built-in defaults cannot see is the commonest "this database is useless" report, and `propose` is the answer.
→ When
absent = _named(init_command.diagnose(repo, INIT_SCOPE_REPO), init_command.CHECK_DECLARATION)(repo / ".clew.yaml").write_text("shared_key_patterns: {}\n", encoding="utf-8")present = _named(init_command.diagnose(repo, INIT_SCOPE_REPO), init_command.CHECK_DECLARATION)→ Then
✓ absent.status equals CHECK_WARN✓ absent.detail contains "propose"✓ present.status equals CHECK_OK✓ present.detail contains ".clew.yaml"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.
… 10 earlier steps
command-line usercommand-line user command-line usercommand-line user clew/scope.pyclew/scope.py clew/scope.pyclew/scope.py other filesother files other filesother files alt (line 1171) alt opt (line 529) opt main 11. propose → build_context 11 build_context 12. build_context → derive_scope 12 derive_scope 13. derive_scope → _declared_index_scope 13 _declared_index_scope 14. _declared_index_scope → load_declaration_located 14 load_declaration_located 15–18. load_declaration_located → _read_mapping 15 _read_mapping +3 more 19–20. _checked_section → _checked_list_section 19 _checked_list_section +1 more … 14 steps between
command-line usercommand-line user command-line usercommand-line user other filesother files other filesother files loop (line 569) loop opt (line 571) opt opt (line 547) opt try (line 548) try loop (line 648) loop main 35. _checked_tests → _checked_list_section 35 _checked_list_section 36. _checked_tests → 36 … 1 call not run 37–39. _checked_section → check_manifest_document 37 check_manifest_document +2 more 40. _checked_entries → _checked_entry 40 _checked_entry 41. _checked_section → _check_section_keys 41 _check_section_keys … 2 steps between
command-line usercommand-line user command-line usercommand-line user command-line user clew/scope.pyclew/scope.py clew/scope.pyclew/scope.py clew/scope.py other filesother files other filesother files other files opt (line 696) opt try (line 1003) try opt (line 847) opt loop (line 746) loop loop (line 1055) loop opt (line 1075) opt loop (line 1117) loop main 44. _declared_index_scope → _existing_paths 44 _existing_paths 45. derive_scope → whole_repo_scope 45 whole_repo_scope 46. whole_repo_scope → _gitignored_paths 46 _gitignored_paths 47. _gitignored_paths → git_argv 47 git_argv 48–49. git_argv → _no_ext_diff 48 _no_ext_diff +1 more 50. _gitignored_paths → git_env 50 git_env 51. whole_repo_scope → list 51 list 52–56. whole_repo_scope → nested_repo_roots 52 nested_repo_roots +4 more 57. nested_repo_roots → _nested_repos_under 57 _nested_repos_under 58. whole_repo_scope → _gitignored_paths 58 _gitignored_paths 59–60. whole_repo_scope → _pruned_dirs 59 _pruned_dirs +1 more 61. _pruned_dirs → _skip_dir 61 _skip_dir 62. _pruned_dirs → _descendable 62 _descendable 63–64. _descendable → _is_within 63 _is_within +1 more 65–68. whole_repo_scope → _declaration_note 65 _declaration_note +3 more 69. derive_scope → whole_repo_scope 69 whole_repo_scope 70–71. build_context → repo_source_files 70 repo_source_files +1 more … 87 steps between
command-line usercommand-line user command-line usercommand-line user clew/init_command.pyclew/init_command.py clew/init_command.pyclew/init_command.py other filesother files other filesother files main 159–160. init_main → build_parser 159 build_parser +1 more 161. diagnose → _check_client_config 161 _check_client_config ▶ test enters 162. _check_client_config → global_config_evidence 162 global_config_evidence 163. global_config_evidence → claude_state_dir 163 claude_state_dir … 1 step between
command-line usercommand-line user command-line usercommand-line user command-line user clew/scope.pyclew/scope.py clew/scope.pyclew/scope.py clew/scope.py clew/init_command.pyclew/init_command.py clew/init_command.pyclew/init_command.py clew/init_command.py other filesother files other filesother files other files loop (line 312) loop loop (line 314) loop try (line 1304) try loop (line 710) loop main 165. _check_client_config → global_config_available 165 global_config_available 166. global_config_available → global_config_evidence 166 global_config_evidence 167. diagnose → _check_server_command 167 _check_server_command ▶ test enters 168. _check_server_command → resolve_server_command 168 resolve_server_command 169–171. resolve_server_command → _locate_script 169 _locate_script +2 more 172–173. diagnose → _check_mcp_sdk 172 _check_mcp_sdk +1 more 174. _check_doxygen → uses_rustdoc 174 uses_rustdoc 175–176. uses_rustdoc → discover_doxyfile 175 discover_doxyfile +1 more 177. _check_doxygen → _needs_doxygen 177 _needs_doxygen 178. _needs_doxygen → claims 178 claims 179. _check_doxygen → doxygen_supports_sqlite3 179 doxygen_supports_sqlite3 180. doxygen_supports_sqlite3 → clean_subprocess_env 180 clean_subprocess_env 181. diagnose → _check_indexable 181 _check_indexable 182. _check_indexable → discover_doxyfile 182 discover_doxyfile 183. _check_indexable → derive_scope 183 derive_scope 184. diagnose → _check_declaration 184 _check_declaration 185–186. init_main → _format_check 185 _format_check +1 more … 214 later steps
4 more tests/test_init.py:1150 · its file's page
What it checks (4) assert absent.status == CHECK_WARN observes _named via absent assert "propose" in absent.detail observes _named via absent assert present.status == CHECK_OK observes _named via present assert ".clew.yaml" in present.detail observes _named via present Where the product reaches it main → init_main → diagnose (flow) Call flow test_declaration_check_reports_both_states→ _named → diagnose 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 9 requirements Its run touches their code; that is reach, not proof.