REQ-DDB-WIKI-005: Sub-catalogs are traced at their pin, and external rules map onto requirements

← Requirements

What it requires

  1. wiki.catalogs names a sibling checkout, a pin and a catalog path; the catalog is read with git show <pin>:<path> through the hardened git environment, never from the working tree.
  2. clew wiki check names a pin that does not resolve and a catalog whose content at the sibling's HEAD differs from the pin's (moved since the pin).
  3. wiki.rules maps external rule ids onto requirements; a rule or a node naming a requirement nothing declares or tags is a problem.
  4. The trace page shows rule -> requirement -> function -> test and each catalog's rows at their pin.
tier
PASS
declared
implemented
priority
P1

Where it lives

  • Wiki: this site4

See it on the map

How it is met

implemented byresults (60 tests)catalog_requirementspin_problemsreport_limittrace_problems60 passed60 tests, a summary by result: every test is in the tests table below

Show on the map

Implemented by

Tests (60)

Linked directly

50 tests: 50 passed

50 passed
testresultlinked byimplementers exercisedcalls away
test_a_markdown_wiki_with_pinned_catalogues_has_the_product_trace_pagepassedmeasured2 of 4: catalog_requirements, pin_problems—
test_an_audience_can_redact_ownerspassedmeasured1 of 4: report_limit—
test_calls_into_a_vendor_area_end_at_its_boundary_nodepassedmeasured1 of 4: report_limit—
test_owners_overlay_the_map_and_the_file_pagepassedmeasured1 of 4: report_limit—
test_vendor_areas_sit_outside_the_first_party_circlepassedmeasured1 of 4: report_limit—
test_a_function_names_a_node_with_the_node_tagpassedcatalogunknown—
test_a_list_of_scalars_is_a_list_of_idspassedcatalogunknown—
test_a_node_tag_mentioned_in_prose_is_not_a_referencepassedcatalogunknown—
test_mutation_records_attach_to_the_requirement_their_mechanism_implementspassedcatalogunknown—
test_sources_load_nodes_from_toml_mappings_and_yaml_listspassedcatalogunknown—
test_a_sub_catalog_is_read_at_its_pinpassedmeasured1 of 4: catalog_requirements1
test_a_catalog_that_moved_since_its_pin_fails_checkpassedmeasured4 of 4: catalog_requirements, pin_problems, report_limit, trace_problems2
test_a_model_no_code_realises_gets_no_pagepassedmeasured3 of 4: catalog_requirements, pin_problems, report_limit2
test_a_repository_with_pinned_catalogues_gets_the_product_tracepassedmeasured3 of 4: catalog_requirements, pin_problems, report_limit2
test_a_rule_must_name_known_requirementspassedmeasured3 of 4: catalog_requirements, pin_problems, trace_problems2
test_check_refuses_a_reference_to_an_undeclared_nodepassedmeasured3 of 4: catalog_requirements, pin_problems, trace_problems2
test_the_site_names_a_declared_report_it_could_not_readpassedmeasured3 of 4: catalog_requirements, pin_problems, report_limit2
test_the_site_shows_nodes_rules_catalogs_and_mutationspassedmeasured3 of 4: catalog_requirements, pin_problems, report_limit2
test_versioned_builds_and_a_diff_between_thempassedmeasured3 of 4: catalog_requirements, pin_problems, report_limit2
test_a_build_writes_the_summary_beside_the_sitepassedmeasured1 of 4: report_limit2
test_a_declared_docs_glob_that_matches_nothing_is_still_reportedpassedmeasured1 of 4: trace_problems2
test_a_default_docs_glob_that_matches_nothing_is_not_a_problempassedmeasured1 of 4: trace_problems2
test_a_discovered_flow_that_cannot_be_drawn_is_listed_not_fatalpassedmeasured1 of 4: report_limit2
test_a_partner_site_bundles_no_body_on_symbol_pagespassedmeasured1 of 4: report_limit2
test_a_partner_site_carries_no_call_textpassedmeasured1 of 4: report_limit2
test_a_partner_site_lists_no_assertionspassedmeasured1 of 4: report_limit2
test_a_public_site_keeps_requirement_text_off_the_requirement_pagepassedmeasured1 of 4: report_limit2
test_an_audience_that_excludes_bodies_gets_nonepassedmeasured1 of 4: report_limit2
test_an_imported_trace_is_drawn_over_its_test_flowpassedmeasured1 of 4: report_limit2
test_before_tests_a_report_a_run_produces_is_not_yet_requiredpassedmeasured1 of 4: trace_problems2
test_build_writes_a_self_contained_sitepassedmeasured1 of 4: report_limit2
test_check_names_every_missing_importpassedmeasured1 of 4: trace_problems2
test_check_names_every_problempassedmeasured1 of 4: trace_problems2
test_check_passes_a_valid_section_and_imports_no_sphinxpassedmeasured1 of 4: trace_problems2
test_check_refuses_an_unknown_palette_tokenpassedmeasured1 of 4: trace_problems2
test_exports_obey_the_audiencepassedmeasured1 of 4: report_limit2
test_needs_json_contributes_requirementspassedmeasured1 of 4: report_limit2
test_versions_burn_down_toward_roadmap_milestonespassedmeasured1 of 4: report_limit2
test_wiki_check_prints_ears_notes_without_failing_on_thempassedmeasured1 of 4: trace_problems2
test_a_failed_fetch_is_said_not_shown_as_no_issuespassedmeasured1 of 4: report_limit3
test_a_linked_test_page_draws_its_flowchart_and_a_test_naming_no_mode_does_notpassedmeasured1 of 4: report_limit3
test_a_page_marks_the_branch_its_recorded_run_failed_onpassedmeasured1 of 4: report_limit3
test_an_empty_report_is_a_measured_zeropassedmeasured1 of 4: report_limit3
test_change_impact_follows_a_changed_function_to_requirements_and_flowspassedmeasured1 of 4: report_limit3
test_open_issues_reach_the_requirement_and_its_grouppassedmeasured1 of 4: report_limit3
test_the_impact_page_links_the_map_change_lenspassedmeasured1 of 4: report_limit3
test_without_a_report_the_change_is_not_measuredpassedmeasured1 of 4: report_limit3
test_the_cli_takes_an_out_of_tree_configpassedmeasured3 of 4: catalog_requirements, pin_problems, trace_problems4
test_check_refresh_brings_the_index_current_firstpassedmeasured1 of 4: trace_problems4
test_the_cli_check_exits_nonzero_on_a_problempassedmeasured1 of 4: trace_problems4
Reached through calls

10 tests: 10 passed

10 passed
testresultlinked byimplementers exercisedcalls away
test_a_running_hub_is_opened_instead_and_a_dead_one_ignoredpassedinferred1 of 4: report_limit3
test_without_a_hub_the_static_site_is_built_and_openedpassedinferred1 of 4: report_limit3
test_the_cli_creates_the_output_directorypassedinferred4 of 4: catalog_requirements, pin_problems, report_limit, trace_problems4
test_the_cli_prints_the_flow_as_jsonpassedinferred4 of 4: catalog_requirements, pin_problems, report_limit, trace_problems4
test_the_cli_prints_the_tracepassedinferred4 of 4: catalog_requirements, pin_problems, report_limit, trace_problems4
test_the_cli_writes_markdown_without_sphinxpassedinferred4 of 4: catalog_requirements, pin_problems, report_limit, trace_problems4
test_the_cli_writes_otlp_json_and_the_overlaypassedinferred4 of 4: catalog_requirements, pin_problems, report_limit, trace_problems4
test_the_command_prints_yaml_and_applies_a_reviewed_filepassedinferred4 of 4: catalog_requirements, pin_problems, report_limit, trace_problems4
test_the_flow_verb_prints_svgpassedinferred4 of 4: catalog_requirements, pin_problems, report_limit, trace_problems4
test_the_trace_cli_reads_imports_from_the_configpassedinferred4 of 4: catalog_requirements, pin_problems, report_limit, trace_problems4

Flows through it