{"version":"2.1.337","anchor":"stale-job-folder-and-cleanup-changes","canonical_anchor":"stale-job-folder-and-cleanup-changes","heading":"Old-data cleanup now also runs on local machines and clears more folders","tier":"notice","area":"Data Retention","scope":"both","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/stale-job-folder-and-cleanup-changes","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### Old-data cleanup now also runs on local machines and clears more folders\n\nCleanup of old data no longer needs a hosted machine, also clears `mcp-start-folder`, and only removes job folders with proper IDs\n\n**What**\n\nThe routine that clears out old session data has changed in three ways:\n\n- It now also clears the `mcp-start-folder` used by the background service, a part of Claude Code that keeps running behind the scenes.\n\n- It removes a job folder only if the folder's name is a 32-character ID made of the digits 0 to 9 and the letters a to f.\n\n- It no longer runs only inside hosted worker containers, which are machines Anthropic runs Claude Code on.\n\nThe switch that controls this cleanup is unchanged and falls back to on.\n\n**Why**\n\nThe cleanup now reaches your own computer as well. The stricter name check means only folders that look like Claude Code's own job folders are removed.\n\n- Flag `tengu_hipaa_history_retention_prune`: On for this account, and not off by default (read for one account on one subscription tier against v2.1.337; this account: on, anonymous baseline: on, compiled default: on) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: Data Retention\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: both\n- Heads-up: yes"}