Follow Discord
Sweep 08 Oct 2026 · 18:53Z Build v2.1.295 516 read Stable v2.1.286 Latest v2.1.295 Next v2.1.295 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 Improvements
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
ImprovementsKind: in v2.1.295,
ImprovementsSection of the release

Unclear When this wording is shown instead of the other restart notices is not known.

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.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhen this wording is shown instead of the other restart notices is not known.

See this entry in the whole of v2.1.295 →

Feedback