compare_architecture
Compare architecture health between two git refs to identify metric improvements, degradations, grade changes, and new or resolved smells without requiring prior indexing.
Instructions
Compare architecture health between two git refs. Shows which metrics improved or degraded, grade changes, and new/resolved smells. Uses git worktree for safe non-destructive analysis.
No prior indexing required.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo_path": "<repo_path>"
},
"name": "compare_architecture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes | Path to the repository (must be a git repo) | |
| base_ref | No | Git ref for baseline (default: HEAD~1) | |
| head_ref | No | Git ref for comparison target (default: HEAD) | |
| detail_level | No | Output detail: standard (default, scores + verdict) or full (adds coupling and smell diffs) |