passed Passed in the packaged run.
What this test is for Why it exists
The negative control. Without it the refusal above would pass just as happily against a loader that rejected everything, and a declaration format nobody can use is worse than one that mis-reads a typo.
Given
def empty(section: str) -> str: return "[]" if section in LIST_SECTIONS else ("x" if section in PATH_SECTIONS else "{}")body = "".join(f"{section}: {empty(section)}\n" for section in sorted(KNOWN_SECTIONS))(tmp_path / ".clew.yaml").write_text(body + "guard: {}\n", encoding="utf-8")→ When
load_declaration(tmp_path)→ Then
✓ set(load_declaration(tmp_path)) equals set(KNOWN_SECTIONS)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.
… 99 earlier steps
thread startthread start thread startthread start thread start clew/scope.pyclew/scope.py clew/scope.pyclew/scope.py clew/scope.py clew/declaration.pyclew/declaration.py clew/declaration.pyclew/declaration.py clew/declaration.py clew/guard/config.pyclew/guard/config.py clew/guard/config.pyclew/guard/config.py clew/guard/config.py other filesother files other filesother files other files alt (line 1171) alt loop (line 135) loop opt (line 531) opt opt (line 445) opt loop (line 417) loop alt (line 421) alt opt (line 533) opt loop (line 569) loop opt (line 571) opt opt (line 547) opt try (line 548) try loop (line 648) loop _first_build_worker 100. declared_scope_rejection → _declared_index_scope 100 _declared_index_scope 101. _declared_index_scope → load_declaration_located 101 load_declaration_located 102–106. load_declaration_located → _read_mapping 102 _read_mapping +4 more 107. _checked_list_section → all 107 all 108–110. all → _events 108 _events +2 more 111. _checked_section → _checked_requirements 111 _checked_requirements 112. _checked_requirements → _validate_node 112 _validate_node 113–115. _validate_node → _validate_map_of 113 _validate_map_of +2 more 116. _validate_node → _validate_dict_node 116 _validate_dict_node 117–118. _validate_dict_node → _config_path 117 _config_path +1 more 119. _suggest_key → list 119 list 120. _validate_dict_node → _validate_node 120 _validate_node 121. _checked_section → _checked_tests 121 _checked_tests 122. _checked_tests → _checked_list_section 122 _checked_list_section 123. _checked_tests → 123 … 1 call not run 124. _checked_section → check_manifest_document 124 check_manifest_document 125–126. check_manifest_document → _checked_document 125 _checked_document +1 more 127. _checked_entries → _checked_entry 127 _checked_entry 128. _checked_section → _check_section_keys 128 _check_section_keys 129–130. _declared_index_scope → _existing_paths 129 _existing_paths +1 more … 4 steps between
thread startthread start thread startthread start clew/mcp_server/server.pyclew/mcp_server/server.py clew/mcp_server/server.pyclew/mcp_server/server.py clew/scope.pyclew/scope.py clew/scope.pyclew/scope.py clew/declaration.pyclew/declaration.py clew/declaration.pyclew/declaration.py other filesother files other filesother files catch (line 3328) catch _first_build_worker 135. _sub_index_scope → declared_sub_index_excludes 135 declared_sub_index_excludes 136. declared_sub_index_excludes → load_declaration 136 load_declaration 137. load_declaration → load_declaration_located 137 load_declaration_located ▶ test enters 138. _run_build_walked → _bounded_output 138 _bounded_output 139. _bounded_output → all 139 all … 3 later steps
3 more tests/test_declaration.py:202 · its file's page
What it checks (1) assert set(load_declaration(tmp_path)) == set(KNOWN_SECTIONS) observes load_declaration Where the product reaches it main → propose_main → propose → build_context → load_declaration (flow) 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 3 requirements Its run touches their code; that is reach, not proof.