Project Codex hook notifications into agent events (#70969)

* project codex hook notifications

* keep codex hook duration strict

* include thread scoped codex hook notifications
This commit is contained in:
pashpashpash
2026-04-23 23:43:03 -07:00
committed by GitHub
parent 925d11d890
commit 41c5ffc5d5
3 changed files with 175 additions and 1 deletions

View File

@@ -536,6 +536,10 @@ Until then, OpenClaw's `before_compaction`, `after_compaction`, `llm_input`, and
`llm_output` events are adapter-level observations, not byte-for-byte captures
of Codex's internal request or compaction payloads.
Codex native `hook/started` and `hook/completed` app-server notifications are
projected as `codex_app_server.hook` agent events for trajectory and debugging.
They do not invoke OpenClaw plugin hooks.
## Tools, media, and compaction
The Codex harness changes the low-level embedded agent executor only.