{"version":"2.1.336","anchor":"env-var-filter-and-userpromptsubmit-hook-check","canonical_anchor":"env-var-filter-and-userpromptsubmit-hook-check","heading":"Small changes to environment passthrough, prompt hooks and tool results","tier":"internal","area":"Internal","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336\/e\/env-var-filter-and-userpromptsubmit-hook-check","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336","markdown":"### Small changes to environment passthrough, prompt hooks and tool results\n\nClaude Code filters some environment settings, changes when a `UserPromptSubmit` step runs, and marks typed lines and cut-short results\n\n**Unclear.** What any of these changes does for someone using Claude Code is not stated.\n\n**What**\n\nSeveral small changes:\n\n- Environment variables: some keys are now filtered out of the values Claude Code passes along.\n\n- `UserPromptSubmit` hooks: a new step for these hooks (your own scripts that run when a prompt is submitted) runs only when two internal hook counts match.\n\n- Typed lines: when you submit a command, Claude Code now records whether it was typed.\n\n- Tool results: tools now pass along whether their result was cut short.\n\n**Why**\n\nThese are small shifts in how hooks are run and how tool results are shown.\n\n- Area: Internal\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 0\/5\n- Scope: individual\n- Heads-up: no"}