{"version":"2.1.225","anchor":"session-env-files-can-go-through-the-storage-abstraction","canonical_anchor":"session-env-files-can-go-through-the-storage-abstraction","heading":"Session env files can go through the storage abstraction","tier":"internal","area":"Elsewhere","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.225\/e\/session-env-files-can-go-through-the-storage-abstraction","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.225","markdown":"### Session env files can go through the storage abstraction\n\nSession environment files can be read and written through a storage layer instead of directly on disk.\n\n**What**\n\nThe hook-generated session environment loader and the cwd-env clearing routine can now read and write through a storage handle instead of the filesystem directly.\n\n**Details**\n\n- Both take an optional storage handle; when supplied, entries under `session-env` in `userConfigDir` are listed, read and written through that layer, paged with a cursor\n- When no handle is passed, the existing direct `fs\/promises` path is used\n- `CLAUDE_ENV_FILE` handling is unchanged\n\n**Evidence**\n\n`Failed to clear cwd env files`\n\n- Area: Elsewhere\n- Names: `CLAUDE_ENV_FILE`\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 0\/5"}