Check change scope
check_change_scopeCompares Git changes or supplied files to approved boundaries. Flags out-of-scope, protected, dependency, migration, auth/config, deletion, and existing-user edits.
Instructions
Compare the current Git changes (or provided files) against the approved boundaries. Flags out-of-scope files, protected paths, dependency changes, migrations, auth/config edits, deletions, and touched pre-existing user changes.
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": "check_change_scope"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Project root directory. Defaults to the MCP client's current working directory. | |
| files | No | Explicit file changes to check instead of reading Git status. | |
| specId | No | TaskSpec id saved under .promptpilot/specs/. | |
| allowedFiles | No | Allowed globs when no specId is given. | |
| protectedPaths | No | Protected globs when no specId is given. |