{"version":"2.1.247","anchor":"hook-inventory-sent-to-a-cloud-worker-includes-the-repo-root","canonical_anchor":"hook-inventory-sent-to-a-cloud-worker-includes-the-repo-root","heading":"Hook inventory sent to a cloud worker includes the repo root","tier":"internal","area":"Cloud Sessions","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.247\/e\/hook-inventory-sent-to-a-cloud-worker-includes-the-repo-root","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.247","markdown":"### Hook inventory sent to a cloud worker includes the repo root\n\nThe hook list sent to a cloud session now includes your repo root and a composed shell prefix.\n\n**What**\n\nThe list of hooks handed to a cloud session now includes a repository root entry when that differs from the directory you launched in, and the shell prefix it reports is composed from attached, pre-settings and session environments rather than read straight from `CLAUDE_CODE_SHELL_PREFIX`.\n\n**Details**\n\n- The `\/hooks` listing path does the same and additionally passes through the last sync root.\n\n**Evidence**\n\n`shellPrefix`\n\n- Area: Cloud Sessions\n- Names: `CLAUDE_CODE_SHELL_PREFIX`\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5"}