01 ▸ Workflow Position
[Changes]
│
▼
┌─────────────────────────────┐
│ Simplify (ACTIVE) │
│ 3 Parallel Agent Reviews │
└──────────────┬──────────────┘
│
▼
[DONE]
02 ▸ When to use?
Use when you want to improve code quality after implementation. Also works as the final refinement stage of a Long Run.
Main Triggers
simplify
clean up the code
review the changes
03 ▸ How it works?
Core Principle: Three reviewers see the same diff but analyze it through different lenses. Overlapping findings are merged, and minimal fixes are applied.
Execution Steps
- 01. Identify Changes: Use
git diff to identify recently modified files.
- 02. Parallel Review Generation:
- Agent 1 — Reuse: Duplicate code, logic that can be inlined with existing utilities.
- Agent 2 — Quality: Redundant state, too many parameters, copy-paste variants, abstraction leaks, stringly-typed code, excessive comments.
- Agent 3 — Efficiency: Unnecessary work, missing concurrency, bloated hot paths, TOCTOU, memory leaks.
- 03. Merge + Minimal Fix: Aggregate results, remove duplicates, apply minimal fixes, and run tests.
⛔ HARD GATE: No major refactoring. Identified issues are handled as separate tasks.