Apply drift remediation
drift_remediateRemediate flagged drift gaps by filing, reopening, or relabeling tickets, optionally previewing with dryRun.
Instructions
One-click remediation across a run's flagged tickets: action 'file_bugs' files a linked, drift-labeled bug per gap; 'reopen' moves them back to Todo; 'relabel' adds a 'drift' label. verdicts selects the bands to act on (default ['drift']). Pass dryRun:true to preview. Records what it did on the run.
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": {
"project": "<project>",
"action": "<action>"
},
"name": "drift_remediate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | No | Defaults to the latest run. | |
| action | Yes | ||
| dryRun | No | ||
| project | Yes | ||
| verdicts | No | Which verdict bands to act on (default ['drift']). |