Skip to content

Commit b875109

Browse files
committed
docs: clarify Codex native hook relay recovery
1 parent 4ad9f0b commit b875109

3 files changed

Lines changed: 11 additions & 7 deletions

File tree

‎docs/plugins/codex-computer-use.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,9 @@ fresh OpenClaw session.
281281
**A Computer Use tool says `Native hook relay unavailable`.** The Codex-native
282282
tool hook could not reach an active OpenClaw relay through the local bridge or
283283
Gateway fallback. Start a fresh OpenClaw session with `/new` or `/reset`. If it
284-
keeps happening, restart the gateway so old app-server threads and hook
285-
registrations are dropped, then retry.
284+
works once and then fails again on a later tool call, `/new` is only clearing the
285+
current attempt; restart the Codex app-server or OpenClaw Gateway so old threads
286+
and hook registrations are dropped, then retry in a fresh session.
286287

287288
**Turn-start auto-install refuses a source.** This is intentional. Add the
288289
source with explicit `/codex computer-use install --source <marketplace-source>`

‎docs/plugins/codex-harness.md‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -738,9 +738,11 @@ protocol version.
738738
the Codex thread is still trying to use a native hook relay id that OpenClaw no
739739
longer has registered. This is a native Codex hook transport problem, not an ACP
740740
backend, provider, GitHub, or shell-command failure. Start a fresh session in
741-
the affected chat with `/new` or `/reset`, then retry a harmless command. If the
742-
same fresh session still fails, restart the Codex app-server or OpenClaw Gateway
743-
so native hook registrations are recreated.
741+
the affected chat with `/new` or `/reset`, then retry a harmless command. If that
742+
works once but the next native tool call fails again, treat `/new` as a temporary
743+
workaround only: copy the prompt into a fresh session after restarting the Codex
744+
app-server or OpenClaw Gateway so old threads are dropped and native hook
745+
registrations are recreated.
744746

745747
**A non-Codex model uses the built-in harness:** that is expected unless
746748
provider or model runtime policy routes it to another harness. Plain non-OpenAI

‎docs/tools/acp-agents.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -837,8 +837,9 @@ permission modes, see
837837
<Note>
838838
`Command blocked by PreToolUse hook: Native hook relay unavailable` belongs to
839839
the native Codex hook relay, not ACP/acpx. In a bound Codex chat, start a fresh
840-
session with `/new` or `/reset`; if it persists, restart the Codex app-server or
841-
OpenClaw Gateway. See [Codex harness troubleshooting](/plugins/codex-harness#troubleshooting).
840+
session with `/new` or `/reset`; if it works once and then returns on the next
841+
native tool call, restart the Codex app-server or OpenClaw Gateway instead of
842+
repeating `/new`. See [Codex harness troubleshooting](/plugins/codex-harness#troubleshooting).
842843
</Note>
843844

844845
## Related

0 commit comments

Comments
 (0)