Support "Edit|Write" matcher in PostToolUse and PreToolUse

Resolved 💬 3 comments Opened Apr 17, 2026 by 3Spiders Closed Apr 22, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What variant of Codex are you using?

analyze generated code and tools calling.

What feature would you like to see?

like claude code, support Edit|Write matcher in PostToolUse

{ 
  "hooks": {
    "PostToolUse": [
      {
        "matcher": "Edit|Write",
        "hooks": [
          {
            "type": "command",
            "command": ""
          }
        ]
      }
    ],
  }
}

Additional information

the raw request from this issue, https://github.com/openai/codex/issues/2109#issuecomment-4263194142

View original on GitHub ↗

3 Comments

github-actions[bot] contributor · 4 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #16732
  • #17794

Powered by Codex Action

abhinav-oai contributor · 4 months ago
oxysoft · 3 months ago

Indexed this hook ticket in the umbrella tracker: #21753

Goal: collect the scattered Codex hook requests and bugs into one parity matrix for Full Claude Code Hook Parity (29+), while preserving this issue as the detailed thread for its specific behavior.