Skip to content

Hook support not working in IDE extension and Codex app #18090

Closed

Description

@Zeoy2020

What version of the Codex App are you using (From “About Codex” dialog)?

26.409.61251

What subscription do you have?

null

What platform is your computer?

windows

What issue are you seeing?

Although maintainers mentioned that hook support is already implemented for the IDE extension and Codex app, I cannot get it to work. The CLI hooks behave correctly, but the same functionality does not trigger in the IDE extension or Codex app.

What steps can reproduce the bug?

config.toml
[features]
codex_hooks = true

hooks.json
"hooks": {
"PostToolUse": [
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "xxxx'"
}
]
}
]
}

Agent environment:Windows Native
Integrated terminal shell:PowerShell

Actual behavior:
(When using hooks, my scripts will print some logs on txt)
CLI: hook executes as expected.
IDE extension: hook is ignored.
Codex app: hook is ignored.

What is the expected behavior?

Hooks should execute consistently across CLI, IDE extension, and Codex app.

Additional information

No response

Activity

  1. added
    appIssues related to the Codex desktop app
    on Apr 16, 2026
  2. added
    bugSomething isn't working
    hooksIssues related to event hooks
    windows-osIssues related to Codex on Windows systems
    on Apr 16, 2026
  3. github-actions commented on Apr 16, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  4. Zeoy2020 commented on Apr 16, 2026

    @Zeoy2020
    Author

    I tried on 3 different machines(windows), all show the same behavior

  5. removed
    appIssues related to the Codex desktop app
    on Apr 16, 2026
  6. etraut-openai commented on Apr 16, 2026

    @etraut-openai
    Contributor

    This is because hooks were only recently enabled for Windows in the CLI. The version of the CLI that was included in your version of the IDE and app does not yet support it. The next releases will.

  7. oxysoft commented on May 8, 2026

    @oxysoft

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghooksIssues related to event hookswindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions