Skip to content

Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.

docs: count COMMERCIAL.md's tools the way the doc counts them (#1771)

Raghav Chamadiyaec5a8af2173b
diff --git a/tests/unit/cli/test_agent_matrix.py b/tests/unit/cli/test_agent_matrix.py
index d494a4d03..d93a943b7 100644
--- a/tests/unit/cli/test_agent_matrix.py
+++ b/tests/unit/cli/test_agent_matrix.py
@@ -234,8 +234,15 @@ COUNT_CLAIMS: tuple[tuple[str, str, str], ...] = (
("docs/README.md", "flagship", "The {w} task-shaped tools,"),
("docs/agent/MCP_TOOLS.md", "total", "{n} tools are registered in total"),
("docs/agent/MCP_TOOLS.md", "single_repo", "advertises {n} by default"),
- ("docs/business/COMMERCIAL.md", "single_repo", "the {w} MCP tools,"),
- ("docs/business/COMMERCIAL.md", "single_repo", "| {W} MCP tools |"),
+ # COMMERCIAL.md counts the flagship tools and names `list_repos` alongside
+ # them, the same convention the README uses.
+ ("docs/business/COMMERCIAL.md", "flagship", "the {w} MCP tools,"),
+ ("docs/business/COMMERCIAL.md", "flagship", "**{W} task-shaped MCP tools**"),
+ (
+ "docs/business/COMMERCIAL.md",
+ "flagship",
+ "| {W} task-shaped MCP tools (plus `list_repos`) |",
+ ),
("docs/start/USER_GUIDE.md", "single_repo", "**{W} tools, task-shaped.**"),
("docs/architecture/pluggable-storage.md", "single_repo", "{w} MCP tools still expose"),
("website/mcp-server.md", "total", "It registers {n} tools:"),