Scope
Audit reviews the code up to the current point for:
- Duplication and inconsistent patterns
- Dead code and unused exports
- Overgrown files and functions
- Missing tests for logic-bearing code
- Coding-standard drift
- Obvious security and performance risks
Report-only behavior
Audit does not edit source or commit fixes. Turn accepted findings into a focused fix or handle them in the active implementation spec.
Best timing
Run audit before completing a larger feature, after several features have accumulated, or when AI-generated code is beginning to feel inconsistent.