mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-12 09:47:20 +08:00
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:
@@ -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)",
|
||||
|
||||
Reference in New Issue
Block a user