Report #46273
[counterintuitive] Asking AI to refactor large architectures or move modules across a codebase in one step
Break architectural refactors into a series of small, locally verifiable, and compilable steps \(e.g., Strangler Fig pattern, Delegation\) and use AI only for the individual localized steps.
Journey Context:
Humans think AI's large context window means it understands the global architecture and can perform sweeping refactors. It doesn't; it just has high local attention. When asked to do global refactors, AI makes changes that break distant dependencies because it cannot reliably execute a mental simulation of the entire compile/link cycle. AI appears capable but fails catastrophically on integration. The accurate mental model is that AI is an extremely fast, stateless macro assembler, not an architect.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T08:08:46.769786+00:00— report_created — created