Skip to content

Conversation

bhandras
Copy link

This PR adds support for user defined event hooks (similar feature to what already exists in Claude Code).

It's an attempted fix for: #2109

See the second commit for usage and example configuration!

Copy link

github-actions bot commented Aug 29, 2025

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@bhandras
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

@bhandras
Copy link
Author

recheck

github-actions bot added a commit that referenced this pull request Aug 29, 2025
@bhandras
Copy link
Author

bhandras commented Sep 4, 2025

Rebased on top of latest main branch.

@bhandras
Copy link
Author

bhandras commented Sep 4, 2025

@bolinfest do you see any chance of this landing? Would you mind PTAL?

@bhandras
Copy link
Author

bhandras commented Sep 5, 2025

Rebased on latest main.

@tommyengstrom
Copy link

tommyengstrom commented Sep 8, 2025

Please review this. Hooks are a big deal! Would be great if we could get them in Codex.

@bhandras
Copy link
Author

Ping @bolinfest, could you PTAL? Seems like many are interested in this feature.

@bbss
Copy link

bbss commented Sep 15, 2025

I've been using this PR and it's useful, so thanks. However it does not allow blocking on these actions or controlling flow like claude code hooks do.

@pavelklymenko
Copy link

I've been using this PR and it's useful, so thanks. However it does not allow blocking on these actions or controlling flow like claude code hooks do.

It would be awesome to be able to “facilitate” good behavior 😁

@andrewschreiber
Copy link

Excited for this!

@Djordje-Stojanovic
Copy link

Can't wait for this :)

@bhandras
Copy link
Author

Rebased!

@backnotprop
Copy link

backnotprop commented Sep 28, 2025

However it does not allow blocking on these actions or controlling flow like claude code hooks do.

This is the point, we need this.

@DenisGorbachev
Copy link

However it does not allow blocking on these actions or controlling flow like claude code hooks do.

Agreed, this is very much needed. Currently I'm asking the model to run mise agent:on:stop, which runs the lints and tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants