Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

self-hosted-sandboxes-memory changedmanaged-agents/self-hosted-sandboxes-memory

Nearest release: v2.1.330, published under an hour before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+21added
Lines−21removed
From line 149 where the diff opens
First seen 2 Oct 2026 this site's first read of the page
Recorded edits16to this page, all time

The whole hunk

from line 149, old and new numbered
/
lines
from line 149
149149 
150150`memory_sync_interval` (typescript: `memorySyncIntervalMs`; go: `MemorySyncInterval`) sets the shortest time between two syncs while the session runs.
151151 
152| Setting | Value |
153| ---------------------- | --------------------------------------------------- |
154| Default | 15 seconds |
155| Minimum | 5 seconds |
156| Example (10 seconds) | `10` (typescript: `10_000`; go: `10 * time.Second`) |
157| Disable memory support | `None` (typescript: `null`; go: `-1`) |
152| Setting | Value |
153| ----- | ----- |
154| Default | 15 seconds |
155| Minimum | 5 seconds |
156| Example (10 seconds) | `10` (typescript: `10_000`; go: `10 * time.Second`) |
157| Disable memory support | `None` (typescript: `null`; go: `-1`) |
158158 
159159The worker doesn’t sync on a timer. It checks the interval after each call to a tool that runs in your sandbox, such as `bash`, `read`, or a custom tool. The call doesn’t have to touch memory. Without tool calls, nothing syncs until the [final sync](https://platform.claude.com/docs/en/managed-agents/self-hosted-sandboxes-memory#how-the-worker-handles-memory). A change in one session reaches another running session only after both have synced, so the wait has no fixed length.
160160 
from line 168
168168 
169169`memory_sync_deletions` (typescript: `memorySyncDeletions`; go: `MemorySyncDeletions`) sets whether a file the agent deletes locally is also deleted from the store. Uploads and downloads are unaffected.
170170 
171| Value | Behavior |
172| --------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
173| `"enabled"` (go: `environments.MemorySyncDeletionsEnabled`) (default) | Deletes the memory from the store once a later sync confirms the file is still gone. |
174| `"log_only"` (go: `environments.MemorySyncDeletionsLogOnly`) | Runs the same checks but only logs what it would have deleted. Use it to watch what your workers would delete before you trust the enabled mode. |
175| `"disabled"` (go: `environments.MemorySyncDeletionsDisabled`) | Never deletes from the store. |
171| Value | Behavior |
172| ----- | ----- |
173| `"enabled"` (go: `environments.MemorySyncDeletionsEnabled`) (default) | Deletes the memory from the store once a later sync confirms the file is still gone. |
174| `"log_only"` (go: `environments.MemorySyncDeletionsLogOnly`) | Runs the same checks but only logs what it would have deleted. Use it to watch what your workers would delete before you trust the enabled mode. |
175| `"disabled"` (go: `environments.MemorySyncDeletionsDisabled`) | Never deletes from the store. |
176176 
177177For example, to sync at most once every 10 seconds and only log the deletions the worker would have made, use the following sample. The sample uses `/workspace` as the working directory, which must exist before the worker starts. [Run an always-on worker](https://platform.claude.com/docs/en/managed-agents/self-hosted-sandboxes-workers#run-an-always-on-worker) says how to create the directory and what to use on macOS.
178178 
from line 312
312312 
313313A conflict is a memory that changed both in the store and in the sandbox since the previous sync. A deletion counts as a change. For a store attached with `access: "read_write"`, the worker resolves the conflict at the next sync:
314314 
315| In the store | In the sandbox | Result |
316| ------------ | -------------- | ---------------------------------------------------------- |
317| Changed | Changed | The store’s version overwrites the file. |
318| Changed | Deleted | The worker writes the store’s version back to the sandbox. |
319| Deleted | Changed | The worker creates the memory again from the file. |
315| In the store | In the sandbox | Result |
316| ----- | ----- | ----- |
317| Changed | Changed | The store’s version overwrites the file. |
318| Changed | Deleted | The worker writes the store’s version back to the sandbox. |
319| Deleted | Changed | The worker creates the memory again from the file. |
320320 
321321In the first two rows, the agent’s change or deletion is lost, even though the tool call succeeded. Nothing tells the agent, and the only sign of the loss is a warning in the worker’s log. In the last row, the deletion in the store is undone.
322322 
from line 335
335335* Availability: Available
336336 
337337| Status | Cloud platforms |
338| ------ | --------------- |
339| Beta | Claude API |
338| ----- | ----- |
339| Beta | Claude API |
340340 
341341### Required beta headers
342342 
from line 350
350350 
351351[Data handling overview](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#feature-eligibility)
352352 
353| Item | Zero data retention | HIPAA |
354| ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------- |
355| Status | Not eligible | Not eligible |
353| Item | Zero data retention | HIPAA |
354| ----- | ----- | ----- |
355| Status | Not eligible | Not eligible |
356356| Details | Not eligible for ZDR, except for self-hosted Managed Agents. Sessions are stateful resources; transcripts persist until you delete them. [Learn more](https://platform.claude.com/docs/en/managed-agents/self-hosted-data-and-access#how-long-data-is-kept) | Not eligible for HIPAA. Applies to all Managed Agents sub-features. |
357357 
358358Applicable endpoints:
Feedback