Production as the verifier
Tests could not judge the rewrite, so Anthropic let production judge it: real requests go through both the old code and the new code, and the results are compared. That is shadowing, and the usual way of doing it breaks here: a request must be billed once, Claude's replies vary, and a common diff tool would ignore the whole reply as noise (the post's Figure 7, redrawn). The fix was to call the model once, replay its output to Rust, and require an exact match at every step. Without reading any user content, the team recorded only the shape of each difference: checkpoints show which step differed first (Figure 8), and fingerprints tell one bug from another (Figure 9). The share of inputs that matched went from 24 % down to 6.5 %, then up to 99.6 % (Figure 6). English narration.
Each series explains a public post on Anthropic's blog and links the original; the posts and their figures belong to Anthropic. This course is not affiliated with or endorsed by Anthropic: the explanations are original, and every chart is redrawn from the post's data, with schematic parts marked. The components of agent memory (Lance Martin) · Building always-on agents (William Hu) · Migrating our Messages API to Rust (Anthropic Engineering) · Safely scaling multi-agent teams with Claude Fable 5.2 (Claude developer blog) · MCP servers can now ship skills, run tasks, and more with Claude (Claude blog)