Skip to content

docs(codex): document hook coverage closeout#230

Merged
zzet merged 1 commit into
zzet:mainfrom
blankanswer:docs/codex-hook-closeout-206
Jul 3, 2026
Merged

docs(codex): document hook coverage closeout#230
zzet merged 1 commit into
zzet:mainfrom
blankanswer:docs/codex-hook-closeout-206

Conversation

@blankanswer

Copy link
Copy Markdown
Contributor

Summary

Documents the completed Codex hook integration coverage and closes #206.

Codex now has:

  • SessionStart orientation for startup|resume|clear|compact
  • Bash PreToolUse soft graph guidance
  • Gortex MCP read-tool PreToolUse compress-bodies guidance
  • Bash PostToolUse graph enrichment for grep/read/list-shaped output
  • gortex init --hooks-only refresh support for Codex hooks

Lifecycle rationale

This intentionally does not add separate PreCompact, PostCompact, or Stop hooks.

SessionStart already covers the compact source, which is the safer orientation path for Codex. Stop has continuation semantics and should remain a separate, explicit feature if needed.

Out of scope

  • PreCompact / PostCompact runtime behavior
  • Stop continuation behavior
  • SubagentStart / SubagentStop
  • apply_patch
  • deny / enforcement behavior
  • input rewriting or updatedInput
  • output suppression
  • Claude / Gemini / Antigravity behavior changes

Tests

  • git diff --check

Not run: docs-only change.

Closes #206.

@zzet zzet merged commit 087576f into zzet:main Jul 3, 2026
9 checks passed
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.

feat: Add Codex PreToolUse/PostToolUse hooks for graph context injection

2 participants