Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.273 ·

Memory-directory prefetch now respects blockReadsOutsideWorkingDirectories

Memory-file prefetching now also respects the block-outside-directory-reads setting

TierYou'll noticehow much it should matter to you
Useful2my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaMemorywhat it touches
KindImprovementsin v2.1.273,
You'll notice

Memory-file prefetching now also respects the block-outside-directory-reads setting

What

When Claude Code warms up its memory context by prefetching files from a memory directory, it now checks the blockReadsOutsideWorkingDirectories setting (which makes file tools refuse reads outside your designated working directories) before reading a candidate file. If that setting is on, it verifies the file is actually inside the working directory first. If that check itself fails with an error, the read is blocked rather than allowed.

Why

This closes a gap where memory prefetching could have read files outside your working directory even with blockReadsOutsideWorkingDirectories turned on, and it errs on the side of blocking when it can't be sure.

Read from
Names in the bundleblockReadsOutsideWorkingDirectories
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Added since A small documentation edit on How Claude remembers your project touched a line naming blockReadsOutsideWorkingDirectories after this was published. When you set it in a project's `.claude/settings.json` or `.claude/settings.local.json`, Claude Code honors it under the same [workspace trust rule as hooks in settings files](/docs/en/permissions#what-runs-before-you-trust-a-folder). Whil… memory see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesA small documentation edit on How Claude remembers your project touched a line naming blockReadsOutsideWorkingDirectories after this was…

See this entry in the whole of v2.1.273 →

Feedback