Code Sprawl Needs Simplification Passes
One thing that happens when you use AI codegen is that it can sprawl just a bit. Even if you have an entire pipeline for brainstorming, research, specification, planning, implementation, tests, review, and validation, you’ll want another phase after all that which goes through every file and does a simplification pass. Maybe it needs to be a two-pass thing with two layers of simplification:
- One layer that simplifies each file
- One layer that does more architectural simplifications