REQ-DDB-CONFIG-005: The Kconfig CONFIGURATION SPACE is discovered, stored and searchable

← Requirements

What it requires

  1. A repo's top-level Kconfig is located explicit-declaration-first (kconfig.root), then at the repo root, then among a fixed set of conventional application directories, REFUSING on two or more candidates; its symbols are stored with name, declared type, prompt, help, default expression (conditions kept) and the choice group they belong to; every prompt and help block is inserted into supplementary_docs so search_prose reaches a limitation documented nowhere else; and the discovery source, root, symbol/choice/ documented counts and any PARSE ERROR are persisted to build_meta under a kconfig. prefix.
  2. A repo with no Kconfig creates no table, writes no row and builds identically.
  3. No resolved value is stored — the space is structure, the variant a build used is preprocessor.*.
tier
PASS
declared
implemented
priority
P1

Where it lives

  • Build: concurrency and config layers9

See it on the map

How it is met

implemented byresults (262 tests)as_metadescribe_searchdiscover_kconfigdocumentedfoundimport_kconfigingest_kconfig_proseload_kconfigstore_kconfig262 passed262 tests, a summary by result: every test is in the tests table below

Show on the map

Implemented by

Tests (262)

Linked directly

237 tests: 237 passed

237 passed
testresultlinked byimplementers exercisedcalls away
test_a_body_read_after_the_file_moved_is_disclosed_not_returned_silentlypassedmeasured5 of 9—
test_a_cli_build_registers_the_target_it_wrotepassedmeasured5 of 9—
test_a_declared_config_header_supplies_its_macrospassedmeasured5 of 9—
test_a_declared_event_vocabulary_reaches_the_importerpassedmeasured5 of 9—
test_a_declared_predefined_list_reaches_doxygenpassedmeasured5 of 9—
test_a_dossier_reports_the_gates_covering_the_functionpassedmeasured5 of 9—
test_a_first_party_refresh_leaves_the_vendored_index_alonepassedmeasured5 of 9—
test_a_first_party_refresh_never_walks_inside_a_vendored_treepassedmeasured5 of 9—
test_a_gate_says_whether_this_build_satisfied_itpassedmeasured5 of 9—
test_a_real_build_records_a_breakdown_covering_every_stagepassedmeasured5 of 9—
test_a_real_build_stamps_the_diagnostics_sectionpassedmeasured5 of 9—
test_a_repo_with_its_own_predefined_is_not_overriddenpassedmeasured5 of 9—
test_a_split_build_separates_first_party_from_vendoredpassedmeasured5 of 9—
test_a_stated_configuration_survives_export_declare_rebuildpassedmeasured5 of 9—
test_a_stated_index_scope_narrows_the_index_and_a_withdrawal_widens_itpassedmeasured5 of 9—
test_a_stated_index_scope_survives_a_plain_rebuildpassedmeasured5 of 9—
test_a_stated_manifest_survives_a_rebuild_and_a_withdrawal_undoes_itpassedmeasured5 of 9—
test_a_stated_predefined_survives_a_rebuild_and_a_withdrawal_undoes_itpassedmeasured5 of 9—
test_a_stated_preprocessor_section_reaches_the_stage_through_the_declarationpassedmeasured5 of 9—
test_a_stated_vocabulary_beats_the_repos_declarationpassedmeasured5 of 9—
test_a_vendored_sub_indexs_own_stated_exclude_replayspassedmeasured5 of 9—
test_a_vendored_trees_own_vendored_tree_is_not_swallowedpassedmeasured5 of 9—
test_an_explicit_flag_replaces_the_declarationpassedmeasured5 of 9—
test_an_incremental_refresh_equals_a_full_rebuildpassedmeasured5 of 9—
test_an_index_with_no_statement_exports_a_document_that_states_nothingpassedmeasured5 of 9—
test_an_undeclared_repo_vocabulary_is_silent_without_the_declarationpassedmeasured5 of 9—
test_an_undeclared_target_is_untouchedpassedmeasured5 of 9—
test_build_index_against_a_rust_repo_is_queryablepassedmeasured5 of 9—
test_build_produces_valid_empty_db_for_sourceless_repopassedmeasured5 of 9—
test_build_survives_malformed_source_filepassedmeasured5 of 9—
test_default_vocabulary_still_produces_event_edges_end_to_endpassedmeasured5 of 9—
test_every_derived_sub_index_name_is_discoverablepassedmeasured5 of 9—
test_mcp_refresh_of_a_vendored_sub_index_excludes_its_own_childrenpassedmeasured5 of 9—
test_the_agent_reads_waiting_comments_through_indexpassedmeasured5 of 9—
test_the_breakdown_sums_to_within_the_reported_durationpassedmeasured5 of 9—
test_the_build_runs_in_process_and_keeps_stdout_cleanpassedmeasured5 of 9—
test_the_declaration_works_beside_the_guard_sectionpassedmeasured5 of 9—
test_vendor_areas_sit_outside_the_first_party_circlepassedmeasured5 of 9—
test_a_config_prefixed_symbol_is_labelled_kconfig_whatever_else_is_declaredpassedcatalogunknown—
test_a_config_symbol_does_not_outrank_a_function_it_gatespassedcatalogunknown—
test_a_gate_covers_its_own_branch_and_the_else_gets_inverted_polaritypassedcatalogunknown—
test_a_gate_without_an_extent_is_reported_as_unknown_not_as_ungatedpassedcatalogunknown—
test_a_gated_on_symbol_is_a_dossier_subjectpassedcatalogunknown—
test_a_name_that_is_neither_declared_nor_gated_is_still_not_a_config_subjectpassedcatalogunknown—
test_a_plain_ifndef_gate_survives_the_include_guard_exclusionpassedcatalogunknown—
test_a_repo_that_uses_no_kconfig_still_gets_a_gate_layerpassedcatalogunknown—
test_a_runtime_is_enabled_branch_is_not_a_gatepassedcatalogunknown—
test_an_include_guard_is_not_a_configuration_gatepassedcatalogunknown—
test_configured_macros_carry_their_provenance_and_a_routepassedcatalogunknown—
test_declared_macro_names_drops_the_value_halfpassedcatalogunknown—
test_defined_is_an_operator_and_never_a_gating_symbolpassedcatalogunknown—
test_gating_sites_record_the_form_and_the_linepassedcatalogunknown—
test_one_conditional_naming_two_symbols_yields_two_rowspassedcatalogunknown—
test_origin_labels_the_declared_variant_without_filtering_the_restpassedcatalogunknown—
test_search_finds_a_gating_symbol_by_namepassedcatalogunknown—
test_the_config_inventory_lists_symbols_and_honours_textpassedcatalogunknown—
test_the_declaration_section_spelling_is_pinnedpassedcatalogunknown—
test_the_gate_layer_reports_its_own_state_independently_of_kconfigpassedcatalogunknown—
test_the_gate_list_can_be_narrowed_to_one_symbolpassedcatalogunknown—
test_the_stated_macro_split_reaches_the_served_replypassedcatalogunknown—
test_a_kconfig_that_cannot_be_parsed_is_recorded_rather_than_silentpassedmeasured8 of 91
test_a_measured_zero_survives_the_build_signaturepassedmeasured8 of 91
test_gate_counts_reach_the_symbol_rowspassedmeasured8 of 91
test_the_configured_variant_travels_beside_the_spacepassedmeasured8 of 91
test_the_stored_tables_round_trip_through_the_query_layerpassedmeasured8 of 91
test_a_gate_on_an_undeclared_symbol_is_keptpassedmeasured6 of 91
test_a_limitation_documented_only_in_help_is_searchablepassedmeasured6 of 91
test_prompt_and_symbol_name_both_reach_the_prose_corpuspassedmeasured6 of 91
test_a_kconfig_parse_is_given_a_minimal_environmentpassedmeasured5 of 91
test_a_repo_with_no_kconfig_is_completely_unaffectedpassedmeasured5 of 91
test_kconfig_prose_must_be_ingested_after_the_markdown_ingestpassedmeasured3 of 9: discover_kconfig, ingest_kconfig_prose, load_kconfig1
test_a_kconfig_sourcing_outside_the_repository_is_refusedpassedmeasured2 of 9: discover_kconfig, load_kconfig1
test_a_parse_failure_records_the_location_and_not_the_linepassedmeasured2 of 9: discover_kconfig, load_kconfig1
test_a_repo_supplied_kconfig_functions_module_is_not_importedpassedmeasured2 of 9: discover_kconfig, load_kconfig1
test_a_sourced_file_is_parsed_and_choices_group_their_memberspassedmeasured2 of 9: discover_kconfig, load_kconfig1
test_locations_are_repo_relative_and_point_at_the_declaring_filepassedmeasured2 of 9: discover_kconfig, load_kconfig1
test_store_kconfig_refuses_an_unfound_model_on_its_ownpassedmeasured2 of 9: found, store_kconfig1
test_types_defaults_and_conditions_survive_verbatimpassedmeasured2 of 9: discover_kconfig, load_kconfig1
test_a_declared_but_missing_root_is_not_silently_replaced_by_conventionpassedmeasured1 of 9: discover_kconfig1
test_a_declared_root_beats_conventionpassedmeasured1 of 9: discover_kconfig1
test_a_declared_root_outside_the_repository_is_refusedpassedmeasured1 of 9: discover_kconfig1
test_a_single_conventional_candidate_is_acceptedpassedmeasured1 of 9: discover_kconfig1
test_an_unambiguous_root_kconfig_is_found_and_stored_repo_relativepassedmeasured1 of 9: discover_kconfig1
test_convention_refuses_among_several_candidatespassedmeasured1 of 9: discover_kconfig1
test_a_bare_call_resolves_lexicallypassedmeasured5 of 94
test_a_build_records_how_many_files_were_in_scopepassedmeasured5 of 94
test_a_build_writes_the_summary_beside_the_sitepassedmeasured5 of 94
test_a_class_dossier_names_its_merged_interfacepassedmeasured5 of 94
test_a_class_dossier_shows_its_declaration_and_prefers_the_classpassedmeasured5 of 94
test_a_declared_vendored_path_is_vendoredpassedmeasured5 of 94
test_a_dossier_reply_carries_a_wiki_url_only_while_the_hub_runspassedmeasured5 of 94
test_a_fast_refresh_serves_the_edited_files_includes_as_a_full_build_doespassedmeasured5 of 94
test_a_forwardref_component_has_its_renderer_as_a_jsx_callerpassedmeasured5 of 94
test_a_markdown_build_writes_the_summary_where_askedpassedmeasured5 of 94
test_a_markdown_wiki_with_pinned_catalogues_has_the_product_trace_pagepassedmeasured5 of 94
test_a_merged_interface_and_class_are_both_candidatespassedmeasured5 of 94
test_a_mixin_calls_its_base_through_thispassedmeasured5 of 94
test_a_node_tag_mentioned_in_prose_is_not_a_referencepassedmeasured5 of 94
test_a_preprocessor_line_outside_any_function_is_searchablepassedmeasured5 of 94
test_a_python_class_dossier_shows_its_declarationpassedmeasured5 of 94
test_a_query_word_matches_as_a_prefixpassedmeasured5 of 94
test_a_recovered_c_function_body_is_searchablepassedmeasured5 of 94
test_a_rendered_component_has_its_renderer_as_a_jsx_callerpassedmeasured5 of 94
test_a_signature_candidate_reports_its_linepassedmeasured5 of 94
test_a_signature_row_has_no_bodypassedmeasured5 of 94
test_a_type_signature_does_not_split_attributionpassedmeasured5 of 94
test_a_typed_module_constant_does_not_type_another_files_receiverpassedmeasured5 of 94
test_a_whole_word_match_ranks_before_a_prefix_only_matchpassedmeasured5 of 94
test_a_word_matches_inside_identifiers_and_e2e_ranks_lastpassedmeasured5 of 94
test_an_imported_trace_is_drawn_over_its_test_flowpassedmeasured5 of 94
test_an_indexed_build_records_the_resolved_pathpassedmeasured5 of 94
test_an_inflected_word_finds_its_stempassedmeasured5 of 94
test_build_fills_only_what_doxygen_left_barepassedmeasured5 of 94
test_build_honours_toolchain_config_and_skips_binariespassedmeasured5 of 94
test_building_an_index_over_such_a_doxyfile_warnspassedmeasured5 of 94
test_check_refuses_a_reference_to_an_undeclared_nodepassedmeasured5 of 94
test_facts_declared_patterns_and_poetry_scripts_are_entry_pointspassedmeasured5 of 94
test_text_after_internal_is_in_the_indexpassedmeasured5 of 94
test_the_api_answers_with_the_query_enginepassedmeasured5 of 94
test_the_hub_runs_a_test_only_when_running_is_switched_onpassedmeasured5 of 94
test_a_body_edit_is_applied_in_place_and_disclosedpassedmeasured5 of 95
test_a_body_literal_finds_its_functionpassedmeasured5 of 95
test_a_build_writes_a_log_beside_the_indexpassedmeasured5 of 95
test_a_c_function_added_in_place_has_its_span_and_calleespassedmeasured5 of 95
test_a_call_in_module_level_wiring_has_the_module_as_callerpassedmeasured5 of 95
test_a_case_is_never_listed_as_an_implementerpassedmeasured5 of 95
test_a_change_in_test_code_is_reported_as_test_codepassedmeasured5 of 95
test_a_changed_declaration_carries_its_definition_s_requirementspassedmeasured5 of 95
test_a_code_hit_inside_a_binding_names_the_bindingpassedmeasured5 of 95
test_a_code_search_works_without_the_test_scope_tablepassedmeasured5 of 95
test_a_completed_build_populates_payloadspassedmeasured5 of 95
test_a_constant_excerpt_covers_its_recorded_extentpassedmeasured5 of 95
test_a_constructor_injected_interface_reaches_its_implementationspassedmeasured5 of 95
test_a_declared_docs_glob_that_matches_nothing_is_still_reportedpassedmeasured5 of 95
test_a_default_docs_glob_that_matches_nothing_is_not_a_problempassedmeasured5 of 95
test_a_dotted_query_matches_its_partspassedmeasured5 of 95
test_a_doxygen_crash_is_stamped_as_failed_with_its_reasonpassedmeasured5 of 95
test_a_doxygen_crash_leaves_the_other_layers_indexedpassedmeasured5 of 95
test_a_doxygen_less_build_leaves_no_temp_directorypassedmeasured5 of 95
test_a_fast_refresh_does_not_poison_the_full_build_that_followspassedmeasured5 of 95
test_a_file_lists_what_it_includes_resolved_or_notpassedmeasured5 of 95
test_a_file_that_includes_nothing_has_an_empty_list_not_nonepassedmeasured5 of 95
test_a_full_build_clears_the_fast_recordpassedmeasured5 of 95
test_a_generated_symbol_loses_a_tiepassedmeasured5 of 95
test_a_handler_registration_has_no_lifecyclepassedmeasured5 of 95
test_a_header_lists_its_includerspassedmeasured5 of 95
test_a_js_files_module_row_spans_the_new_filepassedmeasured5 of 95
test_a_later_build_that_states_no_exclusion_still_honours_the_recorded_onepassedmeasured5 of 95
test_a_linked_test_page_draws_its_flowchart_and_a_test_naming_no_mode_does_notpassedmeasured5 of 95
test_a_local_handle_is_ended_only_in_its_own_functionpassedmeasured5 of 95
test_a_method_call_on_a_local_value_does_not_credit_a_free_functionpassedmeasured5 of 95
test_a_module_constant_is_a_variablepassedmeasured5 of 95
test_a_module_level_constant_is_foundpassedmeasured5 of 95
test_a_multi_line_signature_starts_at_its_defpassedmeasured5 of 95
test_a_named_function_still_wins_over_the_modulepassedmeasured5 of 95
test_a_page_marks_the_branch_its_recorded_run_failed_onpassedmeasured5 of 95
test_a_receiver_naming_the_owning_object_resolvespassedmeasured5 of 95
test_a_refresh_under_strip_from_path_keeps_inheritancepassedmeasured5 of 95
test_a_removed_function_leaves_no_row_and_no_dangling_referencepassedmeasured5 of 95
test_a_renamed_function_is_the_old_removed_and_the_new_addedpassedmeasured5 of 95
test_a_repo_with_no_c_is_stamped_skipped_not_failedpassedmeasured5 of 95
test_a_requirement_carries_both_directions_of_satisfiespassedmeasured5 of 95
test_a_requirement_dossier_names_its_catch2_testspassedmeasured5 of 95
test_a_requirement_dossier_serves_its_modes_with_their_testspassedmeasured5 of 95
test_a_requirement_lists_every_file_line_that_names_itpassedmeasured5 of 95
test_a_self_declared_file_is_recorded_by_exact_path_onlypassedmeasured5 of 95
test_a_single_implementation_is_credited_as_beforepassedmeasured5 of 95
test_a_stated_exclusion_removes_its_tree_and_keeps_the_restpassedmeasured5 of 95
test_a_type_alias_is_a_typedef_with_its_declarationpassedmeasured5 of 95
test_a_typed_field_reaches_the_interface_implementationspassedmeasured5 of 95
test_an_added_class_still_takes_the_full_buildpassedmeasured5 of 95
test_an_added_function_is_refreshed_in_placepassedmeasured5 of 95
test_an_empty_symbol_search_points_at_the_code_corpuspassedmeasured5 of 95
test_an_exact_search_for_a_generated_symbol_still_finds_it_firstpassedmeasured5 of 95
test_an_index_without_the_corpus_says_it_is_missingpassedmeasured5 of 95
test_an_index_without_the_layer_leaves_both_keys_absentpassedmeasured5 of 95
test_an_index_without_the_layer_says_nothing_rather_than_none_foundpassedmeasured5 of 95
test_an_index_without_the_table_leaves_the_field_absentpassedmeasured5 of 95
test_an_operator_exclusion_is_stamped_apart_from_a_derived_excludepassedmeasured5 of 95
test_an_out_of_line_member_keeps_its_bodys_linepassedmeasured5 of 95
test_an_unknown_function_has_no_sequencepassedmeasured5 of 95
test_an_untagged_change_reaches_a_requirement_through_its_callerspassedmeasured5 of 95
test_apply_writes_only_accepted_entries_and_refuses_a_moved_linepassedmeasured5 of 95
test_build_version_change_wipes_cachepassedmeasured5 of 95
test_cache_output_matches_no_cachepassedmeasured5 of 95
test_declared_capabilities_match_what_a_build_producespassedmeasured5 of 95
test_default_cache_path_is_beside_outputpassedmeasured5 of 95
test_each_spawn_records_how_it_endspassedmeasured5 of 95
test_edit_one_file_reparses_only_that_filepassedmeasured5 of 95
test_editing_one_typescript_file_reparses_only_that_filepassedmeasured5 of 95
test_every_table_is_classifiedpassedmeasured5 of 95
test_jobs_greater_than_one_takes_the_pooled_pathpassedmeasured5 of 95
test_jobs_one_never_starts_a_poolpassedmeasured5 of 95
test_js_only_build_needs_no_doxygenpassedmeasured5 of 95
test_mixed_repo_gets_both_front_endspassedmeasured5 of 95
test_no_index_cache_does_full_workpassedmeasured5 of 95
test_nothing_changed_is_not_a_fast_refreshpassedmeasured5 of 95
test_parallel_shared_parse_is_index_identicalpassedmeasured5 of 95
test_python_calls_come_in_source_order_with_their_framespassedmeasured5 of 95
test_raising_the_cap_returns_every_callerpassedmeasured5 of 95
test_rebuild_forces_full_work_then_rewarmspassedmeasured5 of 95
test_removed_file_drops_its_rowspassedmeasured5 of 95
test_same_named_methods_on_unrelated_classes_are_not_creditedpassedmeasured5 of 95
test_stage_version_bump_invalidates_only_that_stagepassedmeasured5 of 95
test_stating_an_empty_exclusion_clears_the_recorded_onepassedmeasured5 of 95
test_stats_and_cull_are_cli_verbspassedmeasured5 of 95
test_status_reports_the_exclusion_and_the_stage_breakdownpassedmeasured5 of 95
test_super_names_the_base_class_methodpassedmeasured5 of 95
test_the_command_prints_yaml_and_applies_a_reviewed_filepassedmeasured5 of 95
test_the_default_cap_bounds_callers_and_discloses_the_totalpassedmeasured5 of 95
test_the_draft_lists_candidate_modes_and_the_unmarked_assertionspassedmeasured5 of 95
test_the_edited_files_blocking_calls_are_currentpassedmeasured5 of 95
test_the_edited_files_code_text_is_currentpassedmeasured5 of 95
test_the_edited_files_file_scope_text_is_currentpassedmeasured5 of 95
test_the_edited_files_outgoing_calls_are_currentpassedmeasured5 of 95
test_the_edited_files_text_layers_are_currentpassedmeasured5 of 95
test_the_index_holds_modes_and_the_tests_that_name_thempassedmeasured5 of 95
test_the_index_links_catch2_cases_to_their_requirementspassedmeasured5 of 95
test_the_log_is_readable_while_the_build_is_still_runningpassedmeasured5 of 95
test_the_pool_warms_every_stage_so_no_stage_reparsespassedmeasured5 of 95
test_the_proposer_is_a_promptpassedmeasured5 of 95
test_the_report_lists_via_tests_and_unmappedpassedmeasured5 of 95
test_the_table_exists_when_no_catalogue_doespassedmeasured5 of 95
test_the_wiki_is_a_resourcepassedmeasured5 of 95
test_touch_without_edit_still_hitspassedmeasured5 of 95
test_two_fast_refreshes_of_a_c_file_do_not_crashpassedmeasured5 of 95
test_two_fast_refreshes_of_one_file_match_a_full_buildpassedmeasured5 of 95
test_two_files_with_one_module_key_still_resolve_their_own_callspassedmeasured5 of 95
test_two_implementations_of_one_interface_are_each_creditedpassedmeasured5 of 95
test_typescript_cached_output_matches_no_cachepassedmeasured5 of 95
test_typescript_calls_carry_loop_and_try_framespassedmeasured5 of 95
test_warm_rebuild_is_deterministicpassedmeasured5 of 95
test_a_build_killed_during_the_shared_parse_keeps_what_it_parsedpassedmeasured3 of 9: describe_search, discover_kconfig, import_kconfig5
test_a_failed_build_still_leaves_its_logpassedmeasured3 of 9: describe_search, discover_kconfig, import_kconfig5
test_an_aborted_build_claims_nothingpassedmeasured3 of 9: describe_search, discover_kconfig, import_kconfig5
test_an_aborted_build_keeps_its_harvest_payloadspassedmeasured3 of 9: describe_search, discover_kconfig, import_kconfig5
test_check_refresh_brings_the_index_current_firstpassedmeasured5 of 96
Reached through calls

25 tests: 25 passed

25 passed
testresultlinked byimplementers exercisedcalls away
test_a_private_scratch_directory_is_removed_after_the_buildpassedinferred6 of 94
test_the_cli_refusal_uses_the_new_messagepassedinferred6 of 94
test_the_guard_runs_before_the_scope_is_folded_inpassedinferred6 of 94
test_the_pipeline_refuses_before_running_doxygenpassedinferred6 of 94
test_a_build_that_cannot_get_the_lock_builds_privatelypassedinferred6 of 95
test_a_build_that_holds_the_lock_uses_the_shared_statepassedinferred6 of 95
test_a_declared_macro_and_prefix_are_testspassedinferred6 of 95
test_a_declared_test_path_is_test_codepassedinferred6 of 95
test_a_helper_and_product_code_are_not_testspassedinferred6 of 95
test_an_exclusion_outside_the_repository_is_refusedpassedinferred6 of 95
test_an_unstated_scope_keeps_the_parsers_defaultpassedinferred6 of 95
test_excluding_the_repository_root_is_refusedpassedinferred6 of 95
test_unavailable_locking_keeps_the_shared_statepassedinferred6 of 95
test_the_cli_check_exits_nonzero_on_a_problempassedinferred6 of 96
test_the_cli_creates_the_output_directorypassedinferred6 of 96
test_the_cli_prints_the_flow_as_jsonpassedinferred6 of 96
test_the_cli_prints_the_tracepassedinferred6 of 96
test_the_cli_takes_an_out_of_tree_configpassedinferred6 of 96
test_the_cli_writes_markdown_without_sphinxpassedinferred6 of 96
test_the_cli_writes_otlp_json_and_the_overlaypassedinferred6 of 96
test_the_flow_verb_prints_svgpassedinferred6 of 96
test_the_trace_cli_reads_imports_from_the_configpassedinferred6 of 96
test_wiki_check_prints_ears_notes_without_failing_on_thempassedinferred6 of 96
test_a_running_hub_is_opened_instead_and_a_dead_one_ignoredpassedinferred6 of 97
test_without_a_hub_the_static_site_is_built_and_openedpassedinferred6 of 97