{"version":"2.1.311","anchor":"remote-env-file-reads-take-extra-argument-outside-self-hoste","canonical_anchor":"remote-env-file-reads-take-extra-argument-outside-self-hoste","heading":"File reads in remote sessions pass an extra list outside self-hosted setups","tier":"internal","area":"Sessions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.311\/e\/remote-env-file-reads-take-extra-argument-outside-self-hoste","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.311","markdown":"### File reads in remote sessions pass an extra list outside self-hosted setups\n\nReading local files in some remote sessions now passes an extra list, except when `CLAUDE_CODE_REMOTE_ENVIRONMENT_TYPE` is `self_hosted`\n\n**Unclear.** What the extra list holds, and so which file reads it affects, is not known.\n\n**What**\n\nWhen Claude Code reads a local file, it now passes an extra list along with the read in some cases. This only happens when an internal condition is true and `CLAUDE_CODE_REMOTE_ENVIRONMENT_TYPE` is not set to `self_hosted`. Before, no such list was passed.\n\n**Why**\n\nThis looks like a change to the checks on which files can be read in remote sessions.\n\n- Area: Sessions\n- Names: `CLAUDE_CODE_REMOTE_ENVIRONMENT_TYPE`\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}