Skip to content

Commit 9a410e3

Browse files
committed
docs(codex): align post-tool assistant timeout docs
1 parent da48773 commit 9a410e3

2 files changed

Lines changed: 12 additions & 6 deletions

File tree

docs/plugins/codex-harness-reference.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -282,9 +282,12 @@ turn-scoped tool-result handoff. Completed `agentMessage` items and pre-tool raw
282282
assistant `rawResponseItem/completed` items arm the assistant-output release: if
283283
Codex then goes quiet without `turn/completed`, OpenClaw best-effort interrupts
284284
the native turn and releases the session lane. Post-tool raw assistant progress
285-
keeps waiting for `turn/completed` or the terminal watchdog. Timeout diagnostics
286-
include the last app-server notification method and, for raw assistant response
287-
items, the item type, role, id, and a bounded assistant text preview.
285+
keeps waiting for `turn/completed` while a completion-idle guard stays armed; the
286+
guard uses `appServer.postToolRawAssistantCompletionIdleTimeoutMs` when
287+
configured and falls back to the assistant completion idle timeout otherwise.
288+
Timeout diagnostics include the last app-server notification method and, for raw
289+
assistant response items, the item type, role, id, and a bounded assistant text
290+
preview.
288291

289292
## Model discovery
290293

docs/plugins/codex-harness.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -557,9 +557,12 @@ Completed `agentMessage` items and pre-tool raw assistant
557557
`rawResponseItem/completed` items arm the assistant-output release: if Codex then
558558
goes quiet without `turn/completed`, OpenClaw best-effort interrupts the native
559559
turn and releases the session lane. Post-tool raw assistant progress keeps
560-
waiting for `turn/completed` or the terminal watchdog. Timeout diagnostics
561-
include the last app-server notification method and, for raw assistant response
562-
items, the item type, role, id, and a bounded assistant text preview.
560+
waiting for `turn/completed` while a completion-idle guard stays armed; the guard
561+
uses `appServer.postToolRawAssistantCompletionIdleTimeoutMs` when configured and
562+
falls back to the assistant completion idle timeout otherwise. Timeout
563+
diagnostics include the last app-server notification method and, for raw
564+
assistant response items, the item type, role, id, and a bounded assistant text
565+
preview.
563566

564567
Environment overrides remain available for local testing:
565568

0 commit comments

Comments
 (0)