[Bug] Sub-agent corrupted localization file by reordering keys and misaligning translation values
Resolved 💬 3 comments Opened Nov 21, 2025 by wagabondpets Closed Jan 20, 2026
Bug Description
"What happened: The sub-agent I used to add German translations made a catastrophic error. Instead of simply
adding a "de" block to each key's localizations, it:
- Re-sorted/reordered the keys alphabetically - This shifted which translations belonged to which keys
- Overwrote existing translations - The values got mixed between different keys
- Corrupted all languages - Because the keys moved but values didn't follow correctly
This is why you see English changing from "Next" to "Tap here whenever an accident happens" - the agent moved
the key name but kept the wrong translation values.
To fix: Revert just the Localizable.xcstrings file back to cf19dac:"\
\
WTF? This is the first prompt too.
Environment Info
- Platform: darwin
- Terminal: windsurf
- Version: 2.0.49
- Feedback ID: 5628bfed-43f2-4a29-9ece-41dae5509c49
Errors
[{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at BH (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1106:4488)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1106:4217\n at Array.map (<anonymous>)\n at QD (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1106:4208)\n at O71 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2692:10571)\n at hN (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:105:19417)\n at zQA (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:42847)\n at i9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:38379)\n at Qa (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:38307)\n at sN (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:38161)","timestamp":"2025-11-21T04:49:47.798Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at Module.readSync (node:fs:739:18)\n at Object.readSync (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:472)\n at _C (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4128:105)\n at rw (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4130:204)\n at xn5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2344:7601)\n at K (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2344:6803)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2344:7136\n at uW (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:21555)\n at oH (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:41145)\n at V$ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:35178)","timestamp":"2025-11-21T04:51:27.828Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at Module.readFileSync (node:fs:440:20)\n at Object.readFileSync (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:299)\n at rw (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4130:219)\n at xn5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2344:7601)\n at K (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2344:6803)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2344:7136\n at uW (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:21555)\n at oH (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:41145)\n at V$ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:35178)\n at RB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:105:4841)","timestamp":"2025-11-21T04:51:27.834Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at Module.readSync (node:fs:739:18)\n at Object.readSync (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:472)\n at _C (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4128:105)\n at rw (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4130:204)\n at xn5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2344:7601)\n at K (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2344:6803)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2344:7136\n at uW (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:21555)\n at oH (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:41145)\n at V$ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:35178)","timestamp":"2025-11-21T04:51:28.818Z"
Note: Error logs were truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗