Home

giogio / openez-graph

public
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

Add diff_context MCP tool and openez diff CLI

2 months ago

66ac197
Authored
JoeJoeflyn8/15/2026, 8:47:03 PM
Code review agents need surrounding call graph context for modified
files and functions when inspecting git diffs.

This commit introduces:
- diff_context MCP tool: accepts git refs or staged flags and returns
  affected AST symbols with their callers and callees in structured JSON.
- openez diff CLI command: renders an ASCII review context card in
  the terminal for human developers.

Parent6e08ac1

10 files changed
  • README.md+2−0
  • apps/cli/README.md+2−0
  • apps/cli/src/cli.ts+33−1
  • apps/mcp/src/mcp-core.ts+76−0
  • docs/superpowers/plans/2026-08-16-cli-diff-context.md+42−0
  • docs/superpowers/specs/2026-08-16-cli-diff-context-design.md+81−0
  • landing/src/app/layout.tsx+1−1
  • packages/core/src/diff-context.ts+283−0
packages/core/src/index.ts
+1
−0
  • tests/diff-context.test.ts+38−0