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.
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) |