Skip to main content
Refused unless run interactively from an ordinary terminal: standard input must be a real tty, and this process’s environment must not carry Claude Code’s own CLAUDECODE / CLAUDE_CODE_ENTRYPOINT markers (present in every tool call Claude Code itself runs, including from its integrated terminal). Neither check is a cryptographic proof of human origin — a tool that allocates its own pty could still spoof the first, and an agent that scrubs its own environment could still clear the second — this raises the cost of an agent overriding its own denial by default, it does not guarantee against one that goes out of its way to evade detection. A human refused from Claude Code’s integrated terminal should run the command from a separate, ordinary terminal instead. Also runs as actual plan-check-override.

Options