openai / openai/codex-plugin-cc
Codex clamps official plugin SessionEnd timeout from 5s to 3s
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 33.3k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
Summary
When Codex loads the official codex@openai-codex plugin, it clamps the plugin's SessionEnd hook timeout from 5 seconds to Codex's 3-second maximum and prints a warning on every startup.
Environment
- Windows 11
codex-cli 0.146.0codex@openai-codexplugin 1.0.6
Reproduction
- Install or enable
codex@openai-codexin Codex. - Start a new Codex session.
- Observe the startup warning.
clamping SessionEnd hook timeout to 3s in ...\plugins\cache\openai-codex\codex\1.0.6\hooks\hooks.json
The current manifest sets the SessionEnd timeout to 5 seconds:
https://github.com/openai/codex-plugin-cc/blob/main/plugins/codex/hooks/hooks.json
Actual behavior
Codex emits a warning and enforces 3 seconds, so the declared 5-second cleanup budget is not honored.
Expected behavior
The official plugin should load in Codex without a validation warning, while preserving enough time for session cleanup on Claude Code.
Compatibility concern
Simply changing the shared value from 5 to 3 seconds may regress Claude Code. Issue #474 asks for the opposite change because cleanup can already exceed 5 seconds.
A host-specific manifest/override, or moving slow cleanup out of the bounded SessionEnd hook, may avoid the conflict.
Security and privacy
No credentials, tokens, project identifiers, or user data are included in this report.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with plugins/codex/hooks/hooks.json and compare the SessionEnd timeout with Codex's 3-second limit and the Claude Code compatibility concern. Determine whether a host-specific override or moving slow cleanup is supported by the repository, then verify that Codex loads without the warning while Claude Code retains sufficient cleanup time.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100