generate_fix
Generates a compliant code patch and diff from source code and UI/UX or backend critique findings to fix identified issues.
Instructions
Given source code and structured findings from critique_ui or critique_backend, generate an updated, compliant code patch and diff.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The original code snippet. | |
| critic | Yes | The critic type that generated the findings. | |
| filePath | No | Optional file path. | |
| findings | Yes | The array of CritiqueFinding objects returned by critique_ui or critique_backend. |