惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
C
Check Point Blog
J
Java Code Geeks
腾讯CDC
Martin Fowler
Martin Fowler
MongoDB | Blog
MongoDB | Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园 - 三生石上(FineUI控件)
Apple Machine Learning Research
Apple Machine Learning Research
大猫的无限游戏
大猫的无限游戏
Engineering at Meta
Engineering at Meta
罗磊的独立博客
Last Week in AI
Last Week in AI
B
Blog
IT之家
IT之家
S
SegmentFault 最新的问题
D
DataBreaches.Net
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
GbyAI
GbyAI
博客园 - 聂微东
U
Unit 42
有赞技术团队
有赞技术团队
Y
Y Combinator Blog
MyScale Blog
MyScale Blog

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
fix(codex): keep app-server alive after turn activity · o...
steipete · 2026-05-07 · via Recent Commits to openclaw:main

@@ -628,21 +628,22 @@ Supported top-level Codex plugin fields:

628628629629

Supported `appServer` fields:

630630631-

| Field | Default | Meaning |

632-

| ------------------- | ---------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |

633-

| `transport` | `"stdio"` | `"stdio"` spawns Codex; `"websocket"` connects to `url`. |

634-

| `command` | managed Codex binary | Executable for stdio transport. Leave unset to use the managed binary; set it only for an explicit override. |

635-

| `args` | `["app-server", "--listen", "stdio://"]` | Arguments for stdio transport. |

636-

| `url` | unset | WebSocket app-server URL. |

637-

| `authToken` | unset | Bearer token for WebSocket transport. |

638-

| `headers` | `{}` | Extra WebSocket headers. |

639-

| `clearEnv` | `[]` | Extra environment variable names removed from the spawned stdio app-server process after OpenClaw builds its inherited environment. `CODEX_HOME` and `HOME` are reserved for OpenClaw's per-agent Codex isolation on local launches. |

640-

| `requestTimeoutMs` | `60000` | Timeout for app-server control-plane calls. |

641-

| `mode` | `"yolo"` | Preset for YOLO or guardian-reviewed execution. |

642-

| `approvalPolicy` | `"never"` | Native Codex approval policy sent to thread start/resume/turn. |

643-

| `sandbox` | `"danger-full-access"` | Native Codex sandbox mode sent to thread start/resume. |

644-

| `approvalsReviewer` | `"user"` | Use `"auto_review"` to let Codex review native approval prompts. `guardian_subagent` remains a legacy alias. |

645-

| `serviceTier` | unset | Optional Codex app-server service tier: `"fast"`, `"flex"`, or `null`. Invalid legacy values are ignored. |

631+

| Field | Default | Meaning |

632+

| ----------------------------- | ---------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |

633+

| `transport` | `"stdio"` | `"stdio"` spawns Codex; `"websocket"` connects to `url`. |

634+

| `command` | managed Codex binary | Executable for stdio transport. Leave unset to use the managed binary; set it only for an explicit override. |

635+

| `args` | `["app-server", "--listen", "stdio://"]` | Arguments for stdio transport. |

636+

| `url` | unset | WebSocket app-server URL. |

637+

| `authToken` | unset | Bearer token for WebSocket transport. |

638+

| `headers` | `{}` | Extra WebSocket headers. |

639+

| `clearEnv` | `[]` | Extra environment variable names removed from the spawned stdio app-server process after OpenClaw builds its inherited environment. `CODEX_HOME` and `HOME` are reserved for OpenClaw's per-agent Codex isolation on local launches. |

640+

| `requestTimeoutMs` | `60000` | Timeout for app-server control-plane calls. |

641+

| `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. |

642+

| `mode` | `"yolo"` | Preset for YOLO or guardian-reviewed execution. |

643+

| `approvalPolicy` | `"never"` | Native Codex approval policy sent to thread start/resume/turn. |

644+

| `sandbox` | `"danger-full-access"` | Native Codex sandbox mode sent to thread start/resume. |

645+

| `approvalsReviewer` | `"user"` | Use `"auto_review"` to let Codex review native approval prompts. `guardian_subagent` remains a legacy alias. |

646+

| `serviceTier` | unset | Optional Codex app-server service tier: `"fast"`, `"flex"`, or `null`. Invalid legacy values are ignored. |

646647647648

OpenClaw-owned dynamic tool calls are bounded independently from

648649

`appServer.requestTimeoutMs`: each Codex `item/tool/call` request must receive

@@ -652,10 +653,15 @@ the turn can continue instead of leaving the session in `processing`.

652653653654

After OpenClaw responds to a Codex turn-scoped app-server request, the harness

654655

also expects Codex to finish the native turn with `turn/completed`. If the

655-

app-server goes quiet for 60 seconds after that response, OpenClaw best-effort

656-

interrupts the Codex turn, records a diagnostic timeout, and releases the

657-

OpenClaw session lane so follow-up chat messages are not queued behind a stale

658-

native turn.

656+

app-server goes quiet for `appServer.turnCompletionIdleTimeoutMs` after that

657+

response, OpenClaw best-effort interrupts the Codex turn, records a diagnostic

658+

timeout, and releases the OpenClaw session lane so follow-up chat messages are

659+

not queued behind a stale native turn. Any non-terminal notification for the

660+

same turn, including `rawResponseItem/completed`, disarms that short watchdog

661+

because Codex has proven the turn is still alive; the longer terminal watchdog

662+

continues to protect genuinely stuck turns. Timeout diagnostics include the

663+

last app-server notification method and, for raw assistant response items, the

664+

item type, role, id, and a bounded assistant text preview.

659665660666

Environment overrides remain available for local testing:

661667