Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.295 ·

Cloud session restore can keep files Claude Code did not create

With keepsForeignFiles, cloud restore cleanup leaves foreign files in place and warns that deny and ask rules may not be in force

Group of 3 You'll notice Internal Changes
JSON All of v2.1.295
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Cloud SessionsArea: what it touches
Internal ChangesKind: in v2.1.295,
ImprovementsSection of the release

What

When a cloud session's environment is restarted, Claude Code restores your settings into it. Files there that Claude Code did not create are called foreign files.

  • When keepsForeignFiles is set, the cleanup step now leaves a foreign path in place and reports kept_foreign instead of removing it.
  • keepsForeignFiles depends on a foreignFiles setting not being replaced.
  • The restore result now also records keepsForeignFiles and sidecarCountedAsAbsent.
  • With keepsForeignFiles set, the restart notice now says: "Your deny and ask rules may not be in force in this cloud session: its environment was restarted."

Why

Files you did not create through Claude Code are no longer deleted during restore. When that happens, check your permission rules, since the notice warns that rules blocking or asking about actions may not be applied.

See this entry in the whole of v2.1.295 →

Feedback