{"version":"2.1.318","anchor":"memory-shared-file-delete-named-removal-mode-and-tengu-cozy","canonical_anchor":"memory-shared-file-delete-named-removal-mode-and-tengu-cozy","heading":"Memory push delete mode gains a recorded option and named-file deletion","tier":"use","area":"Memory","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.318\/e\/memory-shared-file-delete-named-removal-mode-and-tengu-cozy","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.318","markdown":"### Memory push delete mode gains a recorded option and named-file deletion\n\nCLAUDE_CODE_MEMORY_PUSH_DELETE_MODE now accepts recorded, and Claude is told how to delete a shared-memory file with a plain rm command\n\n**Unclear.** Which mode is used when the variable is not set is not stated.\n\n**What**\n\nShared memory is a set of files Claude Code keeps and syncs so that Claude can remember things between sessions. Pushing is sending local changes to those files back out. The setting that controls how deletions are pushed has a new option.\n\n- `CLAUDE_CODE_MEMORY_PUSH_DELETE_MODE` now accepts `recorded`, in addition to `immediate`, `never` and `corroborate`. Any other value still falls back to `corroborate`.\n\n- The mode is read from that environment variable first, then from the remote setting `tengu_mem_push_delete_mode`, which defaults to `corroborate`.\n\n- In `never` mode, deletions are recorded only when the `tengu_cozy_teacup` gate is on and the environment variable is not set.\n\n- Claude is now told that it can delete a file from shared memory by running a command that is only an `rm` of the file's full path.\n\nNothing has been read about either `tengu_mem_push_delete_mode` or `tengu_cozy_teacup`.\n\n**Why**\n\nDeleting a shared-memory file can now be recorded and pushed as a named removal, not just handled by the earlier modes. If you set `CLAUDE_CODE_MEMORY_PUSH_DELETE_MODE`, `recorded` is now a valid value instead of falling back to the default.\n\n- Area: Memory\n- Names: `CLAUDE_CODE_MEMORY_PUSH_DELETE_MODE`\n- Tier: Use it now\n- Useful: 5\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}