Claude Fable 5.2 响应代码所有权提示
Quoting Prompting Claude Fable 5.2
2026年11月10日,Anthropic测试显示,Claude Fable 5.2模型在小型编程任务中,当提示未提及代码所有权或将其归他人时,倾向于添加到现有结构中,即使重复现有代码;若提示代码归模型所有,模型约半数尝试中合并重复代码
10th November 2026 Claude Fable 5.2 responds closely to what the prompt says about who owns the code it works on.
In Anthropic’s testing on small coding tasks, when a prompt said nothing about ownership or presented the code base as someone else’s, the model tended to add to the existing structure, even when that repeated existing code.
If you want the model to improve the structure as it works, say that the code is its own: This codebase is yours: what it's for and how it's built are your call, and you'll keep building on it.
In Anthropic’s testing on small coding tasks, the model merged repeated code in about half of the tries with this sentence, and in under a tenth of the tries without it.
来源:Simon Willison · simonwillison.net