{"version":"2.1.257","anchor":"new-locked-cleanup-path-for-stray-historyjsonl-staging-copi","canonical_anchor":"new-locked-cleanup-path-for-stray-historyjsonl-staging-copi","heading":"New locked cleanup path for stray history.jsonl staging copies","tier":"internal","area":"Data Retention","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.257\/e\/new-locked-cleanup-path-for-stray-historyjsonl-staging-copi","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.257","markdown":"### New locked cleanup path for stray history.jsonl staging copies\n\nA locked cleanup routine removes stray history staging copies while leaving recently-written ones alone.\n\nA new locked cleanup routine removes stray `history.jsonl` staging-copy files older than a minute, after acquiring a lock on `history.jsonl`. It reports distinct error codes\/messages when a file can't be removed, and leaves recently-written files alone, flagging them as possibly still live (`history_siblings_remain`).\n\n- Area: Data Retention\n- Names: `history.jsonl`\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5"}