docs(cli): list dependency ranking config

search_graph already reads search_disable_dep_ranking, and the MCP schema names that config key. Add it to CBM_CONFIG_REGISTRY so config list/get guidance exposes the same setting users see in the API description.

Add a CLI registry regression test for the key, default, range, and dependency-ranking guidance. This does not change search behavior, MCP schemas, DB schema, or tool visibility.

Validated with make -f Makefile.cbm build/c/test-runner, CBM_ONLY_SUITE=cli ./build/c/test-runner, CBM_ONLY_SUITE=tool_consolidation ./build/c/test-runner, git diff --check, and bash scripts/check-source-safety.sh.

Signed-off-by: Andrew Hundt <ATHundt@gmail.com>
This commit is contained in:
Andrew Hundt
2026-06-30 07:19:07 -04:00
parent d8613a2974
commit cbacf99e74
2 changed files with 23 additions and 0 deletions
+5
View File
@@ -2887,6 +2887,11 @@ const cbm_config_entry_t CBM_CONFIG_REGISTRY[] = {
"true|false",
"false = restrict to project code only (exclude dep sub-projects). "
"Set false for single-project focus workflows."},
{"search_disable_dep_ranking", "false", NULL, "Tools",
"Disable project-before-dependency ranking in search_graph",
"true|false",
"false (default) ranks project symbols before dependency symbols when include_dependencies=true. "
"true uses pure relevance order across project and dependency symbols."},
/* ── PageRank ── */
{"pagerank_max_iter", "20", NULL, "PageRank",
"Max iterations for PageRank algorithm before stopping (more = more accurate convergence)",