
Prerequisites for AI-Assisted Refactoring: From AST Awareness to Test Coverage and Behavior Preservation
AI-assisted refactoring needs four prerequisites: behavior preservation, AST awareness, test coverage, and mitigation of hallucinations and context drift.



