REQ-DDB-WIKI-003: A wiki section is validated by name and rendered as a self-contained site¶
What it requires
- The
wiki:section of.clew.yamlis accepted and dropped by the build (likeguard:) and read by clew.wiki.config, which names every unknown key as a problem. clew wiki checkreports each problem (unknown key, docs glob matching nothing, flow entry or lanes the index cannot serve, missing test report, link template without{file}) and imports no Sphinx.clew wiki build --out DIR(theclew-trace[wiki]extra) renders the prose as written, one page per flow (inline SVG, step table, function bodies) and the requirement trace with Sphinx's bundled theme, referencing no remote asset.--audience NAMEapplies that audience's rules;exclude_bodiesleaves no function body on any page.
- tier
- PASS
- declared
- implemented
- priority
- P1
How it is met
Implemented by
build_wikiclew/wiki/build.py:95check_wikiclew/wiki/check.py:48
Tests (55)
Linked directly
45 tests: 45 passed
45 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 2: build_wiki | 2 |
test_without_a_hub_the_static_site_is_built_and_opened | passed | inferred | 1 of 2: build_wiki | 2 |
test_the_cli_creates_the_output_directory | passed | inferred | 2 of 2: build_wiki, check_wiki | 3 |
test_the_cli_prints_the_flow_as_json | passed | inferred | 2 of 2: build_wiki, check_wiki | 3 |
test_the_cli_prints_the_trace | passed | inferred | 2 of 2: build_wiki, check_wiki | 3 |
test_the_cli_writes_markdown_without_sphinx | passed | inferred | 2 of 2: build_wiki, check_wiki | 3 |
test_the_cli_writes_otlp_json_and_the_overlay | passed | inferred | 2 of 2: build_wiki, check_wiki | 3 |
test_the_command_prints_yaml_and_applies_a_reviewed_file | passed | inferred | 2 of 2: build_wiki, check_wiki | 3 |
test_the_flow_verb_prints_svg | passed | inferred | 2 of 2: build_wiki, check_wiki | 3 |
test_the_trace_cli_reads_imports_from_the_config | passed | inferred | 2 of 2: build_wiki, check_wiki | 3 |