Engineering brief

Why Refactoring Now Beats Waiting for Better AI Agents

AI Engineer1 min read · saves 17 min

At a glance

Relevance
Practical value
Warnings
None

Denys Linkov's team refactored a legacy 10-repo pipeline into a monorepo using AI agents. The decision to act now, rather than wait for better models, paid off in shipping velocity and developer morale.

The decision to refactor now vs later is strategic; AI tools improve but human workflow design still determines success.

Summary

Denys Linkov's team refactored a legacy 10-repo AI pipeline into a monorepo, betting that acting now would unblock growth despite rapidly improving models. The decision proved correct: shipping velocity surged, developer engagement increased, and new features that once took months now ship in under a week.

The tradeoff is clear. Waiting might have made the refactor cheaper, but the speaker's experiments show that even modern models like GPT 5.5 fail at zero-shot legacy rewrites—producing scaffolding without real implementation. Full automation remains unreliable for complex codebases.

Crucially, the talk highlights a missing mental model: most teams calibrate agent expectations at 50% accuracy, but real productivity requires 90%+ confidence. Until models consistently hit that bar, human workflow design, guardrails, and architectural decisions like monorepos drive success more than model capability.

Engineering leaders should take away that AI tooling is a force multiplier, not a substitute for sound architecture and governance. The refactor's patterns—monorepo, clear specs, human PR reviews—made AI agents effective. Waiting for perfect AI would have delayed the organizational benefits of cleaner code and higher developer morale.

Watch the video

This video is blocked due to your privacy settings. To watch this video, please accept YouTube marketing cookies.

Related breakdowns

Get TL;DW

Too Long; Didn't Watch.

A concise breakdowns of the AI and devtools videos that actually matter for engineering leaders.

Free. Weekly. No hype.

Video and thumbnails remain the property of their respective creators. tldw.news provides editorial analysis, commentary, and discovery links to original content.