feat: add unified_review MCP prompt + sync tool/prompt counts
Adds the unified_review MCP prompt (invoked as /code-review-graph:unified_review) that drives the unified-review workflow: graph context -> detect_changes -> score_review -> findings -> dedupe_findings -> generate_report. READ-ONLY: every finding waits for a manual fix decision. Takes base and tier (fast/standard/strict) arguments. - prompts.py: unified_review_prompt + docstring count 5->6 - main.py: @mcp.prompt() registration - tests/test_prompts.py: TestUnifiedReviewPrompt + preamble test - docs: LLM-OPTIMIZED-REFERENCE, COMMANDS, CLAUDE.md, INDEX, architecture, README + 4 localized READMEs; tool count 30->31 and prompt count 5->6 synced (historical ROADMAP/FEATURES version notes left unchanged)
This commit is contained in:
@@ -321,7 +321,7 @@ The benchmark also runs an honest **co-change mode**: the predictor is seeded wi
|
||||
| **Wiki generation** | Auto-generate markdown wiki from community structure |
|
||||
| **Multi-repo registry** | Register multiple repos, search across all of them |
|
||||
| **Multi-repo daemon** | `crg-daemon` watches multiple repos as child processes, with health checks and auto-restart |
|
||||
| **MCP prompts** | 5 workflow templates: review, architecture, debug, onboard, pre-merge |
|
||||
| **MCP prompts** | 6 workflow templates: review, architecture, debug, onboard, pre-merge, unified-review |
|
||||
| **Full-text search** | FTS5-powered hybrid search combining keyword and vector similarity |
|
||||
| **Local storage** | SQLite file in `.code-review-graph/`. Core graph storage needs no external database or cloud service. |
|
||||
| **Watch mode** | Continuous graph updates as you work |
|
||||
@@ -462,7 +462,7 @@ full config reference and all available options.
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary><strong>30 MCP tools</strong></summary>
|
||||
<summary><strong>31 MCP tools</strong></summary>
|
||||
<br>
|
||||
|
||||
Your AI assistant uses these automatically once the graph is built.
|
||||
@@ -499,9 +499,12 @@ Your AI assistant uses these automatically once the graph is built.
|
||||
| `get_wiki_page_tool` | Retrieve a specific wiki page |
|
||||
| `list_repos_tool` | List registered repositories |
|
||||
| `cross_repo_search_tool` | Search across all registered repositories |
|
||||
| `score_review_tool` | Objective Layer-2 review metrics (good/warn/fail grades) |
|
||||
| `dedupe_findings_tool` | Fingerprint dedup + multi-source confidence merge |
|
||||
| `generate_report_tool` | Render the standalone HTML code review report |
|
||||
|
||||
**MCP Prompts** (5 workflow templates):
|
||||
`review_changes`, `architecture_map`, `debug_issue`, `onboard_developer`, `pre_merge_check`
|
||||
**MCP Prompts** (6 workflow templates):
|
||||
`review_changes`, `architecture_map`, `debug_issue`, `onboard_developer`, `pre_merge_check`, `unified_review`
|
||||
|
||||
</details>
|
||||
|
||||
@@ -611,7 +614,7 @@ code-review-graph embed --provider voyage --model voyage-code-3
|
||||
|
||||
#### Tool Filtering
|
||||
|
||||
CRG exposes 30 MCP tools by default. In token-constrained environments, you can
|
||||
CRG exposes 31 MCP tools by default. In token-constrained environments, you can
|
||||
limit the server to a subset of tools using `--tools` or the `CRG_TOOLS`
|
||||
environment variable:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user