REQ-DDB-WIKI-037: One click into the wiki — the live hub when it runs, else a built static site

← Requirements

What it requires

  1. clew wiki open opens the running wiki hub's page for the repository when the state root's wiki.json names a live process, ignoring a record left by a dead one; otherwise it brings the index current, builds the static site beside the index (where the hub keeps it) and opens it as a file.
  2. It always prints the URL it opened and opens nothing with --no-browser.
  3. The plugin ships /wiki, running that verb through uv at the plugin's pinned release with the wiki extra, and its manifest names the 2.0.0 surface (three tools, a prompt, the wiki as resources).
tier
PASS
declared
implemented
priority
P1

Where it lives

  • Wiki: this site1

See it on the map

How it is met

implemented bytestsresultopen_maintest_a_running_hub_is_opened_instead_and_a_dead_one_ignoredpassedtest_check_refresh_brings_the_index_current_firstpassedtest_the_cli_check_exits_nonzero_on_a_problempassedtest_the_cli_creates_the_output_directorypassedtest_the_cli_prints_the_flow_as_jsonpassedtest_the_cli_prints_the_tracepassedtest_the_cli_takes_an_out_of_tree_configpassedtest_the_cli_writes_markdown_without_sphinxpassedtest_the_cli_writes_otlp_json_and_the_overlaypassedtest_the_command_prints_yaml_and_applies_a_reviewed_filepassedtest_the_flow_verb_prints_svgpassedtest_the_plugin_ships_a_wiki_command_at_its_pinned_releasepassedtest_the_trace_cli_reads_imports_from_the_configpassedtest_wiki_check_prints_ears_notes_without_failing_on_thempassedtest_without_a_hub_the_static_site_is_built_and_openedpassed

Show on the map

Implemented by

Tests (15)

Linked directly

3 tests: 3 passed

3 passed
testresultlinked byimplementers exercisedcalls away
test_the_plugin_ships_a_wiki_command_at_its_pinned_releasepassedcatalogunknown—
test_a_running_hub_is_opened_instead_and_a_dead_one_ignoredpassedmeasured1 of 1: open_main1
test_without_a_hub_the_static_site_is_built_and_openedpassedmeasured1 of 1: open_main1
Reached through calls

12 tests: 12 passed

12 passed
testresultlinked byimplementers exercisedcalls away
test_check_refresh_brings_the_index_current_firstpassedinferred1 of 1: open_main2
test_the_cli_check_exits_nonzero_on_a_problempassedinferred1 of 1: open_main2
test_the_cli_creates_the_output_directorypassedinferred1 of 1: open_main2
test_the_cli_prints_the_flow_as_jsonpassedinferred1 of 1: open_main2
test_the_cli_prints_the_tracepassedinferred1 of 1: open_main2
test_the_cli_takes_an_out_of_tree_configpassedinferred1 of 1: open_main2
test_the_cli_writes_markdown_without_sphinxpassedinferred1 of 1: open_main2
test_the_cli_writes_otlp_json_and_the_overlaypassedinferred1 of 1: open_main2
test_the_command_prints_yaml_and_applies_a_reviewed_filepassedinferred1 of 1: open_main2
test_the_flow_verb_prints_svgpassedinferred1 of 1: open_main2
test_the_trace_cli_reads_imports_from_the_configpassedinferred1 of 1: open_main2
test_wiki_check_prints_ears_notes_without_failing_on_thempassedinferred1 of 1: open_main2