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

@@ -13,12 +13,12 @@
"state": {
"type": "markdown",
"state": {
"file": "300 areas/350 AI/Pi Agent Extensions & Skills.md",
"file": "300 areas/360 Dev-Ops Network Computers/Home Network Map Overview.md",
"mode": "preview",
"source": true
},
"icon": "lucide-file",
"title": "Pi Agent Extensions & Skills"
"title": "Home Network Map Overview"
}
}
]
@@ -181,10 +181,10 @@
"state": {
"type": "file-properties",
"state": {
"file": "300 areas/350 AI/Pi Agent Extensions & Skills.md"
"file": "300 areas/360 Dev-Ops Network Computers/Home Network Map Overview.md"
},
"icon": "lucide-info",
"title": "File properties for Pi Agent Extensions & Skills"
"title": "File properties for Home Network Map Overview"
}
}
],
@@ -209,9 +209,9 @@
},
"active": "29ff3dd1c6bfd474",
"lastOpenFiles": [
"300 areas/350 AI/Pi Agent Extensions & Skills.md",
"000 daily/basketball training.md",
"300 areas/360 Dev-Ops Network Computers/Home Network Map Overview.md",
"300 areas/350 AI/Pi Agent Extensions & Skills.md",
"300 areas/350 AI/Automated Agentic Tools.md",
"100 inbox/Pi Dashboard.md",
"300 areas/360 Dev-Ops Network Computers/Bumblebee - The Open-Source Scanner for Messy Dev Machines.md",

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"
}
}
}

View File

@@ -1,6 +1,6 @@
---
created: 2026-07-30
modified: 2026-07-30
modified: 2026-08-02
type: note
tags:
- network
@@ -32,7 +32,8 @@ aliases: []
| **SSH** | ✅ `sam@192.168.20.27` |
| **Tailscale** | ✅ `100.65.228.31` (sam-4screen-desktop-1) |
| **Role** | Daily driver. 4 monitors, 62GB RAM, Nvidia GPU. Zellij, Neovim, pi coding agent. |
| **Key services** | pi, pi-dashboard, Neovim, Zellij (with falcode + attention plugins), Home Manager managed |
| **Key services** | pi, pi-dashboard, Neovim, Zellij (with falcode + attention plugins), Home Manager managed
| **MCP tools** | `codebase-memory-mcp` v0.9.0, `code-review-graph` v2.3.7 (per-project, installed via `uv tool install`) |
### .13 — nixos-desktop (Server)
@@ -70,7 +71,8 @@ See [[Docker Containers]] for full container list.
| **OS** | NixOS |
| **SSH** | ✅ `sam@192.168.20.51` |
| **Tailscale** | ✅ `100.88.161.102` (sam-thinkpad) |
| **Role** | Portable laptop. Used on-the-go and at home. pi, Neovim, Home Manager managed. |
| **Role** | Portable laptop. Used on-the-go and at home. pi, Neovim, Home Manager managed.
| **MCP tools** | `codebase-memory-mcp` v0.9.0, `code-review-graph` v2.3.7 (installed via `nix-shell -p uv`) |
### .35 — caddy-server (Reverse Proxy)