Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.242 Home All releases olderv2.1.241 v2.1.243newer
Claude Code v2.1.242

Artifact document writes can go out as one atomic batch, falling back to one at a time

You'll notice
Useful2 Signal2
Artifacts

Artifact document writes can commit as one batch, falling back to one at a time.

What

Several documents can now be written to an artifact database in a single request. The permission prompt and result text were rewritten to describe the batch ("Write N documents ... in one batch") and ask-rules are matched per write by index. If the server does not accept batches, the writes are applied sequentially and the model is told plainly that the result is not atomic. Which path you get is negotiated with the server, not set by a flag.

Details
  • Batch requests are capped at a fixed number of writes, each path validated and de-duplicated, with size guards reporting duplicate_path, batch_size and batch_too_large against a 1 MiB server request limit.
  • A server rejection is remembered client-side with a timestamp and an "unsupported" window, so the client stops re-attempting batch shape for a cooldown period.
  • On sequential failure the result reports the index that failed and how many entries committed before it.
  • Failure messages distinguish "nothing was written" from an outcome that is unknown and may have partly committed.
Evidence

written one write at a time, in order (this server does not take batch writes yet, so it was not atomic), this server does not take batch writes yet, so the batch was applied one write at a time and is NOT atomic

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.242 →