REQ-DDB-WIKI-005: Sub-catalogs are traced at their pin, and external rules map onto requirements¶
What it requires
wiki.catalogsnames a sibling checkout, a pin and a catalog path; the catalog is read withgit show <pin>:<path>through the hardened git environment, never from the working tree.clew wiki checknames 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).wiki.rulesmaps external rule ids onto requirements; a rule or a node naming a requirement nothing declares or tags is a problem.- The trace page shows rule -> requirement -> function -> test and each catalog's rows at their pin.
- tier
- PASS
- declared
- implemented
- priority
- P1
How it is met
Implemented by
catalog_requirementsclew/wiki/catalogs.py:55pin_problemsclew/wiki/catalogs.py:118report_limitclew/wiki/evidence.py:67trace_problemsclew/wiki/check.py:88
Tests (60)
Linked directly
50 tests: 50 passed
50 passed
Reached through calls
10 tests: 10 passed
10 passed
| test | result | linked by | implementers exercised | calls away |
|---|---|---|---|---|
test_a_running_hub_is_opened_instead_and_a_dead_one_ignored | passed | inferred | 1 of 4: report_limit | 3 |
test_without_a_hub_the_static_site_is_built_and_opened | passed | inferred | 1 of 4: report_limit | 3 |
test_the_cli_creates_the_output_directory | passed | inferred | 4 of 4: catalog_requirements, pin_problems, report_limit, trace_problems | 4 |
test_the_cli_prints_the_flow_as_json | passed | inferred | 4 of 4: catalog_requirements, pin_problems, report_limit, trace_problems | 4 |
test_the_cli_prints_the_trace | passed | inferred | 4 of 4: catalog_requirements, pin_problems, report_limit, trace_problems | 4 |
test_the_cli_writes_markdown_without_sphinx | passed | inferred | 4 of 4: catalog_requirements, pin_problems, report_limit, trace_problems | 4 |
test_the_cli_writes_otlp_json_and_the_overlay | passed | inferred | 4 of 4: catalog_requirements, pin_problems, report_limit, trace_problems | 4 |
test_the_command_prints_yaml_and_applies_a_reviewed_file | passed | inferred | 4 of 4: catalog_requirements, pin_problems, report_limit, trace_problems | 4 |
test_the_flow_verb_prints_svg | passed | inferred | 4 of 4: catalog_requirements, pin_problems, report_limit, trace_problems | 4 |
test_the_trace_cli_reads_imports_from_the_config | passed | inferred | 4 of 4: catalog_requirements, pin_problems, report_limit, trace_problems | 4 |