Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
VSCode ExtensionArea: what it touches
Bug FixesKind: in v2.1.280,
Bug FixesSection of the release
What
The claude edit-hook command, used internally by the VS Code extension to apply a single JSON-formatted edit read from standard input, now checks the CLAUDE_CODE_CHILD_SESSION environment variable. If that variable is set, meaning the command was spawned by Claude Code itself rather than run directly, it logs a telemetry event and returns a refusal message instead of reading and applying the edit.
Why
This stops claude edit-hook from being triggered accidentally from within a nested Claude Code process, which could otherwise apply unintended edits.