REQ-DDB-WIKI-001: A sequence flow is derived from the index, not authored

← Requirements

What it requires

  1. clew wiki flow ENTRY (clew.wiki.flow.derive_flow) walks the IDENTITY-scoped call graph from the entry in each caller's source order, emitting one step per call that resolves to an indexed function, with the frames enclosing the call site, the caller and callee lanes (files, packages or threads) and the call level.
  2. A call site naming several identities is one step listing them in ambiguous; a callee already expanded is drawn again but not expanded twice; depth bounds the expansion and stop_at ends a branch.
  3. An unknown entry or lane strategy is refused by name.
  4. Printed as JSON stamped flow_version.
tier
PASS
declared
implemented
priority
P1

Where it lives

  • Wiki: this site2

See it on the map

How it is met

implemented byresults (74 tests)derive_flowwiki_main74 passed74 tests, a summary by result: every test is in the tests table below

Show on the map

Implemented by

Tests (74)

Linked directly

62 tests: 62 passed

62 passed
testresultlinked byimplementers exercisedcalls away
test_an_audience_can_redact_ownerspassedmeasured1 of 2: derive_flow—
test_calls_into_a_vendor_area_end_at_its_boundary_nodepassedmeasured1 of 2: derive_flow—
test_owners_overlay_the_map_and_the_file_pagepassedmeasured1 of 2: derive_flow—
test_the_committed_cli_surface_is_currentpassedmeasured1 of 2: wiki_main—
test_the_hub_runs_a_test_only_when_running_is_switched_onpassedmeasured1 of 2: derive_flow—
test_vendor_areas_sit_outside_the_first_party_circlepassedmeasured1 of 2: derive_flow—
test_a_flow_spec_animates_by_default_and_can_opt_outpassedcatalogunknown—
test_a_not_run_row_names_no_call_sitepassedcatalogunknown—
test_an_animated_diagram_plays_the_steps_in_order_with_no_scriptpassedcatalogunknown—
test_repeated_calls_fold_into_one_loop_framepassedcatalogunknown—
test_the_actor_arrow_is_styled_to_be_seenpassedcatalogunknown—
test_the_default_lane_strategy_is_blockspassedcatalogunknown—
test_the_cli_prints_the_flow_as_jsonpassedmeasured2 of 2: derive_flow, wiki_main1
test_the_cli_writes_markdown_without_sphinxpassedmeasured2 of 2: derive_flow, wiki_main1
test_a_flow_entry_by_file_survives_distinct_identitiespassedmeasured1 of 2: derive_flow1
test_a_flow_entry_is_selected_by_filepassedmeasured1 of 2: derive_flow1
test_a_flow_follows_the_calls_in_order_with_framespassedmeasured1 of 2: derive_flow1
test_a_flow_names_its_actorpassedmeasured1 of 2: derive_flow1
test_a_measured_depth_bounds_measured_expansionpassedmeasured1 of 2: derive_flow1
test_a_measured_flow_expands_what_ran_and_folds_what_did_notpassedmeasured1 of 2: derive_flow1
test_a_not_run_stub_is_drawn_as_a_dim_note_not_a_callpassedmeasured1 of 2: derive_flow1
test_a_step_cap_stops_the_walk_and_says_sopassedmeasured1 of 2: derive_flow1
test_a_step_links_to_its_call_site_not_the_callee_filepassedmeasured1 of 2: derive_flow1
test_an_entry_no_test_ran_is_walked_staticallypassedmeasured1 of 2: derive_flow1
test_an_unknown_entry_is_refused_by_namepassedmeasured1 of 2: derive_flow1
test_an_unmeasured_file_is_walked_statically_never_folded_as_not_runpassedmeasured1 of 2: derive_flow1
test_block_lanes_are_the_maps_blockspassedmeasured1 of 2: derive_flow1
test_check_refresh_brings_the_index_current_firstpassedmeasured1 of 2: wiki_main1
test_depth_bounds_the_walk_and_stop_at_ends_a_branchpassedmeasured1 of 2: derive_flow1
test_package_lanes_are_the_maps_componentspassedmeasured1 of 2: derive_flow1
test_the_actor_lane_is_drawn_first_with_an_arrow_into_the_entrypassedmeasured1 of 2: derive_flow1
test_the_cli_check_exits_nonzero_on_a_problempassedmeasured1 of 2: wiki_main1
test_the_cli_creates_the_output_directorypassedmeasured1 of 2: wiki_main1
test_the_cli_prints_the_tracepassedmeasured1 of 2: wiki_main1
test_the_cli_takes_an_out_of_tree_configpassedmeasured1 of 2: wiki_main1
test_the_cli_writes_otlp_json_and_the_overlaypassedmeasured1 of 2: wiki_main1
test_the_command_prints_yaml_and_applies_a_reviewed_filepassedmeasured1 of 2: wiki_main1
test_the_flow_verb_prints_svgpassedmeasured1 of 2: wiki_main1
test_the_trace_cli_reads_imports_from_the_configpassedmeasured1 of 2: wiki_main1
test_wiki_check_prints_ears_notes_without_failing_on_thempassedmeasured1 of 2: wiki_main1
test_a_markdown_build_writes_the_summary_where_askedpassedmeasured1 of 2: derive_flow3
test_a_build_writes_the_summary_beside_the_sitepassedmeasured1 of 2: derive_flow4
test_a_discovered_flow_that_cannot_be_drawn_is_listed_not_fatalpassedmeasured1 of 2: derive_flow4
test_a_partner_site_bundles_no_body_on_symbol_pagespassedmeasured1 of 2: derive_flow4
test_a_partner_site_carries_no_call_textpassedmeasured1 of 2: derive_flow4
test_a_partner_site_lists_no_assertionspassedmeasured1 of 2: derive_flow4
test_a_public_site_keeps_requirement_text_off_the_requirement_pagepassedmeasured1 of 2: derive_flow4
test_ado_flavour_blocks_order_and_linkspassedmeasured1 of 2: derive_flow4
test_an_audience_that_excludes_bodies_gets_nonepassedmeasured1 of 2: derive_flow4
test_an_imported_trace_is_drawn_over_its_test_flowpassedmeasured1 of 2: derive_flow4
test_build_writes_a_self_contained_sitepassedmeasured1 of 2: derive_flow4
test_exports_obey_the_audiencepassedmeasured1 of 2: derive_flow4
test_github_flavour_pages_and_diagramspassedmeasured1 of 2: derive_flow4
test_needs_json_contributes_requirementspassedmeasured1 of 2: derive_flow4
test_the_markdown_obeys_the_audiencepassedmeasured1 of 2: derive_flow4
test_versions_burn_down_toward_roadmap_milestonespassedmeasured1 of 2: derive_flow4
test_a_failed_fetch_is_said_not_shown_as_no_issuespassedmeasured1 of 2: derive_flow5
test_an_empty_report_is_a_measured_zeropassedmeasured1 of 2: derive_flow5
test_change_impact_follows_a_changed_function_to_requirements_and_flowspassedmeasured1 of 2: derive_flow5
test_open_issues_reach_the_requirement_and_its_grouppassedmeasured1 of 2: derive_flow5
test_the_impact_page_links_the_map_change_lenspassedmeasured1 of 2: derive_flow5
test_without_a_report_the_change_is_not_measuredpassedmeasured1 of 2: derive_flow5
Reached through calls

12 tests: 12 passed

12 passed
testresultlinked byimplementers exercisedcalls away
test_a_markdown_wiki_with_pinned_catalogues_has_the_product_trace_pagepassedinferred1 of 2: derive_flow3
test_an_unknown_flavour_is_refusedpassedinferred1 of 2: derive_flow3
test_a_catalog_that_moved_since_its_pin_fails_checkpassedinferred1 of 2: derive_flow4
test_a_model_no_code_realises_gets_no_pagepassedinferred1 of 2: derive_flow4
test_a_repository_with_pinned_catalogues_gets_the_product_tracepassedinferred1 of 2: derive_flow4
test_the_site_names_a_declared_report_it_could_not_readpassedinferred1 of 2: derive_flow4
test_the_site_shows_nodes_rules_catalogs_and_mutationspassedinferred1 of 2: derive_flow4
test_versioned_builds_and_a_diff_between_thempassedinferred1 of 2: derive_flow4
test_a_linked_test_page_draws_its_flowchart_and_a_test_naming_no_mode_does_notpassedinferred1 of 2: derive_flow5
test_a_page_marks_the_branch_its_recorded_run_failed_onpassedinferred1 of 2: derive_flow5
test_a_running_hub_is_opened_instead_and_a_dead_one_ignoredpassedinferred1 of 2: derive_flow5
test_without_a_hub_the_static_site_is_built_and_openedpassedinferred1 of 2: derive_flow5

Flows through it