Tagged articles

AI refactoring

4 articles · Page 1 of 1
Data Bricklaying Diary
Data Bricklaying Diary
Oct 20, 2026 · Backend Development

Before AI Refactors Legacy Code: Lock Down These Behaviors First

The article outlines a safe approach for AI-assisted legacy refactoring: define behavioral baselines with stakeholders, capture repeatable test samples covering normal and edge cases, compare old and new outputs in isolation, refactor incrementally with continuous regression, and verify rollback compatibility for data and interfaces.

AI refactoringDanilo SatoMartin Fowler
0 likes · 10 min read
Before AI Refactors Legacy Code: Lock Down These Behaviors First
Continuous Delivery 2.0
Continuous Delivery 2.0
Sep 30, 2026 · Backend Development

AI Refactoring Legacy Systems: The 17 Unwritten Rules Agents Quietly Delete

The article critiques the "Plan mode is dead" claim, arguing that AI agents refactoring legacy systems risk deleting critical undocumented business rules like compliance requirements and historical compromises because they lack characterization tests and explicit invariants, advocating for hypothesis-driven planning with ADRs, strangler fig pattern, and rollback capabilities.

ADRAI refactoringRFC
0 likes · 12 min read
AI Refactoring Legacy Systems: The 17 Unwritten Rules Agents Quietly Delete
IT Services Circle
IT Services Circle
Aug 30, 2026 · Backend Development

How a 7‑Step SOP Stops AI‑Driven Code Refactoring from Breaking 40% of Projects

The article explains why AI‑assisted code refactoring often introduces hidden bugs—due to limited context windows, rising duplicate‑code rates, and fleeting speed gains—and presents a concrete 7‑step SOP that combines static analysis, dependency mapping, single‑function changes, test‑first development, adversarial review, feature‑flag rollout, and a git‑based rollback plan to keep AI refactors safe and reliable.

AI refactoringCI/CDCode Review
0 likes · 19 min read
How a 7‑Step SOP Stops AI‑Driven Code Refactoring from Breaking 40% of Projects
Amap Tech
Amap Tech
Jul 2, 2026 · Frontend Development

How Gaode’s Search Frontend Refactor Used Harness to Drive Complex Engineering Evolution

The article details Gaode’s front‑end overhaul of the AJX search result page, describing how a project‑level Harness workflow with coordinated agents, a five‑stage pipeline, code‑map generation, controlled code emission, style‑codex locking, accounting assets, and runtime quality loops enabled systematic, auditable, and reusable AI‑assisted refactoring of a massive codebase.

AI refactoringAJXGaode
0 likes · 18 min read
How Gaode’s Search Frontend Refactor Used Harness to Drive Complex Engineering Evolution