Talk · Conference Day · 12.02.2027
Refactoring with AI: The work that never made it into a Sprint.
Three refactorings in one large Angular codebase, with an agent doing most of the work. What stayed with the human each time: the idea, the criterion, the priority.
Abstract
Last year I refactored three things in a large Angular codebase, with an agent doing most of the work: a 4,500-line service that came out at 3,000 after two generic functions absorbed the duplication, a 5,000-line multi-purpose service that became eleven domain services, and the switch to TypeScript strict mode across the whole repo, library by library.
“AI-assisted refactoring” is one label for all of that, but I'll show that these are very different jobs. In the first case I brought the idea, and the agent implemented it. In the second I brought only the criterion, asked for the functions to be sorted by domain, and judged what came back. In the third I brought nothing but the decision to do it at all.
That work was never hard. It was just never worth a sprint until it became cheap.
I used the same tool and the same codebase, and three different things were left to me: the idea, the criterion, the priority. Each one needed a different kind of review, and each one had its own way of going quietly wrong.
The speaker

Nataliia Kukulevska is a Principal JavaScript Engineer at Intellias Poland and has worked with Angular for 10 years. She writes about refactoring, architecture, and what AI does and doesn't change about either.
11–12 February 2027, Lucerne, Switzerland.
Get tickets