Present Semantic Diff
present_diffAnalyze git/snapshot changes with Tree-sitter alignment, group edits by logical decisions and rename/move/split/merge hints, verify changed-line coverage, and open an interactive semantic diff viewer.
Instructions
Analyzes actual git/snapshot code changes with Tree-sitter AST alignment, overlays your logical decisions and rename/move/split/merge hints, verifies 100% changed-line coverage, and opens the interactive Semantic Diff viewer.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "present_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | No | One-sentence executive summary of the overall change | |
| baseline | No | Git ref to diff against (default: "HEAD"). Ignored when snapshotId is set. | |
| repoPath | No | Repository path (defaults to current working directory) | |
| decisions | No | Logical decisions grouping the changes with rationale | |
| snapshotId | No | Snapshot ID from snapshot_baseline to diff against instead of git | |
| testReport | No | Optional structured test & verification report (automated suites, build/typecheck checks, and manual/browser checks) | |
| correspondences | No | Explicit symbol rename, move, split (1->N), or merge (N->1) hints |