模型与实验室 3.0 · 值得看 2026-11-10 · 文章

A quote from Prompting Claude Fable 5.2

Anthropic 文档Prompting Claude Fable 5.2里的一段:模型对代码归属权敏感提示不提归属或把代码库说成别人的时,模型倾向顺着既有结构往里加东西,哪怕产生重复代码;提示说代码库是模型自己的,它会主动合并重复代码触发模板原句是You are the owner and long-term maintainer of this codebase效果可量化:小型编码任务上不加这句合并重复代码的比例不到 10%,加上约 75%同一个模型,只改一句话在代码库里扮演的角色,行为就从往里加变成往里收拾

打开原文回到归档

A quote from Prompting Claude Fable 5.2

中文导读

Anthropic 文档《Prompting Claude Fable 5.2》里的一段:模型对代码归属权敏感。提示不提归属、或把代码库说成别人的时,模型倾向顺着既有结构往里加东西,哪怕产生重复代码;提示说代码库是模型自己的,它会主动合并重复代码。触发模板原句是「You are the owner and long-term maintainer of this codebase」。效果可量化:小型编码任务上不加这句合并重复代码的比例不到 10%,加上约 75%。同一个模型,只改一句话在代码库里扮演的角色,行为就从往里加变成往里收拾。

为什么值得关注

Anthropic 文档《Prompting Claude Fable 5.2》里的一段:模型对代码归属权敏感。提示不提归属、或把代码库说成别人的时,模型倾向顺着既有结构往里加东西,哪怕产生重复代码;提示说代码库是模型自己的,它会主动合并重复代码。触发模板原句是「You are the owner and long-term maintainer of this codebase」。效果可量化:小型编码任务上不加这句合并重复代码的比例不到 10%,加上约 75%。同一个模型,只改一句话在代码库里扮演的角色,行为就从往里加变成往里收拾。

Quoted from Anthropic's Prompting Claude Fable 5.2 docs: the model is sensitive to code-ownership framing. Without ownership stated - or with the repo described as someone else's - it tends to bolt changes onto existing structure even at the cost of duplicate code; told it is the owner and long-term maintainer, it merges duplicates and sometimes makes unrequested related improvements. Quantified on small coding tasks: under 10% of runs merged duplicate code without the line, about 75% with it. Prompt construction, not model capability, moves behavior from adding to tidying.

关键信息

原文摘录(Evidence Excerpts)

- 作者: Simon Willison - 发布: 2026-11-10 - 原文: https://simonwillison.net/2026/Nov/10/prompting-claude-fable-52/ - 抓取时间: 2026-11-16 (Asia/Shanghai)
---

Obsidian Notes

  • 证据来源:OpenClaw定时任务/AK-RSS-Digest(89源精选)/source/2026-11-16-08-willison-prompting-fable-52.md
  • 本页为当日 intake 内容页:事实与数字锚定在上列证据文件与原文链接,未添加证据之外的细节。