Skip to content

Fix Codex hook runtime and SessionStart latency - #658

Merged
cdeust merged 3 commits into
mainfrom
fix/codex-hook-runtime-20261002
Oct 2, 2026
Merged

cdeust merged 3 commits into
mainfrom
fix/codex-hook-runtime-20261002

Conversation

@cdeust

@cdeust cdeust commented Oct 2, 2026

Copy link
Copy Markdown
Owner

Codex hooks repeatedly resolved dependencies through uvx, selected Intel CPython on an ARM Mac and attempted to compile cryptography until event deadlines. Execute the explicitly prepared matching wheel through isolated Python for hooks, SessionEnd replay and MCP startup; publish the existing Intel dependency bound and prepare the candidate runtime in CI.

SessionStart now avoids importing the ML stack for a banner presence check and narrows the grooming query to the indexed lesson subset. Its PostgreSQL connection disables JIT locally.

Validation:136 targeted tests, repository-wide Ruff check/format, source and craftsmanship gates, staged diff check. Native Codex notifications confirm the tested Cortex SessionStart, UserPromptSubmit, PostToolUse and SessionEnd events completed. Two unrelated plugins still failed SessionStart JSON validation and are being repaired separately. Edit gates, PreCompact and subagent events were not exercised natively. No package release or version bump is included.

@cdeust
cdeust marked this pull request as ready for review October 2, 2026 22:01
@cdeust
cdeust merged commit 7f6cf64 into main Oct 2, 2026
28 checks passed
@cdeust
cdeust deleted the fix/codex-hook-runtime-20261002 branch October 2, 2026 22:01
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.

1 participant