openai / openai/codex-plugin-cc

Codex clamps official plugin SessionEnd timeout from 5s to 3s

Open
#582 0 comments 1 reaction 0 assignees View on GitHub

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.0
  • codex@openai-codex plugin 1.0.6

Reproduction

  1. Install or enable codex@openai-codex in Codex.
  2. Start a new Codex session.
  3. 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.