Skip to content

Commit 9421608

Browse files
committed
docs(codex): clarify raw tool output watchdog
1 parent 0c846be commit 9421608

1 file changed

Lines changed: 11 additions & 10 deletions

File tree

docs/plugins/codex-harness.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -529,17 +529,18 @@ eventually finish the native turn with `turn/completed`. If the app-server goes
529529
quiet for `appServer.turnCompletionIdleTimeoutMs`, OpenClaw best-effort
530530
interrupts the Codex turn, records a diagnostic timeout, and releases the
531531
OpenClaw session lane so follow-up chat messages are not queued behind a stale
532-
native turn. Any non-terminal notification for the same turn, including
533-
`rawResponseItem/completed`, disarms that short watchdog because Codex has
534-
proven the turn is still alive; the longer terminal watchdog continues to
532+
native turn. Most non-terminal notifications for the same turn, including raw
533+
assistant `rawResponseItem/completed` items, disarm that short watchdog because
534+
Codex has proven the turn is still alive; raw `custom_tool_call_output`
535+
completions keep the short post-tool watchdog armed because they are the
536+
turn-scoped tool-result handoff. The longer terminal watchdog continues to
535537
protect genuinely stuck turns. Global app-server notifications, such as
536-
rate-limit updates, do not reset turn-idle progress. When Codex emits a
537-
completed `agentMessage` item and then goes quiet without `turn/completed`,
538-
OpenClaw treats the assistant output as effectively complete, best-effort
539-
interrupts the native Codex turn, and releases the session lane. Timeout
540-
diagnostics include the last app-server notification method and, for raw
541-
assistant response items, the item type, role, id, and a bounded assistant text
542-
preview.
538+
rate-limit updates, do not reset turn-idle progress. When Codex emits a completed
539+
`agentMessage` item and then goes quiet without `turn/completed`, OpenClaw treats
540+
the assistant output as effectively complete, best-effort interrupts the native
541+
Codex turn, and releases the session lane. Timeout diagnostics include the last
542+
app-server notification method and, for raw assistant response items, the item
543+
type, role, id, and a bounded assistant text preview.
543544

544545
Environment overrides remain available for local testing:
545546

0 commit comments

Comments
 (0)