## Closeout Sequence (MANDATORY before final commit)
After completing your work, you MUST run this polish cycle using the core plugin agents:
### Pass 1: Code Review
Use the Agent tool to launch the `core:agent-task-code-review` agent. It will review all your changes for bugs, security issues, and convention violations. Fix ALL findings rated >= 50 confidence before proceeding.
### Pass 2: Build + Test
Run the test suite (`go test ./...` or `composer test`). Fix any failures.
### Pass 3: Simplify
Use the Agent tool to launch the `core:agent-task-code-simplifier` agent. It will consolidate duplicates, remove dead code, and flatten complexity. Let it work, then verify the build still passes.
### Pass 4: Final Review
Run the `core:agent-task-code-review` agent ONE MORE TIME on the simplified code. If clean, commit. If findings remain, fix and re-check.
Each pass catches things the previous one introduced. Do NOT skip passes. The goal: zero findings on the final review.