passed Passed in the packaged run.
What this test is for Why it exists
An unconfigured shipped language is reported, not skipped silently.
Given
rust = self._rust_tree(tmp_path)monkeypatch.chdir(tmp_path)2 more rc = main(["--config", NO_REQ_CONFIG, "validate", "--no-git", str(rust)])surface = "".join(capsys.readouterr())→ → Then
✓ rc equals 0✓ surface contains "not checked"✓ surface contains "rust"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.
program launcherprogram launcher program launcherprogram launcher program launcher program launcher clew/guard/main.pyclew/guard/main.py clew/guard/main.pyclew/guard/main.py clew/guard/main.py clew/guard/main.py clew/guard/config.pyclew/guard/config.py clew/guard/config.pyclew/guard/config.py clew/guard/config.py clew/guard/config.py clew/guard/impact.pyclew/guard/impact.py clew/guard/impact.pyclew/guard/impact.py clew/guard/impact.py clew/guard/impact.py other filesother files other filesother files other files other files try (line 717) try opt (line 730) opt opt (line 733) opt opt (line 705) opt loop (line 417) loop opt (line 420) opt alt (line 421) alt opt (line 715) opt loop (line 793) loop opt (line 795) opt loop (line 651) loop opt (line 653) opt loop (line 391) loop loop (line 267) loop try (line 269) try opt (line 1336) opt main 1. main → _check_retired_subcommand 1 _check_retired_subcommand ▶ test enters 2. _check_retired_subcommand → _first_positional 2 _first_positional 3–5. main → _run 3 _run +2 more 6. _run → build_parser 6 build_parser 7. build_parser → _add_validate_parser 7 _add_validate_parser 8. _add_validate_parser → list 8 list 9. list → link 9 link 10–14. build_parser → _add_impact_parser 10 _add_impact_parser +4 more 15. _run → _has_subcommand 15 _has_subcommand 16–17. _run → _parse_precommit_args 16 _parse_precommit_args +1 more 18. _run → load_config 18 load_config 19. load_config → refuse_doxygen_guard_leftovers 19 refuse_doxygen_guard_leftovers 20. load_config → _fresh_defaults 20 _fresh_defaults 21. load_config → read_requirements_section 21 read_requirements_section 22–25. read_requirements_section → _validate_node 22 _validate_node +3 more 26–27. _validate_node → _validate_dict_node 26 _validate_dict_node +1 more 28. _validate_dict_node → _suggest_key 28 _suggest_key 29. _suggest_key → list 29 list 30. _validate_dict_node → _validate_node 30 _validate_node 31. load_config → _shared_facts 31 _shared_facts 32. _shared_facts → list 32 list 33. load_config → read_guard_section 33 read_guard_section 34. load_config → _fresh_defaults 34 _fresh_defaults 35–43. load_config → validate_config_schema 35 validate_config_schema +8 more 44. apply_opt_in_languages → deep_merge 44 deep_merge 45. deep_merge → deep_merge 45 deep_merge 46. load_config → deep_merge 46 deep_merge 47. _run → run_precommit 47 run_precommit 48. run_precommit → report_dir 48 report_dir 49. run_precommit → resolve_version_gate 49 resolve_version_gate 50. resolve_version_gate → get_validate 50 get_validate 51. resolve_version_gate → _detect_current_version 51 _detect_current_version 52. _detect_current_version → get_validate 52 get_validate 53–54. run_precommit → _report_violations 53 _report_violations +1 more 55. _validate_files → load_requirements_full 55 load_requirements_full 56. load_requirements_full → _get_requirements_config 56 _get_requirements_config 57. _get_requirements_config → get_requirements 57 get_requirements 58. _get_requirements_config → resolve_contained_path 58 resolve_contained_path 59. load_requirements_full → _validate_requirements 59 _validate_requirements 60. _validate_requirements → get_validate 60 get_validate 61. _validate_requirements → _summarise_id 61 _summarise_id 62. _validate_files → load_external_requirements 62 load_external_requirements 63. load_external_requirements → get_requirements 63 get_requirements 64. load_external_requirements → read_catalog_at 64 read_catalog_at 65. read_catalog_at → _refuse_url 65 _refuse_url … 4 steps between
program launcherprogram launcher program launcherprogram launcher program launcher clew/guard/main.pyclew/guard/main.py clew/guard/main.pyclew/guard/main.py clew/guard/main.py clew/guard/config.pyclew/guard/config.py clew/guard/config.pyclew/guard/config.py clew/guard/config.py clew/guard/impact.pyclew/guard/impact.py clew/guard/impact.pyclew/guard/impact.py clew/guard/impact.py clew/guard/checks.pyclew/guard/checks.py clew/guard/checks.pyclew/guard/checks.py clew/guard/checks.py other filesother files other filesother files other files alt (line 1344) alt loop (line 973) loop loop (line 974) loop loop (line 287) loop loop (line 288) loop try (line 345) try loop (line 326) loop loop (line 69) loop opt (line 178) opt main 70–71. read_catalog_at → _refuse_url 70 _refuse_url +1 more 72. _validate_files → get_requirements 72 get_requirements 73. _validate_files → check_satisfies 73 check_satisfies 74. check_satisfies → link_ids 74 link_ids 75. link_ids → satisfies_ids 75 satisfies_ids 76. _validate_files → load_failure_mode_ids 76 load_failure_mode_ids 77. load_failure_mode_ids → _get_requirements_config 77 _get_requirements_config 78. load_failure_mode_ids → _raw_entries 78 _raw_entries 79. load_failure_mode_ids → modes_of 79 modes_of 80. _validate_files → validate_file 80 validate_file 81. validate_file → get_validate 81 get_validate 82. validate_file → excluded_by 82 excluded_by 83–84. excluded_by → compile_globs 83 compile_globs +1 more 85. validate_file → gate_exclusion 85 gate_exclusion 86–87. gate_exclusion → _gate_matcher 86 _gate_matcher +1 more 88–89. load_toolchain_config → _read_toml 88 _read_toml +1 more … 8 steps between
program launcherprogram launcher program launcherprogram launcher clew/guard/main.pyclew/guard/main.py clew/guard/main.pyclew/guard/main.py clew/guard/config.pyclew/guard/config.py clew/guard/config.pyclew/guard/config.py other filesother files other filesother files opt (line 184) opt loop (line 186) loop opt (line 189) opt opt (line 98) opt main 98–99. load_toolchain_config → _entry_globs 98 _entry_globs +1 more 100. _gate_matcher → compile_globs 100 compile_globs 101. gate_exclusion → matches 101 matches 102. gate_exclusion → binary_file 102 binary_file 103. validate_file → parse_source_file 103 parse_source_file 104–107. parse_source_file → parse_source_file_with_content 104 parse_source_file_with_content +3 more 108–109. parse_content_for_file → resolve_parse_settings 108 resolve_parse_settings +1 more … 43 steps between
program launcherprogram launcher program launcherprogram launcher clew/guard/main.pyclew/guard/main.py clew/guard/main.pyclew/guard/main.py clew/guard/config.pyclew/guard/config.py clew/guard/config.pyclew/guard/config.py clew/guard/checks.pyclew/guard/checks.py clew/guard/checks.pyclew/guard/checks.py clew/guard/ts_parser.pyclew/guard/ts_parser.py clew/guard/ts_parser.pyclew/guard/ts_parser.py loop (line 647) loop opt (line 658) opt opt (line 681) opt opt (line 683) opt opt (line 227) opt try (line 241) try main 153–154. _collect_functions → _collect_functions 153 _collect_functions +1 more 155. validate_file → unconfigured_language 155 unconfigured_language 156. validate_file → check_file_presence 156 check_file_presence 157. check_file_presence → get_validate 157 get_validate … 84 steps between
program launcherprogram launcher program launcherprogram launcher clew/guard/main.pyclew/guard/main.py clew/guard/main.pyclew/guard/main.py clew/guard/config.pyclew/guard/config.py clew/guard/config.pyclew/guard/config.py clew/guard/checks.pyclew/guard/checks.py clew/guard/checks.pyclew/guard/checks.py loop (line 607) loop main 242–243. check_version_staleness → _check_one_version 242 _check_one_version +1 more 244. _validate_files → _report_skips 244 _report_skips 245. run_precommit → report_dir 245 report_dir 246. run_precommit → validate_output_path 246 validate_output_path … 84 steps between
program launcherprogram launcher program launcherprogram launcher program launcher clew/guard/main.pyclew/guard/main.py clew/guard/main.pyclew/guard/main.py clew/guard/main.py clew/guard/config.pyclew/guard/config.py clew/guard/config.pyclew/guard/config.py clew/guard/config.py clew/guard/impact.pyclew/guard/impact.py clew/guard/impact.pyclew/guard/impact.py clew/guard/impact.py clew/guard/coverage.pyclew/guard/coverage.py clew/guard/coverage.pyclew/guard/coverage.py clew/guard/coverage.py other filesother files other filesother files other files opt (line 368) opt alt (line 608) alt main 331. format_coverage_text → _via 331 _via 332. _coverage_gate → traceability_line 332 traceability_line 333–336. _run → build_parser 333 build_parser +3 more 337. run_validate → _report_violations 337 _report_violations 338–340. run_validate → resolve_version_gate 338 resolve_version_gate +2 more 341. _dispatch_subcommand → _run_impact_command 341 _run_impact_command 342. _run_impact_command → impact_report 342 impact_report 343. _run_impact_command → format_report 343 format_report 344. format_report → 344 … 1 call not run 345. _run_impact_command → 345 … 2 calls not run 346. _dispatch_subcommand → _run_coverage_command 346 _run_coverage_command 347. _run_coverage_command → run_coverage 347 run_coverage 348–349. run_coverage → analyze_coverage 348 analyze_coverage +1 more 350. _dispatch_subcommand → _run_config_command 350 _run_config_command 351. _run_config_command → build_effective_contract 351 build_effective_contract 352. _run_config_command → build_schema_contract 352 build_schema_contract 353. _dispatch_subcommand → _run_files_command 353 _run_files_command 354. _run_files_command → build_files_contract 354 build_files_contract 355. _dispatch_subcommand → _run_doxyfile_command 355 _run_doxyfile_command 356. _run_doxyfile_command → build_fragment 356 build_fragment 357. _run → load_config 357 load_config 3 more tests/guard/test_guard_main.py:442 · its file's page
What it checks (2) assert rc == 0, "nothing is configured to check it, so there is no violation to report" not attributed assert "not checked" in surface and "rust" in surface, ( f"the gate reported success over an unchecked Rust file in silence: {surface!r}" ) not attributed Where the product reaches it No product flow reaches this code: no product entry point's flow calls any of the functions this test calls.
Call flow test_an_opt_in_language_left_unconfigured_is_named→ _rust_tree
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 11 requirements Its run touches their code; that is reach, not proof.