"Add function to existing file" now correctly routes to locator_repair instead of codegen. codegen reserved for "create from scratch" only. 5/5 boundary cases pass on gemma3:4b. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>