main (clew/guard/main.py)¶
Overview · 357 steps, 7 lanes
All 357 steps
| # | caller | callee | what it does | requirements | frames | call site |
|---|---|---|---|---|---|---|
| 1 | main | _check_retired_subcommand | Reject retired subcommands loudly instead of treating them as file paths. | REQ-DDB-GUARD-013 | — | clew/guard/main.py:712 |
| 2 | _check_retired_subcommand | _first_positional | Return the first positional arg, ignoring flags and their values. | — | — | clew/guard/main.py:557 |
| 3 | main | _run | Load config and dispatch, letting GuardError propagate to the CLI boundary. | — | try (line 717) | clew/guard/main.py:717 |
| 4 | _run | _has_subcommand | Detect whether the first positional arg is a known subcommand. | — | — | clew/guard/main.py:729 |
| 5 | _has_subcommand | _first_positional | Return the first positional arg, ignoring flags and their values. | — | — | clew/guard/main.py:530 |
| 6 | _run | build_parser | Create argparse parser with validate/impact/coverage subcommands. | — | if (line 730) | clew/guard/main.py:730 |
| 7 | build_parser | _add_validate_parser | Add the validate subcommand to the parser. | — | — | clew/guard/main.py:92 |
| 8 | _add_validate_parser | list | — | — | — | clew/guard/main.py:114 |
| 9 | list | link | — | — | — | clew/wiki/themes/clew/static/web.js:85 |
| 10 | build_parser | _add_impact_parser | Add the impact subcommand to the parser. | — | — | clew/guard/main.py:93 |
| 11 | build_parser | _add_coverage_parser | Add the coverage subcommand to the parser. | — | — | clew/guard/main.py:94 |
| 12 | build_parser | _add_config_parser | Add the config subcommand exposing the machine-readable consumer contract. | — | — | clew/guard/main.py:95 |
| 13 | build_parser | _add_files_parser | Add the files subcommand exposing the exact post-exclude file set. | — | — | clew/guard/main.py:96 |
| 14 | build_parser | _add_doxyfile_parser | Add the doxyfile subcommand emitting a Doxyfile fragment. | — | — | clew/guard/main.py:97 |
| 15 | _run | _has_subcommand | Detect whether the first positional arg is a known subcommand. | — | — | clew/guard/main.py:732 |
| 16 | _run | _parse_precommit_args | Parse pre-commit mode args (no subcommand) into components. | — | if (line 733) | clew/guard/main.py:733 |
| 17 | _run | _setup_logging | Configure logging based on verbosity flag. | — | if (line 733) | clew/guard/main.py:734 |
| 18 | _run | load_config | Load the guard: section of .clew.yaml and merge with built-in defaults. | REQ-DDB-GUARD-012 | if (line 733) | clew/guard/main.py:735 |
| 19 | load_config | refuse_doxygen_guard_leftovers | Refuse to run while a doxygen-guard leftover is in the repository, naming it. | REQ-DDB-GUARD-012 | — | clew/guard/config.py:702 |
| 20 | load_config | _fresh_defaults | Deep-copy the built-in defaults so callers cannot mutate module state. | REQ-DDB-GUARD-012 | if (line 705) | clew/guard/config.py:706 |
| 21 | load_config | read_requirements_section | Read and validate the top-level requirements: section of a .clew.yaml . | REQ-DDB-GUARD-012 | — | clew/guard/config.py:710 |
| 22 | read_requirements_section | _validate_node | Validate a single config node against its schema spec. | REQ-DDB-GUARD-012 | — | clew/guard/config.py:585 |
| 23 | _validate_node | _validate_map_of | Validate a mapping of user-named entries against the schema every entry follows. | — | if (line 445) | clew/guard/config.py:445 |
| 24 | _validate_map_of | _config_path | Build a dotted config path from parent path and key. | — | loop (line 470) | clew/guard/config.py:471 |
| 25 | _validate_map_of | _validate_node | Validate a single config node against its schema spec. | REQ-DDB-GUARD-012 | loop (line 470) | clew/guard/config.py:471 |
| 26 | _validate_node | _validate_dict_node | Validate dict keys against schema, recursing into sub-nodes. | REQ-DDB-GUARD-012 | — | clew/guard/config.py:458 |
| 27 | _validate_dict_node | _config_path | Build a dotted config path from parent path and key. | — | loop (line 417) | clew/guard/config.py:418 |
| 28 | _validate_dict_node | _suggest_key | Suggest the closest known schema key for a misspelled one. | — | loop (line 417), if (line 420) | clew/guard/config.py:420 |
| 29 | _suggest_key | list | — | — | — | clew/guard/config.py:431 |
| 30 | _validate_dict_node | _validate_node | Validate a single config node against its schema spec. | REQ-DDB-GUARD-012 | loop (line 417), else (line 421) | clew/guard/config.py:422 |
| 31 | load_config | _shared_facts | The facts the gate reads from the rest of .clew.yaml : the event vocabulary and sources. | — | — | clew/guard/config.py:711 |
| 32 | _shared_facts | list | — | — | — | clew/guard/config.py:751 |
| 33 | load_config | read_guard_section | Read the raw guard: mapping out of a .clew.yaml . | REQ-DDB-GUARD-012 | — | clew/guard/config.py:713 |
| 34 | load_config | _fresh_defaults | Deep-copy the built-in defaults so callers cannot mutate module state. | REQ-DDB-GUARD-012 | if (line 715) | clew/guard/config.py:716 |
| 35 | load_config | validate_config_schema | Validate user config keys and types against CONFIG_SCHEMA. | REQ-DDB-GUARD-012 | — | clew/guard/config.py:718 |
| 36 | validate_config_schema | _moved_keys | Split out the keys that moved in 2.0.0, each with a pointer to its new home. | — | — | clew/guard/config.py:538 |
| 37 | validate_config_schema | _exclude_errors | Refuse a 1.x regex-shaped validate.exclude entry, naming the two 2.0.0 forms. | — | — | clew/guard/config.py:541 |
| 38 | validate_config_schema | _ratio_errors | Refuse a coverage.min_req_ratio that is not a number in (0, 1]. | — | — | clew/guard/config.py:542 |
| 39 | validate_config_schema | _reason_errors | Refuse an exemption_reason setting other than required or optional . | — | — | clew/guard/config.py:543 |
| 40 | validate_config_schema | _validate_node | Validate a single config node against its schema spec. | REQ-DDB-GUARD-012 | — | clew/guard/config.py:544 |
| 41 | load_config | _log_declared_sections | Log which top-level sections the user declared versus which are defaulted. | REQ-DDB-GUARD-012 | — | clew/guard/config.py:724 |
| 42 | load_config | _fresh_defaults | Deep-copy the built-in defaults so callers cannot mutate module state. | REQ-DDB-GUARD-012 | — | clew/guard/config.py:725 |
| 43 | load_config | apply_opt_in_languages | Fill a declared opt-in language (e.g. | REQ-DDB-GUARD-024 | — | clew/guard/config.py:725 |
| 44 | apply_opt_in_languages | deep_merge | Recursively merge two dicts; override values win for non-dict leaves. | — | loop (line 793), if (line 795) | clew/guard/config.py:795 |
| 45 | deep_merge | deep_merge | Recursively merge two dicts; override values win for non-dict leaves. | — | loop (line 651), if (line 653) | clew/guard/config.py:653 |
| 46 | load_config | deep_merge | Recursively merge two dicts; override values win for non-dict leaves. | — | — | clew/guard/config.py:725 |
| 47 | _run | run_precommit | Run all configured checks in pre-commit mode (no subcommand). | REQ-DDB-GUARD-001 | if (line 733) | clew/guard/main.py:735 |
| 48 | run_precommit | report_dir | The directory the impact report is written to and read from. | — | — | clew/guard/main.py:470 |
| 49 | run_precommit | resolve_version_gate | Resolve the version gate in place, failing if it is declared but unresolvable. | REQ-DDB-GUARD-014 | — | clew/guard/main.py:472 |
| 50 | resolve_version_gate | get_validate | Access the validate section of config. | — | — | clew/guard/main.py:438 |
| 51 | resolve_version_gate | _detect_current_version | Resolve the current project version from config, git tag, or CMake. | — | — | clew/guard/main.py:443 |
| 52 | _detect_current_version | get_validate | Access the validate section of config. | — | — | clew/guard/main.py:425 |
| 53 | run_precommit | _report_violations | Print violations and return exit code. | — | — | clew/guard/main.py:474 |
| 54 | run_precommit | _validate_files | Validate a list of files and report violations. | — | — | clew/guard/main.py:474 |
| 55 | _validate_files | load_requirements_full | Load full requirement rows from the configured catalog. | REQ-DDB-GUARD-011 | — | clew/guard/main.py:316 |
| 56 | load_requirements_full | _get_requirements_config | Extract requirements config, raising if a declared catalog is unusable. | REQ-DDB-GUARD-011 | — | clew/guard/impact.py:291 |
| 57 | _get_requirements_config | get_requirements | Access the requirements catalog section (the top-level requirements: ). | — | — | clew/guard/impact.py:215 |
| 58 | _get_requirements_config | resolve_contained_path | Resolve a config-supplied path and require it to stay inside the repo. | REQ-DDB-GUARD-016 | — | clew/guard/impact.py:232 |
| 59 | load_requirements_full | _validate_requirements | Enforce the name field and the configured ID pattern across a catalog. | REQ-DDB-GUARD-011 | — | clew/guard/impact.py:318 |
| 60 | _validate_requirements | get_validate | Access the validate section of config. | — | — | clew/guard/impact.py:388 |
| 61 | _validate_requirements | _summarise_id | Render a catalog key for an error message, truncated and single-line. | REQ-DDB-GUARD-016 | loop (line 391) | clew/guard/impact.py:392 |
| 62 | _validate_files | load_external_requirements | The requirement ids of the external catalogues this repository names (GH #68). | REQ-DDB-GUARD-027 | — | clew/guard/main.py:319 |
| 63 | load_external_requirements | get_requirements | Access the requirements catalog section (the top-level requirements: ). | — | — | clew/guard/impact.py:265 |
| 64 | load_external_requirements | read_catalog_at | Read a requirements catalogue from a local path or a pinned revision of a local checkout. | REQ-DDB-GUARD-027 | loop (line 267), try (line 269) | clew/guard/impact.py:269 |
| 65 | read_catalog_at | _refuse_url | Refuse a source that is a URL. | — | if (line 1336) | clew/requirements.py:1339 |
| 66 | read_catalog_at | git_text | Run git in a local checkout through the hardened environment. | REQ-DDB-GUARD-027 | if (line 1336) | clew/requirements.py:1340 |
| 67 | git_text | git_argv | One git argv with every command-valued configuration key disarmed. | REQ-DDB-CONFIG-001 | try (line 1306) | clew/requirements.py:1307 |
| 68 | git_argv | _no_ext_diff | Insert --no-ext-diff after a diff-family subcommand. | REQ-DDB-CONFIG-001 | — | clew/gitenv.py:110 |
| 69 | git_argv | list | — | — | — | clew/gitenv.py:110 |
| 70 | read_catalog_at | _refuse_url | Refuse a source that is a URL. | — | else (line 1344) | clew/requirements.py:1345 |
| 71 | read_catalog_at | _catalog_rows | The rows of a parsed catalogue, in either shape. | — | try (line 1352) | clew/requirements.py:1352 |
| 72 | _validate_files | get_requirements | Access the requirements catalog section (the top-level requirements: ). | — | — | clew/guard/main.py:321 |
| 73 | _validate_files | check_satisfies | A catalogue entry's satisfies ids that no catalogue holds (GH #68). | REQ-DDB-SCHEMA-015 | — | clew/guard/main.py:322 |
| 74 | check_satisfies | link_ids | The ids an entry links upward to, through satisfies or serves . | REQ-DDB-SCHEMA-015 | loop (line 973), loop (line 974) | clew/guard/checks.py:974 |
| 75 | link_ids | satisfies_ids | The requirement ids a satisfies value names, in every spelling a catalogue uses. | REQ-DDB-SCHEMA-015 | loop (line 287), loop (line 288) | clew/requirements.py:288 |
| 76 | _validate_files | load_failure_mode_ids | Every failure-mode id the local catalogue declares. | REQ-DDB-GUARD-001 | — | clew/guard/main.py:324 |
| 77 | load_failure_mode_ids | _get_requirements_config | Extract requirements config, raising if a declared catalog is unusable. | REQ-DDB-GUARD-011 | — | clew/guard/impact.py:340 |
| 78 | load_failure_mode_ids | _raw_entries | A catalogue's entries as (id, raw fields), in either catalogue shape. | — | try (line 345) | clew/guard/impact.py:347 |
| 79 | load_failure_mode_ids | modes_of | The failure modes one catalog entry declares. | REQ-DDB-SCHEMA-006 | try (line 345) | clew/guard/impact.py:348 |
| 80 | _validate_files | validate_file | Orchestrate presence, staleness, and tag checks for one file. | REQ-DDB-GUARD-001 | loop (line 326) | clew/guard/main.py:331 |
| 81 | validate_file | get_validate | Access the validate section of config. | — | — | clew/guard/main.py:209 |
| 82 | validate_file | excluded_by | The validate.exclude entry that excludes a path, or None. | REQ-DDB-GUARD-013 | — | clew/guard/main.py:210 |
| 83 | excluded_by | compile_globs | Compile globs into the substrate's matcher, dropping any that do not compile. | — | loop (line 69) | clew/guard/filters.py:74 |
| 84 | excluded_by | matches | Whether a repo-relative path matches, as a file or as a directory. | — | loop (line 69) | clew/guard/filters.py:76 |
| 85 | validate_file | gate_exclusion | Why the gate should not read a file, or None when it should. | REQ-DDB-CONFIG-009 | — | clew/guard/main.py:218 |
| 86 | gate_exclusion | _gate_matcher | The toolchain config and compiled gate matcher for one working directory. | — | — | clew/guard/filters.py:91 |
| 87 | _gate_matcher | load_toolchain_config | Locate and read a repository's toolchain.toml and suppress.toml. | REQ-DDB-CONFIG-009 | — | clew/guard/filters.py:32 |
| 88 | load_toolchain_config | _read_toml | Read a TOML file into a mapping, recording rather than raising on failure. | — | if (line 178) | clew/toolchain.py:178 |
| 89 | _read_toml | require_toml_module | Return a TOML-parsing module, raising when none is importable. | — | try (line 118) | clew/toolchain.py:119 |
| 90 | require_toml_module | toml_module | Return a TOML-parsing module, or None when none is importable. | — | — | clew/tomlcompat.py:87 |
| 91 | load_toolchain_config | _string_list | The string list at table[key] , or () when absent or malformed. | — | if (line 178) | clew/toolchain.py:179 |
| 92 | _string_list | all | Every comment, oldest first, with its status. | REQ-DDB-WIKI-054 | — | clew/toolchain.py:139 |
| 93 | all | _events | — | — | loop (line 135) | clew/mcp_server/comments.py:135 |
| 94 | all | _public | A stored event's public fields. | — | loop (line 135), if (line 137) | clew/mcp_server/comments.py:137 |
| 95 | all | list | — | — | — | clew/mcp_server/comments.py:140 |
| 96 | load_toolchain_config | _string_list | The string list at table[key] , or () when absent or malformed. | — | if (line 178) | clew/toolchain.py:181 |
| 97 | load_toolchain_config | _read_toml | Read a TOML file into a mapping, recording rather than raising on failure. | — | if (line 184) | clew/toolchain.py:184 |
| 98 | load_toolchain_config | _entry_globs | The globs of one [[suppress]] entry that suppresses whole files. | — | if (line 184), loop (line 186), if (line 189) | clew/toolchain.py:189 |
| 99 | load_toolchain_config | _entry_globs | The globs of one [[suppress]] entry that suppresses whole files. | — | if (line 184), loop (line 186), elif (line 191) | clew/toolchain.py:191 |
| 100 | _gate_matcher | compile_globs | Compile globs into the substrate's matcher, dropping any that do not compile. | — | — | clew/guard/filters.py:33 |
| 101 | gate_exclusion | matches | Whether a repo-relative path matches, as a file or as a directory. | — | if (line 98) | clew/guard/filters.py:102 |
| 102 | gate_exclusion | binary_file | The binary classification of one file, or None when it is text or unreadable. | REQ-DDB-PIPE-011 | — | clew/guard/filters.py:106 |
| 103 | validate_file | parse_source_file | Parse all functions from a source file using language-aware settings. | REQ-DDB-GUARD-018 | — | clew/guard/main.py:225 |
| 104 | parse_source_file | parse_source_file_with_content | Parse functions and return both the function list and file content. | REQ-DDB-GUARD-018 | — | clew/guard/config.py:949 |
| 105 | parse_source_file_with_content | parse_content_for_file | Parse functions out of arbitrary content using a file path's language config. | REQ-DDB-GUARD-018 | — | clew/guard/config.py:964 |
| 106 | parse_content_for_file | get_language_config | Match a file path to its language config by extension. | REQ-DDB-GUARD-013 | — | clew/guard/config.py:985 |
| 107 | get_language_config | get_validate | Access the validate section of config. | — | — | clew/guard/config.py:902 |
| 108 | parse_content_for_file | resolve_parse_settings | Resolve comment style and body style for a given language config. | REQ-DDB-GUARD-013 | — | clew/guard/config.py:989 |
| 109 | resolve_parse_settings | get_validate | Access the validate section of config. | — | — | clew/guard/config.py:1014 |
| 110 | parse_content_for_file | language_for_file | Resolve a file path to a language name using config extensions. | REQ-DDB-GUARD-020 | — | clew/guard/config.py:990 |
| 111 | language_for_file | language_for_extension | Resolve a file extension to a language name. | REQ-DDB-GUARD-020 | — | clew/guard/ts_languages.py:162 |
| 112 | language_for_file | _looks_like_cpp_header | Detect C++ constructs in a .h file to route to cpp grammar. | — | — | clew/guard/ts_languages.py:163 |
| 113 | language_for_file | _language_from_config | Look up language name from user config extensions. | — | if (line 168) | clew/guard/ts_languages.py:168 |
| 114 | parse_content_for_file | parse_functions | Parse source code to find functions and their associated doxygen comments. | REQ-DDB-GUARD-018 | — | clew/guard/config.py:998 |
| 115 | parse_functions | parse_functions_ts | Parse functions from source content using tree-sitter. | REQ-DDB-GUARD-020 | — | clew/guard/parser.py:223 |
| 116 | parse_functions_ts | get_parser_for_language | Get a tree-sitter Parser for a named language. | REQ-DDB-GUARD-020 | — | clew/guard/ts_parser.py:588 |
| 117 | parse_functions_ts | get_language_spec | Get the LanguageSpec for a named language. | REQ-DDB-GUARD-020 | — | clew/guard/ts_parser.py:593 |
| 118 | parse_functions_ts | _collect_functions | Version 2: the payload carries typed class members ( variables ). | REQ-DDB-GUARD-020 | — | clew/guard/ts_parser.py:601 |
| 119 | _collect_functions | _is_rust_test_item | Whether a Rust item is test code: a test function or the #[cfg(test)] module. | REQ-DDB-GUARD-024 | loop (line 647) | clew/guard/ts_parser.py:648 |
| 120 | _is_rust_test_item | _rust_attributes | The attribute texts written directly above a Rust item, e.g. | — | — | clew/guard/ts_parser.py:492 |
| 121 | _collect_functions | _enclosing_class_for | Resolve enclosing class name when entering a class/struct node. | — | loop (line 647) | clew/guard/ts_parser.py:650 |
| 122 | _enclosing_class_for | _rust_impl_self_type | The self type an impl block is for, without generic arguments: Foo for impl Trait for Foo . | — | if (line 786) | clew/guard/ts_parser.py:786 |
| 123 | _collect_functions | _declared_function | The function declarator a C/C++ declaration declares, or None for anything else. | — | loop (line 647) | clew/guard/ts_parser.py:651 |
| 124 | _collect_functions | _append_declaration | Record a documented C/C++ declaration as a Function (2.0.0, PG2). | REQ-DDB-GUARD-020 | loop (line 647), if (line 652) | clew/guard/ts_parser.py:652 |
| 125 | _append_declaration | _extract_function_name | Extract function name from an AST function node. | — | — | clew/guard/ts_parser.py:729 |
| 126 | _append_declaration | _find_preceding_doxygen | Find the doxygen comment block preceding a function node. | REQ-DDB-GUARD-020 | — | clew/guard/ts_parser.py:730 |
| 127 | _append_declaration | _qualified_enclosing | Extract enclosing class from a qualified function declarator (Foo::bar). | — | — | clew/guard/ts_parser.py:741 |
| 128 | _append_declaration | _extract_signature | Extract a normalized parameter-list signature from a function node. | REQ-DDB-GUARD-020 | — | clew/guard/ts_parser.py:742 |
| 129 | _collect_functions | _resolve_function_node | Resolve a child node to a function_definition, handling wrappers. | REQ-DDB-GUARD-020 | loop (line 647) | clew/guard/ts_parser.py:656 |
| 130 | _resolve_function_node | _unwrap_decorated | Unwrap a decorated_definition to get the inner definition. | — | — | clew/guard/ts_parser.py:199 |
| 131 | _resolve_function_node | _bound_function | Version 1.1 sees through forwardRef / memo , so a wrapped React component is a function: without it a component declared that way had no definition and every that rendered it resolved to nothing. | REQ-DDB-GUARD-025 | — | clew/guard/ts_parser.py:202 |
| 132 | _collect_functions | _extract_function_name | Extract function name from an AST function node. | — | loop (line 647), if (line 658) | clew/guard/ts_parser.py:658 |
| 133 | _extract_function_name | _name_from_declarator | Extract the identifier from a C/C++ function_declarator node. | — | — | clew/guard/ts_parser.py:251 |
| 134 | _collect_functions | _function_carrier | The node that carries a function's body and parameters . | — | loop (line 647), if (line 658) | clew/guard/ts_parser.py:661 |
| 135 | _function_carrier | _bound_function | Version 1.1 sees through forwardRef / memo , so a wrapped React component is a function: without it a component declared that way had no definition and every that rendered it resolved to nothing. | REQ-DDB-GUARD-025 | — | clew/guard/ts_parser.py:188 |
| 136 | _collect_functions | _find_preceding_doxygen | Find the doxygen comment block preceding a function node. | REQ-DDB-GUARD-020 | loop (line 647), if (line 658) | clew/guard/ts_parser.py:664 |
| 137 | _find_preceding_doxygen | _preceding_node | Find the node preceding a definition, stepping out of an enclosing body. | REQ-DDB-GUARD-019 | — | clew/guard/ts_parser.py:373 |
| 138 | _find_preceding_doxygen | _collect_rust_doc | Collect the rustdoc outer doc comment ending at prev . | REQ-DDB-GUARD-024 | if (line 377) | clew/guard/ts_parser.py:377 |
| 139 | _find_preceding_doxygen | _skip_rust_attributes | Step back over the #[...] attributes between a Rust item and its doc comment. | REQ-DDB-GUARD-024 | if (line 377) | clew/guard/ts_parser.py:377 |
| 140 | _find_preceding_doxygen | _collect_python_comments | Collect Python-style doxygen comment lines preceding a node. | REQ-DDB-GUARD-019 | elif (line 379) | clew/guard/ts_parser.py:379 |
| 141 | _find_preceding_doxygen | _collect_c_comment | Collect C-style doxygen comment block preceding a node. | — | else (line 380) | clew/guard/ts_parser.py:381 |
| 142 | _find_preceding_doxygen | _find_python_docstring_block | Find a docstring inside a Python function body and parse doxygen tags. | REQ-DDB-GUARD-021 | if (line 383), if (line 384) | clew/guard/ts_parser.py:384 |
| 143 | _find_preceding_doxygen | parse_doxygen_tags | Parse all doxygen tag entries from comment text. | REQ-DDB-GUARD-019 | — | clew/guard/ts_parser.py:398 |
| 144 | _find_preceding_doxygen | apply_autobrief | Supply @brief from a rustdoc block's summary paragraph when none is written. | REQ-DDB-GUARD-024 | if (line 400) | clew/guard/ts_parser.py:400 |
| 145 | _find_preceding_doxygen | _last_row | The last row a node occupies. | — | — | clew/guard/ts_parser.py:403 |
| 146 | _collect_functions | _qualified_enclosing | Extract enclosing class from a qualified function declarator (Foo::bar). | — | loop (line 647), if (line 658) | clew/guard/ts_parser.py:665 |
| 147 | _collect_functions | _extract_signature | Extract a normalized parameter-list signature from a function node. | REQ-DDB-GUARD-020 | loop (line 647), if (line 658) | clew/guard/ts_parser.py:673 |
| 148 | _extract_signature | _function_carrier | The node that carries a function's body and parameters . | — | — | clew/guard/ts_parser.py:262 |
| 149 | _collect_functions | _js_returns_void | Whether a JS/TS function returns no value, as far as its annotation says. | REQ-DDB-GUARD-025 | loop (line 647), if (line 658) | clew/guard/ts_parser.py:674 |
| 150 | _js_returns_void | _function_carrier | The node that carries a function's body and parameters . | — | — | clew/guard/ts_parser.py:760 |
| 151 | _collect_functions | _produced_class | The mixin class a bound function produces, or None. | — | loop (line 647), if (line 658) | clew/guard/ts_parser.py:679 |
| 152 | _produced_class | _function_carrier | The node that carries a function's body and parameters . | — | — | clew/guard/ts_parser.py:614 |
| 153 | _collect_functions | _collect_functions | Version 2: the payload carries typed class members ( variables ). | REQ-DDB-GUARD-020 | loop (line 647), if (line 658), if (line 681), if (line 683) | clew/guard/ts_parser.py:683 |
| 154 | _collect_functions | _collect_functions | Version 2: the payload carries typed class members ( variables ). | REQ-DDB-GUARD-020 | loop (line 647), else (line 684) | clew/guard/ts_parser.py:685 |
| 155 | validate_file | unconfigured_language | Name a language the gate ships but this config did not enable, for one file. | REQ-DDB-GUARD-013 | if (line 227) | clew/guard/main.py:233 |
| 156 | validate_file | check_file_presence | Check for file-level doxygen documentation block. | REQ-DDB-GUARD-006 | try (line 241) | clew/guard/main.py:242 |
| 157 | check_file_presence | get_validate | Access the validate section of config. | — | — | clew/guard/checks.py:1124 |
| 158 | check_file_presence | _find_file_doxygen_start | Find the line index of the file-level doxygen block start. | REQ-DDB-GUARD-006 | — | clew/guard/checks.py:1131 |
| 159 | check_file_presence | _first_code_line | Find the first non-blank, non-preprocessor line number. | — | if (line 1133) | clew/guard/checks.py:1133 |
| 160 | check_file_presence | _suggest_file_skeleton | Build a language-appropriate file-level doxygen skeleton suggestion. | — | if (line 1133) | clew/guard/checks.py:1141 |
| 161 | check_file_presence | _check_file_block_tags | Check required tags in a file-level doxygen block. | REQ-DDB-GUARD-006 | — | clew/guard/checks.py:1146 |
| 162 | _check_file_block_tags | _extract_file_block_text | — | — | — | clew/guard/checks.py:1154 |
| 163 | _extract_file_block_text | _docstring_block | A module docstring's text, from its opening quotes to its closing ones. | — | if (line 1198) | clew/guard/checks.py:1198 |
| 164 | _check_file_block_tags | parse_doxygen_tags | Parse all doxygen tag entries from comment text. | REQ-DDB-GUARD-019 | — | clew/guard/checks.py:1157 |
| 165 | parse_doxygen_tags | _mask_escaped_at | Mask escaped at-signs so they are not detected as tags. | — | loop (line 143) | clew/guard/parser.py:145 |
| 166 | parse_doxygen_tags | _split_inline_tags | Split a line into segments at inline tag boundaries. | — | loop (line 143), loop (line 146) | clew/guard/parser.py:146 |
| 167 | parse_doxygen_tags | _finalize_tag | Store the current tag's value and reset state. | — | loop (line 143), loop (line 146), if (line 149) | clew/guard/parser.py:149 |
| 168 | _finalize_tag | _unmask_escaped_at | Restore masked at-signs to a single literal at-sign. | — | if (line 125) | clew/guard/parser.py:125 |
| 169 | parse_doxygen_tags | _finalize_tag | Store the current tag's value and reset state. | — | loop (line 143), loop (line 146), elif (line 153) | clew/guard/parser.py:153 |
| 170 | parse_doxygen_tags | _finalize_tag | Store the current tag's value and reset state. | — | — | clew/guard/parser.py:159 |
| 171 | _check_file_block_tags | apply_autobrief | Supply @brief from a rustdoc block's summary paragraph when none is written. | REQ-DDB-GUARD-024 | if (line 1171) | clew/guard/checks.py:1173 |
| 172 | apply_autobrief | _mask_escaped_at | Mask escaped at-signs so they are not detected as tags. | — | loop (line 181) | clew/guard/parser.py:182 |
| 173 | apply_autobrief | _split_inline_tags | Split a line into segments at inline tag boundaries. | — | loop (line 181) | clew/guard/parser.py:190 |
| 174 | apply_autobrief | _unmask_escaped_at | Restore masked at-signs to a single literal at-sign. | — | if (line 195) | clew/guard/parser.py:195 |
| 175 | validate_file | check_presence | Verify every function has a doxygen comment with @brief and the revision tag. | REQ-DDB-GUARD-001 | — | clew/guard/main.py:245 |
| 176 | check_presence | get_validate | Access the validate section of config. | — | — | clew/guard/checks.py:105 |
| 177 | check_presence | _is_void_function | Check if a function returns void based on its definition lines. | REQ-DDB-GUARD-005 | loop (line 118), if (line 120) | clew/guard/checks.py:121 |
| 178 | _is_void_function | _is_rust_unit_fn | Whether a Rust function returns unit, read from its signature text. | REQ-DDB-GUARD-005 | if (line 268) | clew/guard/checks.py:268 |
| 179 | check_presence | _suggest_skeleton | Build a language-appropriate doxygen skeleton suggestion. | — | loop (line 118), if (line 120) | clew/guard/checks.py:131 |
| 180 | check_presence | _brief_hint | How to supply a missing brief, in the file's own convention. | — | loop (line 118), if (line 138) | clew/guard/checks.py:146 |
| 181 | validate_file | check_return_presence | Verify non-void functions have @return or @returns tag. | REQ-DDB-GUARD-005 | if (line 247) | clew/guard/main.py:247 |
| 182 | check_return_presence | get_validate | Access the validate section of config. | — | — | clew/guard/checks.py:187 |
| 183 | check_return_presence | _require_return | Whether @return is required for this file: the language's own setting, else the global one. | REQ-DDB-GUARD-005 | — | clew/guard/checks.py:188 |
| 184 | check_return_presence | _is_void_function | Check if a function returns void based on its definition lines. | REQ-DDB-GUARD-005 | loop (line 193) | clew/guard/checks.py:203 |
| 185 | validate_file | check_tags | Check that doxygen tags match configured patterns, prefixes, and markers. | REQ-DDB-GUARD-003 | — | clew/guard/main.py:248 |
| 186 | check_tags | get_validate | Access the validate section of config. | — | — | clew/guard/checks.py:623 |
| 187 | check_tags | _validate_tag_value | Check one tag value against pattern, prefix, and contains rules. | — | loop (line 631), loop (line 635), loop (line 638) | clew/guard/checks.py:639 |
| 188 | validate_file | check_req_coverage | Verify functions have requirement or exemption tags when requirements are configured. | REQ-DDB-GUARD-004 | — | clew/guard/main.py:249 |
| 189 | check_req_coverage | get_requirements | Access the requirements catalog section (the top-level requirements: ). | — | — | clew/guard/checks.py:351 |
| 190 | check_req_coverage | _has_active_requirements | Check if any requirements pass the version gate filter. | — | — | clew/guard/checks.py:356 |
| 191 | _has_active_requirements | load_requirements_full | Load full requirement rows from the configured catalog. | REQ-DDB-GUARD-011 | — | clew/guard/checks.py:335 |
| 192 | _has_active_requirements | filter_requirements_by_version | Filter requirements to those active at the configured current version. | REQ-DDB-GUARD-009 | — | clew/guard/checks.py:336 |
| 193 | filter_requirements_by_version | get_validate | Access the validate section of config. | — | — | clew/guard/impact.py:432 |
| 194 | filter_requirements_by_version | get_requirements | Access the requirements catalog section (the top-level requirements: ). | — | — | clew/guard/impact.py:434 |
| 195 | filter_requirements_by_version | _summarise_id | Render a catalog key for an error message, truncated and single-line. | REQ-DDB-GUARD-016 | if (line 446) | clew/guard/impact.py:446 |
| 196 | filter_requirements_by_version | parse_version | Parse a version string like "v1.8.2" into a comparable tuple. | REQ-DDB-GUARD-014 | — | clew/guard/impact.py:456 |
| 197 | filter_requirements_by_version | compare_versions | Compare two version tuples, padding shorter one with zeros. | — | — | clew/guard/impact.py:460 |
| 198 | filter_requirements_by_version | parse_version | Parse a version string like "v1.8.2" into a comparable tuple. | REQ-DDB-GUARD-014 | — | clew/guard/impact.py:460 |
| 199 | check_req_coverage | _has_version_gate | Check if version gate is configured. | — | — | clew/guard/checks.py:356 |
| 200 | _has_version_gate | get_validate | Access the validate section of config. | — | — | clew/guard/checks.py:324 |
| 201 | _has_version_gate | get_requirements | Access the requirements catalog section (the top-level requirements: ). | — | — | clew/guard/checks.py:325 |
| 202 | check_req_coverage | _exemption_hint | Render the exemption tags for an error message, derived from the set. | — | loop (line 361), if (line 374) | clew/guard/checks.py:383 |
| 203 | validate_file | check_bus_tags | Verify that functions crossing a bus carry a bus tag naming a known bus. | REQ-DDB-GUARD-026 | if (line 251) | clew/guard/main.py:251 |
| 204 | check_bus_tags | get_validate | Access the validate section of config. | — | — | clew/guard/checks.py:1328 |
| 205 | check_bus_tags | _bus_tags | The bus tags a configuration enforces; empty when no validate.bus section exists. | — | — | clew/guard/checks.py:1331 |
| 206 | _bus_tags | get_validate | Access the validate section of config. | — | — | clew/guard/checks.py:1304 |
| 207 | _bus_tags | _event_tags | The event vocabulary: the declaration's event_tags: , else the index's built-in one. | — | — | clew/guard/checks.py:1306 |
| 208 | check_bus_tags | _bus_vocabulary | Violations for bus tags naming a bus outside the vocabulary. | — | loop (line 1337) | clew/guard/checks.py:1341 |
| 209 | check_bus_tags | _crosses_bus | Whether a function is in the bus rule's scope. | — | loop (line 1337) | clew/guard/checks.py:1344 |
| 210 | check_bus_tags | _exemption_hint | Render the exemption tags for an error message, derived from the set. | — | loop (line 1337), if (line 1345) | clew/guard/checks.py:1354 |
| 211 | validate_file | check_unknown_tags | Check for unknown tags with Levenshtein-based suggestions. | REQ-DDB-GUARD-001 | loop (line 252) | clew/guard/main.py:253 |
| 212 | check_unknown_tags | get_validate | Access the validate section of config. | — | — | clew/guard/checks.py:766 |
| 213 | check_unknown_tags | _event_tags | The event vocabulary: the declaration's event_tags: , else the index's built-in one. | — | — | clew/guard/checks.py:775 |
| 214 | check_unknown_tags | _suggest_tag | Find the closest known tag name using edit distance. | — | loop (line 780), if (line 788) | clew/guard/checks.py:788 |
| 215 | _suggest_tag | _edit_distance | Compute Levenshtein edit distance between two strings. | — | loop (line 911) | clew/guard/checks.py:912 |
| 216 | _edit_distance | _edit_distance | Compute Levenshtein edit distance between two strings. | — | if (line 924) | clew/guard/checks.py:924 |
| 217 | _edit_distance | list | — | — | — | clew/guard/checks.py:925 |
| 218 | validate_file | check_removed_tags | Refuse a tag removed in 2.0.0, naming its replacement. | REQ-DDB-GUARD-001 | loop (line 252) | clew/guard/main.py:254 |
| 219 | validate_file | check_exemption_reasons | When validate.exemption_reason is required , refuse an exemption tag with no reason. | REQ-DDB-GUARD-001 | loop (line 252) | clew/guard/main.py:255 |
| 220 | check_exemption_reasons | get_validate | Access the validate section of config. | — | — | clew/guard/checks.py:836 |
| 221 | validate_file | check_duplicate_tags | Flag single-valued doxygen tags that appear more than once in one block. | REQ-DDB-GUARD-007 | loop (line 252) | clew/guard/main.py:256 |
| 222 | check_duplicate_tags | get_validate | Access the validate section of config. | — | — | clew/guard/checks.py:876 |
| 223 | validate_file | check_req_exists | Cross-validate requirement tag references against the requirements file. | REQ-DDB-GUARD-001 | loop (line 252) | clew/guard/main.py:257 |
| 224 | check_req_exists | get_validate | Access the validate section of config. | — | — | clew/guard/checks.py:1016 |
| 225 | check_req_exists | _uncheckable | A tag that cannot be checked because no catalogue is declared (GH #68). | REQ-DDB-GUARD-027 | loop (line 1022), if (line 1026) | clew/guard/checks.py:1026 |
| 226 | validate_file | check_fails_when_exists | Each @fails_when id must be a failure mode the catalogue declares. | REQ-DDB-GUARD-001 | loop (line 252) | clew/guard/main.py:258 |
| 227 | validate_file | check_fails_when_markers | Each inline fails_when: marker in a function's body must name a declared mode. | REQ-DDB-GUARD-001 | loop (line 252), if (line 260) | clew/guard/main.py:261 |
| 228 | check_fails_when_markers | marker | The failure-mode id an inline marker on this source line names. | — | loop (line 1096) | clew/guard/checks.py:1097 |
| 229 | validate_file | get_file_at_revision | Get a file's content as of a given revision. | REQ-DDB-GUARD-023 | if (line 265) | clew/guard/main.py:265 |
| 230 | get_file_at_revision | run_git | Run a git command through the injectable runner, returning None on failure. | REQ-DDB-GUARD-023 | — | clew/guard/git.py:216 |
| 231 | run_git | git_argv | One git argv with every command-valued configuration key disarmed. | REQ-DDB-CONFIG-001 | — | clew/guard/git.py:73 |
| 232 | validate_file | parse_content_for_file | Parse functions out of arbitrary content using a file path's language config. | REQ-DDB-GUARD-018 | if (line 265) | clew/guard/main.py:267 |
| 233 | validate_file | check_version_staleness | Detect stale @version tags when function bodies have changed since HEAD. | REQ-DDB-GUARD-002 | if (line 265) | clew/guard/main.py:272 |
| 234 | check_version_staleness | get_validate | Access the validate section of config. | — | — | clew/guard/checks.py:580 |
| 235 | check_version_staleness | _index_by_identity | Build a lookup of HEAD functions keyed by (enclosing_class, name, signature). | — | — | clew/guard/checks.py:598 |
| 236 | check_version_staleness | _index_by_identity | Build a lookup of HEAD functions keyed by (enclosing_class, name, signature). | — | — | clew/guard/checks.py:599 |
| 237 | check_version_staleness | _pair_copies | Pair one identity's current copies with its HEAD copies. | — | loop (line 602) | clew/guard/checks.py:603 |
| 238 | _pair_copies | _body_text | Extract a function's definition-through-body source text. | — | loop (line 458) | clew/guard/checks.py:459 |
| 239 | _pair_copies | _body_text | Extract a function's definition-through-body source text. | — | loop (line 458) | clew/guard/checks.py:460 |
| 240 | _pair_copies | … 1 not run | — | — | — | — |
| 241 | check_version_staleness | _pair_by_name | Pair a function left unmatched by identity with its HEAD self, by name, if unambiguous. | REQ-DDB-GUARD-002 | — | clew/guard/checks.py:604 |
| 242 | check_version_staleness | _check_one_version | Check one function's @version against its HEAD counterpart. | — | loop (line 607) | clew/guard/checks.py:608 |
| 243 | _check_one_version | _body_text | Extract a function's definition-through-body source text. | — | — | clew/guard/checks.py:522 |
| 244 | _validate_files | _report_skips | Report, on the default surface, the files the gate did not check. | — | — | clew/guard/main.py:340 |
| 245 | run_precommit | report_dir | The directory the impact report is written to and read from. | — | — | clew/guard/main.py:476 |
| 246 | run_precommit | validate_output_path | Reject output paths containing directory traversal or absolute components. | — | — | clew/guard/main.py:477 |
| 247 | validate_output_path | resolve_contained_path | Resolve a config-supplied path and require it to stay inside the repo. | REQ-DDB-GUARD-016 | — | clew/guard/config.py:874 |
| 248 | run_precommit | get_requirements | Access the requirements catalog section (the top-level requirements: ). | — | — | clew/guard/main.py:479 |
| 249 | run_precommit | get_branch_diff_range | Build a diff range string from merge-base to HEAD. | REQ-DDB-GUARD-023 | if (line 482) | clew/guard/main.py:482 |
| 250 | get_branch_diff_range | get_merge_base | Detect the merge-base between current HEAD and a target branch. | REQ-DDB-GUARD-023 | — | clew/guard/git.py:187 |
| 251 | get_merge_base | run_git | Run a git command through the injectable runner, returning None on failure. | REQ-DDB-GUARD-023 | — | clew/guard/git.py:171 |
| 252 | get_branch_diff_range | _rev_parse_head | Get the current HEAD commit SHA. | — | — | clew/guard/git.py:190 |
| 253 | _rev_parse_head | run_git | Run a git command through the injectable runner, returning None on failure. | REQ-DDB-GUARD-023 | — | clew/guard/git.py:200 |
| 254 | run_precommit | impact_base | The ref the impact report diffs against ( guard.impact.base ). | — | if (line 482) | clew/guard/main.py:482 |
| 255 | run_precommit | impact_report | The full report: entries with covering tests and via , and the unmapped lists. | REQ-DDB-GUARD-010 | if (line 482) | clew/guard/main.py:483 |
| 256 | impact_report | get_changed_files | The files a revision range (or the index) changed. | REQ-DDB-GUARD-023 | if (line 853) | clew/guard/impact.py:855 |
| 257 | get_changed_files | run_git | Run a git command through the injectable runner, returning None on failure. | REQ-DDB-GUARD-023 | — | clew/guard/git.py:122 |
| 258 | impact_report | collect_changes | The changed functions, and the changed files that hold none of them. | REQ-DDB-GUARD-010 | — | clew/guard/impact.py:856 |
| 259 | collect_changes | _collect_changed_lines | Collect all changed lines for a file from branch diff and/or staged changes. | — | loop (line 188) | clew/guard/impact.py:196 |
| 260 | _collect_changed_lines | _get_file_diff | Get raw diff output for a single file. | — | — | clew/guard/impact.py:90 |
| 261 | _get_file_diff | get_staged_diff | Run git diff cached for a single file. | REQ-DDB-GUARD-023 | if (line 114) | clew/guard/impact.py:114 |
| 262 | get_staged_diff | run_git | Run a git command through the injectable runner, returning None on failure. | REQ-DDB-GUARD-023 | — | clew/guard/git.py:89 |
| 263 | _get_file_diff | get_diff | Run git diff for a file over a given revision range. | REQ-DDB-GUARD-023 | if (line 116) | clew/guard/impact.py:116 |
| 264 | get_diff | run_git | Run a git command through the injectable runner, returning None on failure. | REQ-DDB-GUARD-023 | — | clew/guard/git.py:105 |
| 265 | _collect_changed_lines | parse_changed_lines | Extract the set of modified line numbers from a unified diff. | REQ-DDB-GUARD-023 | if (line 92) | clew/guard/impact.py:92 |
| 266 | _collect_changed_lines | _get_file_diff | Get raw diff output for a single file. | — | if (line 94) | clew/guard/impact.py:94 |
| 267 | _collect_changed_lines | parse_changed_lines | Extract the set of modified line numbers from a unified diff. | REQ-DDB-GUARD-023 | if (line 94), if (line 98) | clew/guard/impact.py:98 |
| 268 | collect_changes | _extract_changed_functions | Find changed functions in a single file given changed line numbers. | REQ-DDB-GUARD-008 | loop (line 188) | clew/guard/impact.py:198 |
| 269 | _extract_changed_functions | parse_source_file | Parse all functions from a source file using language-aware settings. | REQ-DDB-GUARD-018 | — | clew/guard/impact.py:129 |
| 270 | impact_report | find_index | The existing index for a repository. | REQ-DDB-GUARD-010 | — | clew/guard/impact.py:859 |
| 271 | find_index | registered_index | The database the MCP target registry has allocated for a repository. | — | — | clew/indexlocate.py:30 |
| 272 | impact_report | build_report | Group changes by requirement, and with a reach step, add tests, via and unmapped. | REQ-DDB-GUARD-010 | — | clew/guard/impact.py:860 |
| 273 | build_report | load_requirements | Load requirement id -> name mapping (convenience wrapper). | REQ-DDB-GUARD-009 | — | clew/guard/impact.py:580 |
| 274 | load_requirements | _get_requirements_config | Extract requirements config, raising if a declared catalog is unusable. | REQ-DDB-GUARD-011 | — | clew/guard/impact.py:414 |
| 275 | load_requirements | load_requirements_full | Load full requirement rows from the configured catalog. | REQ-DDB-GUARD-011 | — | clew/guard/impact.py:418 |
| 276 | build_report | _place_untagged | File an untagged change under the requirements its callers reach, else as unmapped. | — | loop (line 583), if (line 587) | clew/guard/impact.py:587 |
| 277 | build_report | _reviewers | The owners of a requirement's changed files, first-seen order, each once. | — | — | clew/guard/impact.py:594 |
| 278 | run_precommit | _write_report | Write the impact report's markdown and JSON into the report directory. | — | if (line 482) | clew/guard/main.py:492 |
| 279 | _write_report | validate_output_path | Reject output paths containing directory traversal or absolute components. | — | — | clew/guard/main.py:625 |
| 280 | _write_report | validate_output_path | Reject output paths containing directory traversal or absolute components. | — | — | clew/guard/main.py:626 |
| 281 | _write_report | format_markdown | Render impact entries as a markdown table with summary. | REQ-DDB-GUARD-010 | — | clew/guard/main.py:628 |
| 282 | format_markdown | _unmapped_markdown | The unmapped sections: changes and files that reach no requirement. | — | if (line 673) | clew/guard/impact.py:673 |
| 283 | format_markdown | _markdown_row | One requirement's table row. | — | loop (line 684) | clew/guard/impact.py:686 |
| 284 | _markdown_row | _cell | Make one table cell out of repo-controlled text. | — | — | clew/guard/impact.py:699 |
| 285 | _markdown_row | _cell | Make one table cell out of repo-controlled text. | — | — | clew/guard/impact.py:701 |
| 286 | _markdown_row | _cell | Make one table cell out of repo-controlled text. | — | — | clew/guard/impact.py:705 |
| 287 | _markdown_row | _cell | Make one table cell out of repo-controlled text. | — | — | clew/guard/impact.py:706 |
| 288 | _markdown_row | _cell | Make one table cell out of repo-controlled text. | — | — | clew/guard/impact.py:707 |
| 289 | format_markdown | _unmapped_markdown | The unmapped sections: changes and files that reach no requirement. | — | — | clew/guard/impact.py:691 |
| 290 | _write_report | format_json | Render impact entries as a versioned JSON object. | REQ-DDB-GUARD-010 | — | clew/guard/main.py:629 |
| 291 | run_precommit | git_add | Stage files for the next git commit. | — | if (line 482) | clew/guard/main.py:492 |
| 292 | git_add | run_git | Run a git command through the injectable runner, returning None on failure. | REQ-DDB-GUARD-023 | — | clew/guard/git.py:161 |
| 293 | run_precommit | format_markdown | Render impact entries as a markdown table with summary. | REQ-DDB-GUARD-010 | if (line 482) | clew/guard/main.py:493 |
| 294 | run_precommit | _coverage_gate | Run the coverage gate for the pre-commit hook. | REQ-DDB-GUARD-022 | — | clew/guard/main.py:498 |
| 295 | _coverage_gate | get_requirements | Access the requirements catalog section (the top-level requirements: ). | — | — | clew/guard/main.py:512 |
| 296 | _coverage_gate | analyze_coverage | Analyze requirement coverage across all documented functions. | REQ-DDB-GUARD-022 | — | clew/guard/main.py:514 |
| 297 | analyze_coverage | load_requirements_full | Load full requirement rows from the configured catalog. | REQ-DDB-GUARD-011 | — | clew/guard/coverage.py:37 |
| 298 | analyze_coverage | collect_tagged_functions | Walk source directories and collect every documented function. | REQ-DDB-GUARD-022 | — | clew/guard/coverage.py:38 |
| 299 | collect_tagged_functions | find_source_files | Find source files for configured languages, applying validate.exclude patterns. | REQ-DDB-GUARD-013 | loop (line 179) | clew/guard/tags.py:180 |
| 300 | find_source_files | get_validate | Access the validate section of config. | — | — | clew/guard/tags.py:107 |
| 301 | find_source_files | _git_ls_files | List tracked source files under a directory via git ls-files. | — | — | clew/guard/tags.py:114 |
| 302 | _git_ls_files | git_argv | One git argv with every command-valued configuration key disarmed. | REQ-DDB-CONFIG-001 | try (line 60) | clew/guard/tags.py:61 |
| 303 | _git_ls_files | git_env | The current environment with git's hook-repository overrides removed. | REQ-DDB-CONFIG-001 | try (line 60) | clew/guard/tags.py:70 |
| 304 | find_source_files | _rglob_source_files | Fallback source discovery via filesystem glob. | — | — | clew/guard/tags.py:115 |
| 305 | find_source_files | excluded_by | The validate.exclude entry that excludes a path, or None. | REQ-DDB-GUARD-013 | — | clew/guard/tags.py:124 |
| 306 | find_source_files | gate_exclusion | Why the gate should not read a file, or None when it should. | REQ-DDB-CONFIG-009 | — | clew/guard/tags.py:124 |
| 307 | collect_tagged_functions | _process_source_file | Parse one source file into its documented functions. | — | loop (line 179), loop (line 182) | clew/guard/tags.py:183 |
| 308 | _process_source_file | parse_source_file_with_content | Parse functions and return both the function list and file content. | REQ-DDB-GUARD-018 | — | clew/guard/tags.py:160 |
| 309 | _process_source_file | _extract_tagged_function | Build a TaggedFunction for a documented function, or None if undocumented. | — | — | clew/guard/tags.py:165 |
| 310 | analyze_coverage | _collect_req_ids | Collect all requirement IDs referenced across tagged functions. | REQ-DDB-GUARD-022 | — | clew/guard/coverage.py:41 |
| 311 | analyze_coverage | _collect_unmapped_functions | Find documented functions with no requirement mapping, skipping exempt ones. | REQ-DDB-GUARD-022 | — | clew/guard/coverage.py:42 |
| 312 | analyze_coverage | _exempt | The untagged requirements whose declared status exempts them from coverage. | REQ-DDB-GUARD-022 | — | clew/guard/coverage.py:43 |
| 313 | _exempt | get_requirements | Access the requirements catalog section (the top-level requirements: ). | — | — | clew/guard/coverage.py:205 |
| 314 | _exempt | exemption | Why a catalogue row is exempt from coverage, or None: its status, or a named field. | REQ-DDB-GUARD-022 | loop (line 208) | clew/guard/coverage.py:209 |
| 315 | exemption | list | — | — | — | clew/guard/config.py:854 |
| 316 | analyze_coverage | traceability | The requirement ratio: functions with a req tag among those with a req tag or an exemption. | REQ-DDB-GUARD-022 | — | clew/guard/coverage.py:53 |
| 317 | traceability | is_test_path | Whether one repo-relative path is test code under the given patterns. | — | loop (line 150) | clew/guard/coverage.py:151 |
| 318 | is_test_path | _matcher | One compiled regex equivalent to "any of these globs matches". | — | — | clew/testscope.py:135 |
| 319 | analyze_coverage | covered_via | The uncovered requirements a pinned dependency realises: implemented or exempt at its pin. | REQ-DDB-GUARD-022 | if (line 57) | clew/guard/coverage.py:57 |
| 320 | covered_via | get_requirements | Access the requirements catalog section (the top-level requirements: ). | — | — | clew/guard/coverage.py:75 |
| 321 | covered_via | read_catalog_at | Read a requirements catalogue from a local path or a pinned revision of a local checkout. | REQ-DDB-GUARD-027 | loop (line 77), try (line 82) | clew/guard/coverage.py:82 |
| 322 | covered_via | _realised | The uncovered requirements one dependency row realises, and how. | — | loop (line 77), loop (line 86), loop (line 87) | clew/guard/coverage.py:87 |
| 323 | _realised | link_ids | The ids an entry links upward to, through satisfies or serves . | REQ-DDB-SCHEMA-015 | — | clew/guard/coverage.py:106 |
| 324 | _realised | _tagged_at_pin | Whether a dependency's code tags a requirement at its pinned revision. | — | — | clew/guard/coverage.py:109 |
| 325 | _tagged_at_pin | git_text | Run git in a local checkout through the hardened environment. | REQ-DDB-GUARD-027 | — | clew/guard/coverage.py:123 |
| 326 | _realised | exemption | Why a catalogue row is exempt from coverage, or None: its status, or a named field. | REQ-DDB-GUARD-022 | — | clew/guard/coverage.py:111 |
| 327 | _coverage_gate | coverage_gaps | Whether a coverage report fails the gate. | REQ-DDB-GUARD-022 | — | clew/guard/main.py:515 |
| 328 | _coverage_gate | format_coverage_text | Format coverage report as text. | REQ-DDB-GUARD-022 | — | clew/guard/main.py:517 |
| 329 | format_coverage_text | traceability_line | One line stating the requirement ratio, its per-tag counts and the floor. | — | if (line 250) | clew/guard/coverage.py:250 |
| 330 | format_coverage_text | _why | Why one exempt requirement is exempt: its reason, else its status. | — | — | clew/guard/coverage.py:255 |
| 331 | format_coverage_text | _via | One requirement covered through a dependency, as a report line. | — | — | clew/guard/coverage.py:257 |
| 332 | _coverage_gate | traceability_line | One line stating the requirement ratio, its per-tag counts and the floor. | — | — | clew/guard/main.py:517 |
| 333 | _run | build_parser | Create argparse parser with validate/impact/coverage subcommands. | — | — | clew/guard/main.py:737 |
| 334 | _run | _setup_logging | Configure logging based on verbosity flag. | — | — | clew/guard/main.py:739 |
| 335 | _run | _dispatch_subcommand | Dispatch an explicit subcommand to its handler. | — | — | clew/guard/main.py:740 |
| 336 | _dispatch_subcommand | run_validate | Run validation checks on all specified files and report violations. | REQ-DDB-GUARD-001 | — | clew/guard/main.py:693 |
| 337 | run_validate | _report_violations | Print violations and return exit code. | — | if (line 368) | clew/guard/main.py:370 |
| 338 | run_validate | resolve_version_gate | Resolve the version gate in place, failing if it is declared but unresolvable. | REQ-DDB-GUARD-014 | — | clew/guard/main.py:373 |
| 339 | run_validate | _report_violations | Print violations and return exit code. | — | — | clew/guard/main.py:379 |
| 340 | run_validate | _validate_files | Validate a list of files and report violations. | — | — | clew/guard/main.py:380 |
| 341 | _dispatch_subcommand | _run_impact_command | Execute the impact subcommand. | REQ-DDB-GUARD-010 | — | clew/guard/main.py:694 |
| 342 | _run_impact_command | impact_report | The full report: entries with covering tests and via , and the unmapped lists. | REQ-DDB-GUARD-010 | — | clew/guard/main.py:599 |
| 343 | _run_impact_command | format_report | Dispatch to the appropriate formatter based on config. | — | else (line 608) | clew/guard/main.py:609 |
| 344 | format_report | … 1 not run | — | — | — | — |
| 345 | _run_impact_command | … 2 not run | — | — | — | — |
| 346 | _dispatch_subcommand | _run_coverage_command | Run the coverage subcommand. | — | — | clew/guard/main.py:695 |
| 347 | _run_coverage_command | run_coverage | Run coverage analysis and return exit code. | REQ-DDB-GUARD-022 | — | clew/guard/main.py:647 |
| 348 | run_coverage | analyze_coverage | Analyze requirement coverage across all documented functions. | REQ-DDB-GUARD-022 | — | clew/guard/coverage.py:335 |
| 349 | run_coverage | coverage_gaps | Whether a coverage report fails the gate. | REQ-DDB-GUARD-022 | — | clew/guard/coverage.py:344 |
| 350 | _dispatch_subcommand | _run_config_command | Emit the consumer contract as JSON. | REQ-DDB-GUARD-015 | — | clew/guard/main.py:696 |
| 351 | _run_config_command | build_effective_contract | Build the effective-config contract for the config currently in force. | REQ-DDB-GUARD-015 | — | clew/guard/main.py:661 |
| 352 | _run_config_command | build_schema_contract | Build the full config contract: schema, defaults, and catalog constants. | REQ-DDB-GUARD-015 | — | clew/guard/main.py:661 |
| 353 | _dispatch_subcommand | _run_files_command | Emit the exact post-exclude file set the gate walks, as JSON. | REQ-DDB-GUARD-015 | — | clew/guard/main.py:697 |
| 354 | _run_files_command | build_files_contract | Build the exact post-exclude file set the gate walks for the given roots. | REQ-DDB-GUARD-015 | — | clew/guard/main.py:673 |
| 355 | _dispatch_subcommand | _run_doxyfile_command | Emit the Doxyfile fragment for the current config. | REQ-DDB-GUARD-017 | — | clew/guard/main.py:698 |
| 356 | _run_doxyfile_command | build_fragment | Build the Doxyfile fragment for the given config. | REQ-DDB-GUARD-017 | — | clew/guard/main.py:684 |
| 357 | _run | load_config | Load the guard: section of .clew.yaml and merge with built-in defaults. | REQ-DDB-GUARD-012 | — | clew/guard/main.py:740 |
Functions¶
234 functions
modes_ofclew/failuremodes.pybinary_fileclew/filetypes.py_no_ext_diffclew/gitenv.pygit_argvclew/gitenv.pygit_envclew/gitenv.py_body_textclew/guard/checks.py_brief_hintclew/guard/checks.py_bus_tagsclew/guard/checks.py_bus_vocabularyclew/guard/checks.py_check_file_block_tagsclew/guard/checks.py_check_one_versionclew/guard/checks.py_crosses_busclew/guard/checks.py_docstring_blockclew/guard/checks.py_edit_distanceclew/guard/checks.py_event_tagsclew/guard/checks.py_exemption_hintclew/guard/checks.py_extract_file_block_textclew/guard/checks.py_find_file_doxygen_startclew/guard/checks.py_first_code_lineclew/guard/checks.py_has_active_requirementsclew/guard/checks.py_has_version_gateclew/guard/checks.py_index_by_identityclew/guard/checks.py_is_rust_unit_fnclew/guard/checks.py_is_void_functionclew/guard/checks.py_pair_by_nameclew/guard/checks.py_pair_copiesclew/guard/checks.py_require_returnclew/guard/checks.py_suggest_file_skeletonclew/guard/checks.py_suggest_skeletonclew/guard/checks.py_suggest_tagclew/guard/checks.py_uncheckableclew/guard/checks.py_validate_tag_valueclew/guard/checks.pycheck_bus_tagsclew/guard/checks.pycheck_duplicate_tagsclew/guard/checks.pycheck_exemption_reasonsclew/guard/checks.pycheck_fails_when_existsclew/guard/checks.pycheck_fails_when_markersclew/guard/checks.pycheck_file_presenceclew/guard/checks.pycheck_presenceclew/guard/checks.pycheck_removed_tagsclew/guard/checks.pycheck_req_coverageclew/guard/checks.pycheck_req_existsclew/guard/checks.pycheck_return_presenceclew/guard/checks.pycheck_satisfiesclew/guard/checks.pycheck_tagsclew/guard/checks.pycheck_unknown_tagsclew/guard/checks.pycheck_version_stalenessclew/guard/checks.py_config_pathclew/guard/config.py_exclude_errorsclew/guard/config.py_fresh_defaultsclew/guard/config.py_log_declared_sectionsclew/guard/config.py_moved_keysclew/guard/config.py_ratio_errorsclew/guard/config.py_reason_errorsclew/guard/config.py_shared_factsclew/guard/config.py_suggest_keyclew/guard/config.py_validate_dict_nodeclew/guard/config.py_validate_map_ofclew/guard/config.py_validate_nodeclew/guard/config.pyapply_opt_in_languagesclew/guard/config.pycompare_versionsclew/guard/config.pydeep_mergeclew/guard/config.pyexemptionclew/guard/config.pyget_language_configclew/guard/config.pyget_requirementsclew/guard/config.pyget_validateclew/guard/config.pyimpact_baseclew/guard/config.pyload_configclew/guard/config.pyparse_content_for_fileclew/guard/config.pyparse_source_fileclew/guard/config.pyparse_source_file_with_contentclew/guard/config.pyparse_versionclew/guard/config.pyread_guard_sectionclew/guard/config.pyread_requirements_sectionclew/guard/config.pyrefuse_doxygen_guard_leftoversclew/guard/config.pyreport_dirclew/guard/config.pyresolve_contained_pathclew/guard/config.pyresolve_parse_settingsclew/guard/config.pyunconfigured_languageclew/guard/config.pyvalidate_config_schemaclew/guard/config.pyvalidate_output_pathclew/guard/config.pybuild_effective_contractclew/guard/contract.pybuild_files_contractclew/guard/contract.pybuild_schema_contractclew/guard/contract.py_collect_req_idsclew/guard/coverage.py_collect_unmapped_functionsclew/guard/coverage.py_exemptclew/guard/coverage.py_realisedclew/guard/coverage.py_tagged_at_pinclew/guard/coverage.py_viaclew/guard/coverage.py_whyclew/guard/coverage.pyanalyze_coverageclew/guard/coverage.pycoverage_gapsclew/guard/coverage.pycovered_viaclew/guard/coverage.pyformat_coverage_textclew/guard/coverage.pyrun_coverageclew/guard/coverage.pytraceabilityclew/guard/coverage.pytraceability_lineclew/guard/coverage.pybuild_fragmentclew/guard/doxyfile.py_gate_matcherclew/guard/filters.pyexcluded_byclew/guard/filters.pygate_exclusionclew/guard/filters.py_rev_parse_headclew/guard/git.pyget_branch_diff_rangeclew/guard/git.pyget_changed_filesclew/guard/git.pyget_diffclew/guard/git.pyget_file_at_revisionclew/guard/git.pyget_merge_baseclew/guard/git.pyget_staged_diffclew/guard/git.pygit_addclew/guard/git.pyparse_changed_linesclew/guard/git.pyrun_gitclew/guard/git.py_cellclew/guard/impact.py_collect_changed_linesclew/guard/impact.py_extract_changed_functionsclew/guard/impact.py_get_file_diffclew/guard/impact.py_get_requirements_configclew/guard/impact.py_markdown_rowclew/guard/impact.py_place_untaggedclew/guard/impact.py_raw_entriesclew/guard/impact.py_reviewersclew/guard/impact.py_summarise_idclew/guard/impact.py_unmapped_markdownclew/guard/impact.py_validate_requirementsclew/guard/impact.pybuild_reportclew/guard/impact.pycollect_changesclew/guard/impact.pyfilter_requirements_by_versionclew/guard/impact.pyformat_jsonclew/guard/impact.pyformat_markdownclew/guard/impact.pyformat_reportclew/guard/impact.pyimpact_reportclew/guard/impact.pyload_external_requirementsclew/guard/impact.pyload_failure_mode_idsclew/guard/impact.pyload_requirementsclew/guard/impact.pyload_requirements_fullclew/guard/impact.py_add_config_parserclew/guard/main.py_add_coverage_parserclew/guard/main.py_add_doxyfile_parserclew/guard/main.py_add_files_parserclew/guard/main.py_add_impact_parserclew/guard/main.py_add_validate_parserclew/guard/main.py_check_retired_subcommandclew/guard/main.py_coverage_gateclew/guard/main.py_detect_current_versionclew/guard/main.py_dispatch_subcommandclew/guard/main.py_first_positionalclew/guard/main.py_has_subcommandclew/guard/main.py_parse_precommit_argsclew/guard/main.py_report_skipsclew/guard/main.py_report_violationsclew/guard/main.py_runclew/guard/main.py_run_config_commandclew/guard/main.py_run_coverage_commandclew/guard/main.py_run_doxyfile_commandclew/guard/main.py_run_files_commandclew/guard/main.py_run_impact_commandclew/guard/main.py_setup_loggingclew/guard/main.py_validate_filesclew/guard/main.py_write_reportclew/guard/main.pybuild_parserclew/guard/main.pymainclew/guard/main.pyresolve_version_gateclew/guard/main.pyrun_precommitclew/guard/main.pyrun_validateclew/guard/main.pyvalidate_fileclew/guard/main.py_finalize_tagclew/guard/parser.py_mask_escaped_atclew/guard/parser.py_split_inline_tagsclew/guard/parser.py_unmask_escaped_atclew/guard/parser.pyapply_autobriefclew/guard/parser.pyparse_doxygen_tagsclew/guard/parser.pyparse_functionsclew/guard/parser.py_extract_tagged_functionclew/guard/tags.py_git_ls_filesclew/guard/tags.py_process_source_fileclew/guard/tags.py_rglob_source_filesclew/guard/tags.pycollect_tagged_functionsclew/guard/tags.pyfind_source_filesclew/guard/tags.py_language_from_configclew/guard/ts_languages.py_looks_like_cpp_headerclew/guard/ts_languages.pyget_language_specclew/guard/ts_languages.pyget_parser_for_languageclew/guard/ts_languages.pylanguage_for_extensionclew/guard/ts_languages.pylanguage_for_fileclew/guard/ts_languages.py_append_declarationclew/guard/ts_parser.py_bound_functionclew/guard/ts_parser.py_collect_c_commentclew/guard/ts_parser.py_collect_functionsclew/guard/ts_parser.py_collect_python_commentsclew/guard/ts_parser.py_collect_rust_docclew/guard/ts_parser.py_declared_functionclew/guard/ts_parser.py_enclosing_class_forclew/guard/ts_parser.py_extract_function_nameclew/guard/ts_parser.py_extract_signatureclew/guard/ts_parser.py_find_preceding_doxygenclew/guard/ts_parser.py_find_python_docstring_blockclew/guard/ts_parser.py_function_carrierclew/guard/ts_parser.py_is_rust_test_itemclew/guard/ts_parser.py_js_returns_voidclew/guard/ts_parser.py_last_rowclew/guard/ts_parser.py_name_from_declaratorclew/guard/ts_parser.py_preceding_nodeclew/guard/ts_parser.py_produced_classclew/guard/ts_parser.py_qualified_enclosingclew/guard/ts_parser.py_resolve_function_nodeclew/guard/ts_parser.py_rust_attributesclew/guard/ts_parser.py_rust_impl_self_typeclew/guard/ts_parser.py_skip_rust_attributesclew/guard/ts_parser.py_unwrap_decoratedclew/guard/ts_parser.pyparse_functions_tsclew/guard/ts_parser.pyfind_indexclew/indexlocate.pyregistered_indexclew/indexlocate.py_eventsclew/mcp_server/comments.py_publicclew/mcp_server/comments.pyallclew/mcp_server/comments.py_catalog_rowsclew/requirements.py_refuse_urlclew/requirements.pygit_textclew/requirements.pylink_idsclew/requirements.pyread_catalog_atclew/requirements.pysatisfies_idsclew/requirements.py_matcherclew/testscope.pyis_test_pathclew/testscope.pyrequire_toml_moduleclew/tomlcompat.pytoml_moduleclew/tomlcompat.py_entry_globsclew/toolchain.py_read_tomlclew/toolchain.py_string_listclew/toolchain.pycompile_globsclew/toolchain.pyload_toolchain_configclew/toolchain.pymatchesclew/toolchain.pymarkerclew/wiki/flowchart.pylinkclew/wiki/themes/clew/static/web.jslistclew/wiki/themes/clew/static/web.js
This diagram as Mermaid · PlantUML · Graphviz DOT
Quick views¶
234 functions, each with its quick view
- modes_of
The failure modes one catalog entry declares.
Map
Show it on the map, in its block's wedge.
Block
Build: docs, requirements and tests layers is the block holding
clew/failuremodes.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- binary_file
The binary classification of one file, or None when it is text or unreadable.
Map
Show it on the map, in its block's wedge.
Block
Build: orchestration is the block holding
clew/filetypes.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- _no_ext_diff
Insert --no-ext-diff after a diff-family subcommand.
Map
Show it on the map, in its block's wedge.
Block
Build: orchestration is the block holding
clew/gitenv.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- git_argv
One git argv with every command-valued configuration key disarmed.
Map
Show it on the map, in its block's wedge.
Block
Build: orchestration is the block holding
clew/gitenv.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- git_env
The current environment with git's hook-repository overrides removed.
Map
Show it on the map, in its block's wedge.
Block
Build: orchestration is the block holding
clew/gitenv.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- _body_text
Extract a function's definition-through-body source text.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _brief_hint
How to supply a missing brief, in the file's own convention.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _bus_tags
The bus tags a configuration enforces; empty when no validate.bus section exists.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _bus_vocabulary
Violations for bus tags naming a bus outside the vocabulary.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _check_file_block_tags
Check required tags in a file-level doxygen block.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _check_one_version
Check one function's @version against its HEAD counterpart.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _crosses_bus
Whether a function is in the bus rule's scope.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _docstring_block
A module docstring's text, from its opening quotes to its closing ones.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _edit_distance
Compute Levenshtein edit distance between two strings.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _event_tags
The event vocabulary: the declaration's event_tags: , else the index's built-in one.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _exemption_hint
Render the exemption tags for an error message, derived from the set.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _extract_file_block_text
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _find_file_doxygen_start
Find the line index of the file-level doxygen block start.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _first_code_line
Find the first non-blank, non-preprocessor line number.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _has_active_requirements
Check if any requirements pass the version gate filter.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _has_version_gate
Check if version gate is configured.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _index_by_identity
Build a lookup of HEAD functions keyed by (enclosing_class, name, signature).
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _is_rust_unit_fn
Whether a Rust function returns unit, read from its signature text.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _is_void_function
Check if a function returns void based on its definition lines.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _pair_by_name
Pair a function left unmatched by identity with its HEAD self, by name, if unambiguous.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _pair_copies
Pair one identity's current copies with its HEAD copies.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _require_return
Whether @return is required for this file: the language's own setting, else the global one.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _suggest_file_skeleton
Build a language-appropriate file-level doxygen skeleton suggestion.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _suggest_skeleton
Build a language-appropriate doxygen skeleton suggestion.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _suggest_tag
Find the closest known tag name using edit distance.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _uncheckable
A tag that cannot be checked because no catalogue is declared (GH #68).
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _validate_tag_value
Check one tag value against pattern, prefix, and contains rules.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- check_bus_tags
Verify that functions crossing a bus carry a bus tag naming a known bus.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- check_duplicate_tags
Flag single-valued doxygen tags that appear more than once in one block.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- check_exemption_reasons
When validate.exemption_reason is required , refuse an exemption tag with no reason.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- check_fails_when_exists
Each @fails_when id must be a failure mode the catalogue declares.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- check_fails_when_markers
Each inline fails_when: marker in a function's body must name a declared mode.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- check_file_presence
Check for file-level doxygen documentation block.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- check_presence
Verify every function has a doxygen comment with @brief and the revision tag.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- check_removed_tags
Refuse a tag removed in 2.0.0, naming its replacement.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- check_req_coverage
Verify functions have requirement or exemption tags when requirements are configured.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- check_req_exists
Cross-validate requirement tag references against the requirements file.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- check_return_presence
Verify non-void functions have @return or @returns tag.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- check_satisfies
A catalogue entry's satisfies ids that no catalogue holds (GH #68).
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- check_tags
Check that doxygen tags match configured patterns, prefixes, and markers.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- check_unknown_tags
Check for unknown tags with Levenshtein-based suggestions.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- check_version_staleness
Detect stale @version tags when function bodies have changed since HEAD.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/checks.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- _config_path
Build a dotted config path from parent path and key.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/config.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _exclude_errors
Refuse a 1.x regex-shaped validate.exclude entry, naming the two 2.0.0 forms.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/config.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _fresh_defaults
Deep-copy the built-in defaults so callers cannot mutate module state.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/config.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _log_declared_sections
Log which top-level sections the user declared versus which are defaulted.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/config.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _moved_keys
Split out the keys that moved in 2.0.0, each with a pointer to its new home.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/config.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _ratio_errors
Refuse a coverage.min_req_ratio that is not a number in (0, 1].
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/config.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _reason_errors
Refuse an exemption_reason setting other than required or optional .
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/config.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _shared_facts
The facts the gate reads from the rest of .clew.yaml : the event vocabulary and sources.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/config.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _suggest_key
Suggest the closest known schema key for a misspelled one.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/config.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _validate_dict_node
Validate dict keys against schema, recursing into sub-nodes.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/config.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _validate_map_of
Validate a mapping of user-named entries against the schema every entry follows.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/config.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _validate_node
Validate a single config node against its schema spec.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/config.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- apply_opt_in_languages
Fill a declared opt-in language (e.g.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/config.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- compare_versions
Compare two version tuples, padding shorter one with zeros.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/config.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- deep_merge
Recursively merge two dicts; override values win for non-dict leaves.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/config.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
No requirement names this function as an implementer.
- exemption
Why a catalogue row is exempt from coverage, or None: its status, or a named field.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/config.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- get_language_config
Match a file path to its language config by extension.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/config.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- get_requirements
Access the requirements catalog section (the top-level requirements: ).
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/config.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
No requirement names this function as an implementer.
- get_validate
Access the validate section of config.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/config.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- impact_base
The ref the impact report diffs against ( guard.impact.base ).
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/config.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
No requirement names this function as an implementer.
- load_config
Load the guard: section of .clew.yaml and merge with built-in defaults.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/config.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- parse_content_for_file
Parse functions out of arbitrary content using a file path's language config.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/config.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- parse_source_file
Parse all functions from a source file using language-aware settings.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/config.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- parse_source_file_with_content
Parse functions and return both the function list and file content.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/config.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- parse_version
Parse a version string like "v1.8.2" into a comparable tuple.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/config.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- read_guard_section
Read the raw guard: mapping out of a .clew.yaml .
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/config.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- read_requirements_section
Read and validate the top-level requirements: section of a .clew.yaml .
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/config.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- refuse_doxygen_guard_leftovers
Refuse to run while a doxygen-guard leftover is in the repository, naming it.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/config.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- report_dir
The directory the impact report is written to and read from.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/config.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- resolve_contained_path
Resolve a config-supplied path and require it to stay inside the repo.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/config.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- resolve_parse_settings
Resolve comment style and body style for a given language config.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/config.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- unconfigured_language
Name a language the gate ships but this config did not enable, for one file.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/config.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- validate_config_schema
Validate user config keys and types against CONFIG_SCHEMA.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/config.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- validate_output_path
Reject output paths containing directory traversal or absolute components.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/config.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
No requirement names this function as an implementer.
- build_effective_contract
Build the effective-config contract for the config currently in force.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/contract.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- build_files_contract
Build the exact post-exclude file set the gate walks for the given roots.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/contract.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- build_schema_contract
Build the full config contract: schema, defaults, and catalog constants.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/contract.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- _collect_req_ids
Collect all requirement IDs referenced across tagged functions.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/coverage.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- _collect_unmapped_functions
Find documented functions with no requirement mapping, skipping exempt ones.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/coverage.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- _exempt
The untagged requirements whose declared status exempts them from coverage.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/coverage.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- _realised
The uncovered requirements one dependency row realises, and how.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/coverage.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _tagged_at_pin
Whether a dependency's code tags a requirement at its pinned revision.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/coverage.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _via
One requirement covered through a dependency, as a report line.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/coverage.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _why
Why one exempt requirement is exempt: its reason, else its status.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/coverage.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- analyze_coverage
Analyze requirement coverage across all documented functions.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/coverage.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- coverage_gaps
Whether a coverage report fails the gate.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/coverage.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- covered_via
The uncovered requirements a pinned dependency realises: implemented or exempt at its pin.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/coverage.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- format_coverage_text
Format coverage report as text.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/coverage.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- run_coverage
Run coverage analysis and return exit code.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/coverage.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- traceability
The requirement ratio: functions with a req tag among those with a req tag or an exemption.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/coverage.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- traceability_line
One line stating the requirement ratio, its per-tag counts and the floor.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/coverage.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- build_fragment
Build the Doxyfile fragment for the given config.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/doxyfile.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- _gate_matcher
The toolchain config and compiled gate matcher for one working directory.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/filters.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- excluded_by
The validate.exclude entry that excludes a path, or None.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/filters.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- gate_exclusion
Why the gate should not read a file, or None when it should.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/filters.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- _rev_parse_head
Get the current HEAD commit SHA.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/git.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- get_branch_diff_range
Build a diff range string from merge-base to HEAD.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/git.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- get_changed_files
The files a revision range (or the index) changed.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/git.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- get_diff
Run git diff for a file over a given revision range.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/git.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- get_file_at_revision
Get a file's content as of a given revision.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/git.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- get_merge_base
Detect the merge-base between current HEAD and a target branch.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/git.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- get_staged_diff
Run git diff cached for a single file.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/git.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- git_add
Stage files for the next git commit.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/git.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
No requirement names this function as an implementer.
- parse_changed_lines
Extract the set of modified line numbers from a unified diff.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/git.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- run_git
Run a git command through the injectable runner, returning None on failure.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/git.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- _cell
Make one table cell out of repo-controlled text.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/impact.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _collect_changed_lines
Collect all changed lines for a file from branch diff and/or staged changes.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/impact.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _extract_changed_functions
Find changed functions in a single file given changed line numbers.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/impact.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _get_file_diff
Get raw diff output for a single file.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/impact.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _get_requirements_config
Extract requirements config, raising if a declared catalog is unusable.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/impact.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _markdown_row
One requirement's table row.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/impact.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _place_untagged
File an untagged change under the requirements its callers reach, else as unmapped.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/impact.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _raw_entries
A catalogue's entries as (id, raw fields), in either catalogue shape.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/impact.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _reviewers
The owners of a requirement's changed files, first-seen order, each once.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/impact.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _summarise_id
Render a catalog key for an error message, truncated and single-line.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/impact.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _unmapped_markdown
The unmapped sections: changes and files that reach no requirement.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/impact.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _validate_requirements
Enforce the name field and the configured ID pattern across a catalog.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/impact.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- build_report
Group changes by requirement, and with a reach step, add tests, via and unmapped.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/impact.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- collect_changes
The changed functions, and the changed files that hold none of them.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/impact.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- filter_requirements_by_version
Filter requirements to those active at the configured current version.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/impact.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- format_json
Render impact entries as a versioned JSON object.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/impact.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- format_markdown
Render impact entries as a markdown table with summary.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/impact.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- format_report
Dispatch to the appropriate formatter based on config.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/impact.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- impact_report
The full report: entries with covering tests and via , and the unmapped lists.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/impact.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- load_external_requirements
The requirement ids of the external catalogues this repository names (GH #68).
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/impact.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- load_failure_mode_ids
Every failure-mode id the local catalogue declares.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/impact.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- load_requirements
Load requirement id -> name mapping (convenience wrapper).
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/impact.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- load_requirements_full
Load full requirement rows from the configured catalog.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/impact.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- _add_config_parser
Add the config subcommand exposing the machine-readable consumer contract.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/main.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _add_coverage_parser
Add the coverage subcommand to the parser.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/main.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _add_doxyfile_parser
Add the doxyfile subcommand emitting a Doxyfile fragment.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/main.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _add_files_parser
Add the files subcommand exposing the exact post-exclude file set.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/main.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _add_impact_parser
Add the impact subcommand to the parser.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/main.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _add_validate_parser
Add the validate subcommand to the parser.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/main.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _check_retired_subcommand
Reject retired subcommands loudly instead of treating them as file paths.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/main.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _coverage_gate
Run the coverage gate for the pre-commit hook.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/main.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _detect_current_version
Resolve the current project version from config, git tag, or CMake.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/main.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _dispatch_subcommand
Dispatch an explicit subcommand to its handler.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/main.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _first_positional
Return the first positional arg, ignoring flags and their values.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/main.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _has_subcommand
Detect whether the first positional arg is a known subcommand.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/main.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _parse_precommit_args
Parse pre-commit mode args (no subcommand) into components.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/main.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _report_skips
Report, on the default surface, the files the gate did not check.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/main.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _report_violations
Print violations and return exit code.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/main.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _run
Load config and dispatch, letting GuardError propagate to the CLI boundary.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/main.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _run_config_command
Emit the consumer contract as JSON.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/main.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _run_coverage_command
Run the coverage subcommand.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/main.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _run_doxyfile_command
Emit the Doxyfile fragment for the current config.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/main.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _run_files_command
Emit the exact post-exclude file set the gate walks, as JSON.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/main.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _run_impact_command
Execute the impact subcommand.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/main.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _setup_logging
Configure logging based on verbosity flag.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/main.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _validate_files
Validate a list of files and report violations.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/main.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _write_report
Write the impact report's markdown and JSON into the report directory.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/main.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- build_parser
Create argparse parser with validate/impact/coverage subcommands.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/main.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- main
Parse arguments and dispatch to the appropriate subcommand.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/main.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- resolve_version_gate
Resolve the version gate in place, failing if it is declared but unresolvable.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/main.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- run_precommit
Run all configured checks in pre-commit mode (no subcommand).
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/main.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- run_validate
Run validation checks on all specified files and report violations.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/main.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- validate_file
Orchestrate presence, staleness, and tag checks for one file.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/main.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- _finalize_tag
Store the current tag's value and reset state.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/parser.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _mask_escaped_at
Mask escaped at-signs so they are not detected as tags.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/parser.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _split_inline_tags
Split a line into segments at inline tag boundaries.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/parser.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _unmask_escaped_at
Restore masked at-signs to a single literal at-sign.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/parser.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- apply_autobrief
Supply @brief from a rustdoc block's summary paragraph when none is written.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/parser.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- parse_doxygen_tags
Parse all doxygen tag entries from comment text.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/parser.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- parse_functions
Parse source code to find functions and their associated doxygen comments.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/parser.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _extract_tagged_function
Build a TaggedFunction for a documented function, or None if undocumented.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/tags.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _git_ls_files
List tracked source files under a directory via git ls-files.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/tags.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _process_source_file
Parse one source file into its documented functions.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/tags.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _rglob_source_files
Fallback source discovery via filesystem glob.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/tags.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- collect_tagged_functions
Walk source directories and collect every documented function.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/tags.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- find_source_files
Find source files for configured languages, applying validate.exclude patterns.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/tags.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _language_from_config
Look up language name from user config extensions.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/ts_languages.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _looks_like_cpp_header
Detect C++ constructs in a .h file to route to cpp grammar.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/ts_languages.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- get_language_spec
Get the LanguageSpec for a named language.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/ts_languages.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- get_parser_for_language
Get a tree-sitter Parser for a named language.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/ts_languages.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- language_for_extension
Resolve a file extension to a language name.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/ts_languages.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- language_for_file
Resolve a file path to a language name using config extensions.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/ts_languages.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- _append_declaration
Record a documented C/C++ declaration as a Function (2.0.0, PG2).
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/ts_parser.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _bound_function
Version 1.1 sees through forwardRef / memo , so a wrapped React component is a function: without it a component declared that way had no definition and every <C /> that rendered it resolved to nothing.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/ts_parser.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _collect_c_comment
Collect C-style doxygen comment block preceding a node.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/ts_parser.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _collect_functions
Version 2: the payload carries typed class members ( variables ).
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/ts_parser.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _collect_python_comments
Collect Python-style doxygen comment lines preceding a node.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/ts_parser.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _collect_rust_doc
Collect the rustdoc outer doc comment ending at prev .
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/ts_parser.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _declared_function
The function declarator a C/C++ declaration declares, or None for anything else.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/ts_parser.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _enclosing_class_for
Resolve enclosing class name when entering a class/struct node.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/ts_parser.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _extract_function_name
Extract function name from an AST function node.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/ts_parser.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _extract_signature
Extract a normalized parameter-list signature from a function node.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/ts_parser.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _find_preceding_doxygen
Find the doxygen comment block preceding a function node.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/ts_parser.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _find_python_docstring_block
Find a docstring inside a Python function body and parse doxygen tags.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/ts_parser.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _function_carrier
The node that carries a function's body and parameters .
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/ts_parser.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _is_rust_test_item
Whether a Rust item is test code: a test function or the #[cfg(test)] module.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/ts_parser.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _js_returns_void
Whether a JS/TS function returns no value, as far as its annotation says.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/ts_parser.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _last_row
The last row a node occupies.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/ts_parser.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _name_from_declarator
Extract the identifier from a C/C++ function_declarator node.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/ts_parser.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _preceding_node
Find the node preceding a definition, stepping out of an enclosing body.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/ts_parser.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _produced_class
The mixin class a bound function produces, or None.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/ts_parser.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _qualified_enclosing
Extract enclosing class from a qualified function declarator (Foo::bar).
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/ts_parser.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _resolve_function_node
Resolve a child node to a function_definition, handling wrappers.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/ts_parser.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _rust_attributes
The attribute texts written directly above a Rust item, e.g.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/ts_parser.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _rust_impl_self_type
The self type an impl block is for, without generic arguments: Foo for impl<T> Trait for Foo<T> .
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/ts_parser.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _skip_rust_attributes
Step back over the #[...] attributes between a Rust item and its doc comment.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/ts_parser.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _unwrap_decorated
Unwrap a decorated_definition to get the inner definition.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/ts_parser.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- parse_functions_ts
Parse functions from source content using tree-sitter.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/guard/ts_parser.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- find_index
The existing index for a repository.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/indexlocate.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- registered_index
The database the MCP target registry has allocated for a repository.
Map
Show it on the map, in its block's wedge.
Block
Guard: the pre-commit gate is the block holding
clew/indexlocate.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _events
The log's events, in order; an unreadable line is skipped.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/mcp_server/comments.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _public
A stored event's public fields.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/mcp_server/comments.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- all
Every comment, oldest first, with its status.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/mcp_server/comments.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- _catalog_rows
The rows of a parsed catalogue, in either shape.
Map
Show it on the map, in its block's wedge.
Block
Build: docs, requirements and tests layers is the block holding
clew/requirements.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _refuse_url
Refuse a source that is a URL.
Map
Show it on the map, in its block's wedge.
Block
Build: docs, requirements and tests layers is the block holding
clew/requirements.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- git_text
Run git in a local checkout through the hardened environment.
Map
Show it on the map, in its block's wedge.
Block
Build: docs, requirements and tests layers is the block holding
clew/requirements.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- link_ids
The ids an entry links upward to, through satisfies or serves .
Map
Show it on the map, in its block's wedge.
Block
Build: docs, requirements and tests layers is the block holding
clew/requirements.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- read_catalog_at
Read a requirements catalogue from a local path or a pinned revision of a local checkout.
Map
Show it on the map, in its block's wedge.
Block
Build: docs, requirements and tests layers is the block holding
clew/requirements.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- satisfies_ids
The requirement ids a satisfies value names, in every spelling a catalogue uses.
Map
Show it on the map, in its block's wedge.
Block
Build: docs, requirements and tests layers is the block holding
clew/requirements.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- _matcher
One compiled regex equivalent to "any of these globs matches".
Map
Show it on the map, in its block's wedge.
Block
Build: docs, requirements and tests layers is the block holding
clew/testscope.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- is_test_path
Whether one repo-relative path is test code under the given patterns.
Map
Show it on the map, in its block's wedge.
Block
Build: docs, requirements and tests layers is the block holding
clew/testscope.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- require_toml_module
Return a TOML-parsing module, raising when none is importable.
Map
Show it on the map, in its block's wedge.
Block
Build: orchestration is the block holding
clew/tomlcompat.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
No requirement names this function as an implementer.
- toml_module
Return a TOML-parsing module, or None when none is importable.
Map
Show it on the map, in its block's wedge.
Block
Build: orchestration is the block holding
clew/tomlcompat.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _entry_globs
The globs of one [[suppress]] entry that suppresses whole files.
Map
Show it on the map, in its block's wedge.
Block
Build: orchestration is the block holding
clew/toolchain.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _read_toml
Read a TOML file into a mapping, recording rather than raising on failure.
Map
Show it on the map, in its block's wedge.
Block
Build: orchestration is the block holding
clew/toolchain.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _string_list
The string list at table[key] , or () when absent or malformed.
Map
Show it on the map, in its block's wedge.
Block
Build: orchestration is the block holding
clew/toolchain.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- compile_globs
Compile globs into the substrate's matcher, dropping any that do not compile.
Map
Show it on the map, in its block's wedge.
Block
Build: orchestration is the block holding
clew/toolchain.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- load_toolchain_config
Locate and read a repository's toolchain.toml and suppress.toml.
Map
Show it on the map, in its block's wedge.
Block
Build: orchestration is the block holding
clew/toolchain.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- matches
Whether a repo-relative path matches, as a file or as a directory.
Map
Show it on the map, in its block's wedge.
Block
Build: orchestration is the block holding
clew/toolchain.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- marker
The failure-mode id an inline marker on this source line names.
Map
Show it on the map, in its block's wedge.
Block
Wiki: this site is the block holding
clew/wiki/flowchart.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- link
Map
Show it on the map, in its block's wedge.
Block
Wiki: this site is the block holding
clew/wiki/themes/clew/static/web.js.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- list
Map
Show it on the map, in its block's wedge.
Block
Wiki: this site is the block holding
clew/wiki/themes/clew/static/web.js.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
No requirement names this function as an implementer.