taskguard_check_scope_drift
Check proposed actions against the task contract to detect scope drift before starting cleanup, refactors, or features.
Instructions
Call this before doing adjacent cleanup, broad refactors, extra features, or work that may not map to the recorded goal. It warns when the proposed action appears outside the task contract.
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": {
"sessionId": "<sessionId>",
"proposedAction": "<proposedAction>"
},
"name": "taskguard_check_scope_drift"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | ||
| changedFiles | No | ||
| proposedAction | Yes |