AI Weekly Malaysia

Back to items Summaries

Quoting Prompting Claude Fable 5.2

ID
44915
Status
summarized
Published
10 Nov 2026, 1:34 PM
Fetched
12 Nov 2026, 6:38 AM
Provider
Simon Willison
Category
developer-ai
Original URL
https://simonwillison.net/2026/Nov/10/prompting-claude-fable-52/
Source URL
https://simonwillison.net/atom/everything/

Summary

Score
7.0
Created
12 Nov 2026, 6:38 AM
Tags
Audience
developersvibe_codersai_ml_learners

What happened

A quoted excerpt from Anthropic's 'Prompting Claude Fable 5.2' documentation, surfaced by Simon Willison, shows that telling the model who owns the codebase changes whether it refactors or just piles onto existing structure. On small coding tasks where the prompt said nothing about ownership, or framed the code as someone else's, the model tended to extend the existing structure even when that meant repeating code. Adding the line 'This codebase is yours: what it's for and how it's built are your call, and you'll keep building on it' made the model merge repeated code in about half the tries, versus under a tenth without it.

Why it matters

If you use an AI coding agent on a codebase you want cleaned up, the default framing treats the code as not-its-own and it will copy existing patterns instead of consolidating them. Adding one explicit ownership sentence to your project instructions moves duplicate-code merging from under 10% to roughly 50% of attempts — still a coin flip, so verify the diff rather than assuming the refactor happened. If you deliberately don't want the agent restructuring legacy code, leave ownership out.

Discussion angle

Show the exact ownership sentence and ask who has put it in their project config — then compare diffs from the same task with and without it, since a ~50% merge rate means half the runs still won't refactor.

Top