{"version":"2.1.259","anchor":"background-sessions-get-a-narrower-permission-snapshot","canonical_anchor":"background-sessions-get-a-narrower-permission-snapshot","heading":"Background sessions get a narrower permission snapshot","tier":"notice","area":"Permissions","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.259\/e\/background-sessions-get-a-narrower-permission-snapshot","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.259","markdown":"### Background sessions get a narrower permission snapshot\n\nBackground sessions run with session allow-rules cleared and a narrower set of working directories, and always snapshot the system prompt.\n\nA new permission-context snapshot publisher zeroes out session allow-rules and restricts additional working directories to session-sourced ones specifically for background sessions, giving them a narrower permission footprint than foreground sessions. System prompt snapshotting is also now forced on whenever the session kind is `bg` (`CLAUDE_CODE_SESSION_KIND=bg`), in addition to being triggered by the existing explicit `systemPromptSnapshot` flag.\n\n- Area: Permissions\n- Names: `CLAUDE_CODE_SESSION_KIND`, `systemPromptSnapshot`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 3\/5"}