polish_diff
Review added UI-code lines and return a unified diff with deterministic DESIGN.md token substitutions. Apply the patch on top of the reviewed diff; judgment-heavy findings stay in manual.
Instructions
Review added UI-code lines and propose deterministic DESIGN.md token substitutions without writing files. The returned unified patch applies on top of the reviewed diff's post-image; applying it is an explicit, separate step by the caller. Re-verifies the hypothetical polished lines and leaves judgment-heavy findings in manual.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diff | Yes | Unified diff to review and polish (maximum 400KB). | |
| project | No | Project directory used to resolve DESIGN.md and match decision scopes. Omit when design_md is supplied and no project hint is needed. | |
| design_md | No | Inline DESIGN.md content. Overrides project file lookup when supplied. |