REQ-DDB-GUARD-027: External requirements catalogues, and no @req passes unchecked

← Requirements

What it requires

  1. impact.requirements.external names catalogues this repository does not own, each a local path or {repo, rev, path} read with git show at that revision from a local checkout; their ids join the local catalogue for cross_reference, and file is optional beside them.
  2. A URL source is refused naming it.
  3. An unreadable or empty external catalogue is an error, never an empty set.
  4. With cross_reference on and no catalogue at all, each @req tag is a violation saying it cannot be checked.
  5. The wiki's pinned sub-catalogues are read through the same reader.
tier
PASS
declared
implemented
priority
P1

Where it lives

  • Build: docs, requirements and tests layers2
  • Guard: the pre-commit gate2

See it on the map

How it is met

implemented byresults (158 tests)_uncheckablegit_textload_external_requirementsread_catalog_at158 passed158 tests, a summary by result: every test is in the tests table below

Show on the map

Implemented by

Tests (158)

Linked directly

59 tests: 59 passed

59 passed
testresultlinked byimplementers exercisedcalls away
test_a_pinned_external_catalogue_is_read_at_its_revisionpassedmeasured3 of 4: git_text, load_external_requirements, read_catalog_at—
test_a_namespaced_satisfies_id_resolves_by_its_bare_idpassedmeasured2 of 4: load_external_requirements, read_catalog_at—
test_a_tag_with_no_catalogue_to_check_it_is_reportedpassedmeasured2 of 4: _uncheckable, load_external_requirements—
test_an_external_catalogue_satisfies_cross_reference_without_a_local_onepassedmeasured2 of 4: load_external_requirements, read_catalog_at—
test_the_gate_refuses_a_satisfies_id_no_catalogue_holdspassedmeasured2 of 4: load_external_requirements, read_catalog_at—
test_a_checked_tree_says_nothing_extrapassedmeasured1 of 4: load_external_requirements—
test_a_clean_repo_passespassedmeasured1 of 4: load_external_requirements—
test_a_configured_language_is_not_reportedpassedmeasured1 of 4: load_external_requirements—
test_a_non_source_file_stays_silentpassedmeasured1 of 4: load_external_requirements—
test_a_non_void_return_type_on_its_own_line_still_needs_onepassedmeasured1 of 4: load_external_requirements—
test_a_symlinked_impact_directory_is_refusedpassedmeasured1 of 4: load_external_requirements—
test_a_void_return_type_on_its_own_line_needs_no_return_tagpassedmeasured1 of 4: load_external_requirements—
test_an_excluded_file_is_counted_as_not_checkedpassedmeasured1 of 4: load_external_requirements—
test_an_opt_in_language_left_unconfigured_is_namedpassedmeasured1 of 4: load_external_requirements—
test_an_unchecked_file_is_named_without_the_verbose_flagpassedmeasured1 of 4: load_external_requirements—
test_custom_configpassedmeasured1 of 4: load_external_requirements—
test_default_subcommand_with_filespassedmeasured1 of 4: load_external_requirements—
test_literal_version_resolvespassedmeasured1 of 4: load_external_requirements—
test_precommit_mode_flags_a_stale_rust_functionpassedmeasured1 of 4: load_external_requirements—
test_precommit_with_impactpassedmeasured1 of 4: load_external_requirements—
test_the_pre_commit_hook_runs_the_coverage_gatepassedmeasured1 of 4: load_external_requirements—
test_validate_clean_filepassedmeasured1 of 4: load_external_requirements—
test_validate_dirty_filepassedmeasured1 of 4: load_external_requirements—
test_validate_nonexistent_filepassedmeasured1 of 4: load_external_requirements—
test_validate_writes_the_format_to_stdout_and_keeps_the_exit_codepassedmeasured1 of 4: load_external_requirements—
test_verbose_flagpassedmeasured1 of 4: load_external_requirements—
test_a_catalogue_not_marked_parent_still_refusespassedmeasured3 of 4: git_text, load_external_requirements, read_catalog_at1
test_a_present_parent_is_checked_and_a_broken_link_is_a_violationpassedmeasured3 of 4: git_text, load_external_requirements, read_catalog_at1
test_an_absent_parent_is_reported_unchecked_not_refusedpassedmeasured3 of 4: git_text, load_external_requirements, read_catalog_at1
test_a_url_is_refused_by_namepassedmeasured1 of 4: read_catalog_at1
test_the_wiki_and_the_gate_read_catalogues_through_one_readerpassedmeasured1 of 4: read_catalog_at1
test_a_sub_catalog_is_read_at_its_pinpassedmeasured2 of 4: git_text, read_catalog_at2
test_evidence_is_withheld_unless_the_index_is_at_the_pinpassedmeasured1 of 4: git_text2
test_a_requirement_implemented_by_a_dependency_at_its_pin_is_covered_via_itpassedmeasured2 of 4: git_text, read_catalog_at3
test_a_catalog_that_moved_since_its_pin_fails_checkpassedmeasured2 of 4: git_text, read_catalog_at4
test_a_dependency_catalogue_is_read_at_its_pinpassedmeasured2 of 4: git_text, read_catalog_at4
test_a_dependency_requirement_implemented_here_is_served_not_unreachedpassedmeasured2 of 4: git_text, read_catalog_at4
test_a_repository_cycle_terminatespassedmeasured2 of 4: git_text, read_catalog_at4
test_a_rule_must_name_known_requirementspassedmeasured2 of 4: git_text, read_catalog_at4
test_a_tagged_requirement_without_a_catalogue_entry_is_a_rootpassedmeasured2 of 4: git_text, read_catalog_at4
test_an_indexed_dependency_carries_its_tracepassedmeasured2 of 4: git_text, read_catalog_at4
test_an_unknown_dependency_carries_no_evidence_and_links_its_checkoutpassedmeasured2 of 4: git_text, read_catalog_at4
test_check_refuses_a_reference_to_an_undeclared_nodepassedmeasured2 of 4: git_text, read_catalog_at4
test_one_repository_pinned_twice_is_a_conflictpassedmeasured2 of 4: git_text, read_catalog_at4
test_the_tree_is_composed_transitively_and_namespacedpassedmeasured2 of 4: git_text, read_catalog_at4
test_the_wiki_tree_follows_a_serves_linkpassedmeasured2 of 4: git_text, read_catalog_at4
test_unreached_and_dangling_are_reportedpassedmeasured2 of 4: git_text, read_catalog_at4
test_a_markdown_wiki_with_pinned_catalogues_has_the_product_trace_pagepassedmeasured2 of 4: git_text, read_catalog_at5
test_a_requirement_with_a_page_here_links_to_itpassedmeasured2 of 4: git_text, read_catalog_at5
test_check_reports_dangling_links_and_pin_conflictspassedmeasured2 of 4: git_text, read_catalog_at5
test_the_markdown_output_carries_the_product_tracepassedmeasured2 of 4: git_text, read_catalog_at5
test_the_page_draws_the_tree_with_each_rows_evidence_statepassedmeasured2 of 4: git_text, read_catalog_at5
test_the_page_obeys_the_audiencepassedmeasured2 of 4: git_text, read_catalog_at5
test_the_cli_takes_an_out_of_tree_configpassedmeasured2 of 4: git_text, read_catalog_at6
test_a_model_no_code_realises_gets_no_pagepassedmeasured2 of 4: git_text, read_catalog_at7
test_a_repository_with_pinned_catalogues_gets_the_product_tracepassedmeasured2 of 4: git_text, read_catalog_at7
test_the_site_names_a_declared_report_it_could_not_readpassedmeasured2 of 4: git_text, read_catalog_at7
test_the_site_shows_nodes_rules_catalogs_and_mutationspassedmeasured2 of 4: git_text, read_catalog_at7
test_versioned_builds_and_a_diff_between_thempassedmeasured2 of 4: git_text, read_catalog_at7
Reached through calls

99 tests: 99 passed

99 passed
testresultlinked byimplementers exercisedcalls away
test_no_req_ids_skipspassedinferred1 of 4: _uncheckable2
test_stale_req_violationpassedinferred1 of 4: _uncheckable2
test_valid_req_no_violationpassedinferred1 of 4: _uncheckable2
test_an_exempt_status_is_listed_not_counted_as_a_gappassedinferred2 of 4: git_text, read_catalog_at3
test_analyze_coverage_structurepassedinferred2 of 4: git_text, read_catalog_at3
test_coverage_treats_a_declaration_and_its_definition_as_onepassedinferred2 of 4: git_text, read_catalog_at3
test_off_by_default_nothing_changespassedinferred2 of 4: git_text, read_catalog_at3
test_without_exempt_status_nothing_is_exemptpassedinferred2 of 4: git_text, read_catalog_at3
test_a_broken_toolchain_file_is_reported_not_fatalpassedinferred1 of 4: _uncheckable3
test_all_checks_runpassedinferred1 of 4: _uncheckable3
test_binary_named_as_source_is_skippedpassedinferred1 of 4: _uncheckable3
test_clew_specific_ignores_apply_to_the_gatepassedinferred1 of 4: _uncheckable3
test_decorative_triggers_presence_violationpassedinferred1 of 4: _uncheckable3
test_docstring_satisfies_req_tagpassedinferred1 of 4: _uncheckable3
test_docstring_tags_satisfy_presencepassedinferred1 of 4: _uncheckable3
test_documented_file_no_violationspassedinferred1 of 4: _uncheckable3
test_excluded_filepassedinferred1 of 4: _uncheckable3
test_excluded_path_is_absent_and_gate_skips_itpassedinferred1 of 4: _uncheckable3
test_fixture_violationspassedinferred1 of 4: _uncheckable3
test_fully_documented_pythonpassedinferred1 of 4: _uncheckable3
test_inner_doc_satisfies_the_file_block_without_at_filepassedinferred1 of 4: _uncheckable3
test_javascript_extensionspassedinferred1 of 4: _uncheckable3
test_missing_file_block_suggests_inner_docpassedinferred1 of 4: _uncheckable3
test_nested_lookalike_path_agreespassedinferred1 of 4: _uncheckable3
test_no_false_positivespassedinferred1 of 4: _uncheckable3
test_no_false_positives_with_attributespassedinferred1 of 4: _uncheckable3
test_only_definitions_checkedpassedinferred1 of 4: _uncheckable3
test_opt_inpassedinferred1 of 4: _uncheckable3
test_presence_message_c_style_for_c_filepassedinferred1 of 4: _uncheckable3
test_presence_message_includes_return_for_non_voidpassedinferred1 of 4: _uncheckable3
test_presence_message_omits_return_for_voidpassedinferred1 of 4: _uncheckable3
test_presence_message_python_stylepassedinferred1 of 4: _uncheckable3
test_require_return_bites_only_on_valued_annotationspassedinferred1 of 4: _uncheckable3
test_return_is_not_required_for_rustpassedinferred1 of 4: _uncheckable3
test_return_requirement_can_be_turned_back_onpassedinferred1 of 4: _uncheckable3
test_rust_is_opt_inpassedinferred1 of 4: _uncheckable3
test_toolchain_ignore_paths_skip_validationpassedinferred1 of 4: _uncheckable3
test_tsx_file_uses_typescript_configpassedinferred1 of 4: _uncheckable3
test_unknown_extension_skippedpassedinferred1 of 4: _uncheckable3
test_validate_file_pythonpassedinferred1 of 4: _uncheckable3
test_violationspassedinferred1 of 4: _uncheckable3
test_without_toolchain_files_everything_is_checkedpassedinferred1 of 4: _uncheckable3
test_a_declared_docs_glob_that_matches_nothing_is_still_reportedpassedinferred2 of 4: git_text, read_catalog_at4
test_a_default_docs_glob_that_matches_nothing_is_not_a_problempassedinferred2 of 4: git_text, read_catalog_at4
test_before_tests_a_report_a_run_produces_is_not_yet_requiredpassedinferred2 of 4: git_text, read_catalog_at4
test_check_names_every_missing_importpassedinferred2 of 4: git_text, read_catalog_at4
test_check_names_every_problempassedinferred2 of 4: git_text, read_catalog_at4
test_check_passes_a_valid_section_and_imports_no_sphinxpassedinferred2 of 4: git_text, read_catalog_at4
test_check_refuses_an_unknown_palette_tokenpassedinferred2 of 4: git_text, read_catalog_at4
test_wiki_check_prints_ears_notes_without_failing_on_thempassedinferred2 of 4: git_text, read_catalog_at4
test_with_every_gap_exempt_the_gate_passes_and_still_names_thempassedinferred2 of 4: git_text, read_catalog_at4
test_a_cpp_member_declaration_is_checked_toopassedinferred1 of 4: _uncheckable4
test_a_dead_req_on_a_documented_declaration_is_refusedpassedinferred1 of 4: _uncheckable4
test_a_declaration_does_not_need_its_own_reqpassedinferred1 of 4: _uncheckable4
test_a_documented_declaration_needs_its_versionpassedinferred1 of 4: _uncheckable4
test_an_undocumented_declaration_is_not_a_findingpassedinferred1 of 4: _uncheckable4
test_class_level_block_does_not_leak_to_first_methodpassedinferred1 of 4: _uncheckable4
test_excludes_are_globs_and_a_regex_says_sopassedinferred1 of 4: _uncheckable4
test_first_method_after_class_docstring_still_foundpassedinferred1 of 4: _uncheckable4
test_first_method_directly_after_class_linepassedinferred1 of 4: _uncheckable4
test_later_method_still_foundpassedinferred1 of 4: _uncheckable4
test_nested_class_first_methodpassedinferred1 of 4: _uncheckable4
test_a_markdown_build_writes_the_summary_where_askedpassedinferred2 of 4: git_text, read_catalog_at5
test_an_unknown_flavour_is_refusedpassedinferred2 of 4: git_text, read_catalog_at5
test_ado_flavour_blocks_order_and_linkspassedinferred2 of 4: git_text, read_catalog_at6
test_check_refresh_brings_the_index_current_firstpassedinferred2 of 4: git_text, read_catalog_at6
test_github_flavour_pages_and_diagramspassedinferred2 of 4: git_text, read_catalog_at6
test_the_cli_check_exits_nonzero_on_a_problempassedinferred2 of 4: git_text, read_catalog_at6
test_the_cli_creates_the_output_directorypassedinferred2 of 4: git_text, read_catalog_at6
test_the_cli_prints_the_flow_as_jsonpassedinferred2 of 4: git_text, read_catalog_at6
test_the_cli_prints_the_tracepassedinferred2 of 4: git_text, read_catalog_at6
test_the_cli_writes_markdown_without_sphinxpassedinferred2 of 4: git_text, read_catalog_at6
test_the_cli_writes_otlp_json_and_the_overlaypassedinferred2 of 4: git_text, read_catalog_at6
test_the_command_prints_yaml_and_applies_a_reviewed_filepassedinferred2 of 4: git_text, read_catalog_at6
test_the_flow_verb_prints_svgpassedinferred2 of 4: git_text, read_catalog_at6
test_the_markdown_obeys_the_audiencepassedinferred2 of 4: git_text, read_catalog_at6
test_the_trace_cli_reads_imports_from_the_configpassedinferred2 of 4: git_text, read_catalog_at6
test_a_build_writes_the_summary_beside_the_sitepassedinferred2 of 4: git_text, read_catalog_at7
test_a_discovered_flow_that_cannot_be_drawn_is_listed_not_fatalpassedinferred2 of 4: git_text, read_catalog_at7
test_a_partner_site_bundles_no_body_on_symbol_pagespassedinferred2 of 4: git_text, read_catalog_at7
test_a_partner_site_carries_no_call_textpassedinferred2 of 4: git_text, read_catalog_at7
test_a_partner_site_lists_no_assertionspassedinferred2 of 4: git_text, read_catalog_at7
test_a_public_site_keeps_requirement_text_off_the_requirement_pagepassedinferred2 of 4: git_text, read_catalog_at7
test_an_audience_that_excludes_bodies_gets_nonepassedinferred2 of 4: git_text, read_catalog_at7
test_an_imported_trace_is_drawn_over_its_test_flowpassedinferred2 of 4: git_text, read_catalog_at7
test_build_writes_a_self_contained_sitepassedinferred2 of 4: git_text, read_catalog_at7
test_exports_obey_the_audiencepassedinferred2 of 4: git_text, read_catalog_at7
test_needs_json_contributes_requirementspassedinferred2 of 4: git_text, read_catalog_at7
test_versions_burn_down_toward_roadmap_milestonespassedinferred2 of 4: git_text, read_catalog_at7
test_a_failed_fetch_is_said_not_shown_as_no_issuespassedinferred2 of 4: git_text, read_catalog_at8
test_a_linked_test_page_draws_its_flowchart_and_a_test_naming_no_mode_does_notpassedinferred2 of 4: git_text, read_catalog_at8
test_a_page_marks_the_branch_its_recorded_run_failed_onpassedinferred2 of 4: git_text, read_catalog_at8
test_a_running_hub_is_opened_instead_and_a_dead_one_ignoredpassedinferred2 of 4: git_text, read_catalog_at8
test_an_empty_report_is_a_measured_zeropassedinferred2 of 4: git_text, read_catalog_at8
test_change_impact_follows_a_changed_function_to_requirements_and_flowspassedinferred2 of 4: git_text, read_catalog_at8
test_open_issues_reach_the_requirement_and_its_grouppassedinferred2 of 4: git_text, read_catalog_at8
test_the_impact_page_links_the_map_change_lenspassedinferred2 of 4: git_text, read_catalog_at8
test_without_a_hub_the_static_site_is_built_and_openedpassedinferred2 of 4: git_text, read_catalog_at8
test_without_a_report_the_change_is_not_measuredpassedinferred2 of 4: git_text, read_catalog_at8

Flows through it