How to Not Fail When Delegating Refactoring to AI — Dependency Analysis, Scope Limiting, and Incremental Commits with Codex CLI | DEV BAK - 기술블로그