You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That exact URL returns 404, so the notice sends users to a broken page instead of the hooks docs.
I found the malformed URL in the runtime deprecation notice string here:
codex-rs/core/src/session/session.rs
The same malformed URL is mirrored in the regression test expectation here:
codex-rs/core/tests/suite/deprecation_notice.rs
What steps can reproduce the bug?
Configure the deprecated notify setting so Codex emits the deprecation notice. For example:
notify = ["notify-send", "Codex"]
Start Codex so it loads the config and emits the warning.
Observe the deprecation details text:
Switch to a `Stop` hook for end-of-turn automation. See https://developers.openai.com/codex/hooks.
Open or copy the URL exactly as shown.
Actual result: https://developers.openai.com/codex/hooks. returns 404 because the trailing period is treated as part of the URL.
Independent verification from the repo side:
codex-rs/core/src/session/session.rs:588 contains the malformed URL in the emitted notice.
codex-rs/core/tests/suite/deprecation_notice.rs:144 asserts the same malformed URL.
What is the expected behavior?
The deprecation notice should link to the real hooks documentation URL without trailing punctuation:
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.
Activity
oxysoft commentedon May 8, 2026
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.