























@@ -493,7 +493,7 @@ Supported `appServer` fields:
493493| `headers` | `{}` | Extra WebSocket headers. |
494494| `clearEnv` | `[]` | Extra environment variable names removed from the spawned stdio app-server process after OpenClaw builds its inherited environment. OpenClaw keeps per-agent `CODEX_HOME` and inherited `HOME` for local launches. |
495495| `requestTimeoutMs` | `60000` | Timeout for app-server control-plane calls. |
496-| `turnCompletionIdleTimeoutMs` | `60000` | Quiet window after a turn-scoped Codex app-server request while OpenClaw waits for `turn/completed`. Raise this for slow post-tool or status-only synthesis phases. |
496+| `turnCompletionIdleTimeoutMs` | `60000` | Quiet window after Codex accepts a turn or after a turn-scoped app-server request while OpenClaw waits for `turn/completed`. Raise this for slow post-tool or status-only synthesis phases. |
497497| `mode` | `"yolo"` unless local Codex requirements disallow YOLO | Preset for YOLO or guardian-reviewed execution. Local stdio requirements that omit `danger-full-access`, `never` approval, or the `user` reviewer make the implicit default guardian. |
498498| `approvalPolicy` | `"never"` or an allowed guardian approval policy | Native Codex approval policy sent to thread start/resume/turn. Guardian defaults prefer `"on-request"` when allowed. |
499499| `sandbox` | `"danger-full-access"` or an allowed guardian sandbox | Native Codex sandbox mode sent to thread start/resume. Guardian defaults prefer `"workspace-write"` when allowed, otherwise `"read-only"`. When an OpenClaw sandbox is active, `danger-full-access` is narrowed to `"workspace-write"`. |
@@ -511,16 +511,17 @@ budgets are capped at 600000 ms. On timeout, OpenClaw aborts the tool signal
511511where supported and returns a failed dynamic-tool response to Codex so the turn
512512can continue instead of leaving the session in `processing`.
513513514-After OpenClaw responds to a Codex turn-scoped app-server request, the harness
515-also expects Codex to finish the native turn with `turn/completed`. If the
516-app-server goes quiet for `appServer.turnCompletionIdleTimeoutMs` after that
517-response, OpenClaw best-effort interrupts the Codex turn, records a diagnostic
518-timeout, and releases the OpenClaw session lane so follow-up chat messages are
519-not queued behind a stale native turn. Any non-terminal notification for the
520-same turn, including `rawResponseItem/completed`, disarms that short watchdog
521-because Codex has proven the turn is still alive; the longer terminal watchdog
522-continues to protect genuinely stuck turns. Global app-server notifications,
523-such as rate-limit updates, do not reset turn-idle progress. When Codex emits a
514+After Codex accepts a turn, and after OpenClaw responds to a turn-scoped
515+app-server request, the harness expects Codex to make current-turn progress and
516+eventually finish the native turn with `turn/completed`. If the app-server goes
517+quiet for `appServer.turnCompletionIdleTimeoutMs`, OpenClaw best-effort
518+interrupts the Codex turn, records a diagnostic timeout, and releases the
519+OpenClaw session lane so follow-up chat messages are not queued behind a stale
520+native turn. Any non-terminal notification for the same turn, including
521+`rawResponseItem/completed`, disarms that short watchdog because Codex has
522+proven the turn is still alive; the longer terminal watchdog continues to
523+protect genuinely stuck turns. Global app-server notifications, such as
524+rate-limit updates, do not reset turn-idle progress. When Codex emits a
524525completed `agentMessage` item and then goes quiet without `turn/completed`,
525526OpenClaw treats the assistant output as effectively complete, best-effort
526527interrupts the native Codex turn, and releases the session lane. Timeout
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。