change_review
Review code changes to identify affected definitions, dependents, security/performance findings, and tests, comparing working tree vs HEAD or staged. Returns exit 3 on findings, never edits code.
Instructions
What a change touches, by concern (verinoda review): the working tree vs HEAD, base=REV, staged, or targets ('path.py[::Name]') + change (body|signature|remove), planned. Changed definitions, dependents, findings per concern ('no finding' is not 'safe'), tests reaching it, unknowns, read_first. exit 3 = something to report. Never edits code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Compare the working tree with this commit (default HEAD). | |
| change | No | With targets: the kind of planned change (default body). | |
| staged | No | Review the staged changes (the index) against HEAD. | |
| observe | No | Run them under the call tracer: which reach the changed functions. | |
| targets | No | A planned change, before editing: 'path/file.py' or 'path/file.py::Qual.name' items. | |
| concerns | No | Subset of persistence, security, performance, public_api, config, entry_points (default all). | |
| max_chars | No | Budget of read_first in characters (500-50000). | |
| run_tests | No | Run the pytest tests that reach the change (isolated copy). |