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.222 Home All releases olderv2.1.221 v2.1.223newer

Task output files use a memoized path and lazy directory creation

Under the hood
Useful2 Signal0
Elsewhere

Task output files skip repeated path work and only create folders when actually writing.

What

Task output writing resolves its file path once per task and creates the containing directory only when the file is opened, replacing an upfront directory-creation step.

Details
  • <taskId>.output is resolved through a per-task path cache
  • The parent directory is created at open time with mkdir(dirname, { recursive: true })
  • The previous upfront directory creation helper was removed
  • The cache entry is dropped when the task output is flushed, cleared or cleaned up
Evidence

.output

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.222 →