apply_fixes
Apply package upgrades to resolve CVEs after user confirmation. Returns command output for each fix, ensuring only approved changes are executed.
Instructions
Execute package upgrade commands to fix CVEs. IMPORTANT: This is a DESTRUCTIVE action that modifies package files. ALWAYS call get_fix_commands first and confirm with the user before calling this. Returns the command output for each fix applied.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the project directory. | |
| dry_run | No | If true, print commands without executing. Useful for final confirmation step. | |
| packages | Yes | Package names to fix. Must be explicit — never fix all without user confirmation. |