[BUG] --verbose PreToolUse note obscures command

Resolved 💬 3 comments Opened Oct 6, 2025 by bukzor Closed Oct 10, 2025

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When using --verbose and a PreToolUse hook, I can no longer see the command issued.

PreToolUse:Bash [~/.claude/hooks/git_commit_validator.py] completed successfully

     access-control-allow-origin: *                                                                                    
     access-control-expose-headers: *
...

What Should Happen?

I'd like to relegate PreToolUse successes to --debug, myself.

````
Bash(curl -sSL -IL ...)

access-control-allow-origin: *
access-control-expose-headers: *
...



### Error Messages/Logs

```shell

Steps to Reproduce

  1. a PreToolUse hook
  2. --verbose

Is this a regression?

Probably not.

Claude Code Version

2.0.1

Platform

Anthropic API

Operating System

linux

Terminal/Shell

hterm (cros)
bash

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗