Fixes silent data loss: ~/.claude.json no longer resets to defaults when the file contains malformed JSON.