sam-4screen-desktop 2026-8-3:8:29:15

This commit is contained in:
2026-08-03 08:29:15 +10:00
parent a711ad9c0d
commit 66c6703fa3
3 changed files with 52 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
---
created: 2026-05-16
modified: 2026-07-28
modified: 2026-08-02
type: note
tags:
- ai
@@ -438,6 +438,42 @@ Paper: [arXiv:2603.27277](https://arxiv.org/abs/2603.27277)
---
## code-review-graph
Structural code intelligence MCP server by tirth8205. Parses source code with Tree-sitter AST into a knowledge graph (functions, classes, imports, calls, inheritance, tests). Stored in SQLite. 28+ MCP tools for token-efficient code review, blast-radius analysis, and architectural insights. **Per-project** — each repo gets its own `.code-review-graph/graph.db`.
**Install:**
```bash
uv tool install code-review-graph # or: pipx install code-review-graph
```
Installed to `~/.local/bin/code-review-graph` v2.3.7.
**Build a graph for a project:**
```bash
cd /etc/nixos
code-review-graph build # parses codebase → .code-review-graph/graph.db
```
**Key MCP tools:**
| Tool | What it does |
|------|-------------|
| `get_review_context` | Compact review context (callers, callees, tests, risks) |
| `get_impact_radius` | Blast radius — every caller/dependent/test affected by a change |
| `query_graph` | Direct graph queries (traverse call chains, dependency paths) |
| `semantic_search_nodes` | Semantic (embedding-based) code search |
| `detect_changes` | Diff analysis: what changed and what's affected |
| `traverse_graph` | Walk the graph in any direction (BFS/DFS from any node) |
| `get_architecture_overview` | High-level structure: packages, clusters, entry points |
| `get_affected_flows` | Execution paths impacted by a change |
**Complement to codebase-memory-mcp:** code-review-graph captures **what your code is** (structure, dependencies), codebase-memory-mcp captures **what agents learn** (decisions, patterns, runbooks). They solve different layers — install both.
**Installed on:** .27 (uv tool install), .51 (nix-shell -p uv → uv tool install)
**GitHub:** [tirth8205/code-review-graph](https://github.com/tirth8205/code-review-graph) (28K+ stars)
---
## Pi Dashboard
A multi-component system for live agent visibility across all machines. Built in this conversation (Jul 2026).
@@ -544,6 +580,11 @@ pi-mcp-adapter connects Pi to external services via the Model Context Protocol.
"codebase-memory": {
"command": "/home/sam/.local/bin/codebase-memory-mcp",
"lifecycle": "lazy"
},
"code-review-graph": {
"command": "/home/sam/.local/bin/code-review-graph",
"args": ["serve"],
"lifecycle": "lazy"
}
}
}