| name | polish |
| description | Apply a fixed quality rubric to existing work and fix every gap: correctness, design, robustness, tests, and public interface. Triggers: polish, tighten, production-grade. |
Polish
Use this for completed work that needs a quality pass.
Do not use it for metric optimization, red CI, or half-built generations.
Rubric
Score honestly across:
- Correctness: works in edge cases, not only the happy path.
- Design: simple structure, justified abstractions, no avoidable complexity.
- Robustness: errors fail loud and recoverably.
- Tests: behavior coverage that would catch regressions.
- Interface: clean names, defaults, docs, CLI/API, and reader path.
Flow
- Audit the current artifact against the rubric.
- List concrete issues by severity.
- Fix issues in priority order.
- Run meaningful checks.
- Re-score and repeat, up to five rounds.
Rules
- No score inflation; fine is a 6, not an 8.
- No fluff comments or cosmetic-only changes.
- Broken tests stop the pass until fixed.
Use references/RUBRIC.md for scoring anchors and references/full-reference.md for the old full loop.
Then consider
evolve for measurable optimization.
converge if checks are red.