-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
Codex ACP gateway path can surface bare ACP_TURN_FAILED when active acpx plugin misses runtime hardening #85207
Copy link
Copy link
Open
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Description
Metadata
Metadata
Assignees
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Type
Fields
Priority
None yet
Summary
On an OpenClaw
v2026.5.18Linux install, the gateway loaded a user-level@openclaw/acpxplugin at2026.5.12while the bundled OpenClaw runtime already contained newer Codex ACP hardening. The active ACP/Codex path therefore did not have the same diagnostics/retry behavior as the bundled build.The observed failure shape was:
The affected Codex ACP child turns failed before producing a command/output/final artifact, so parent workflows saw a hard blocker with no useful underlying cause.
Impact
Expected behavior
The active ACP runtime should either:
@openclaw/acpxplugin is upgraded or compatibility-checked during OpenClaw update/startup.For transient Codex ACP failures before prompt side effects, the runtime should make a bounded retry before returning
ACP_TURN_FAILED. If it still fails, the terminal error should include sanitized adapter/runtime diagnostics rather than onlyInternal error.Local mitigation tested
A local installed-build mitigation was applied and validated:
Internal error, connection-closed, query-closed, and client-closed shapes as retryable only while no prompt side effects were observed;@openclaw/acpxruntime, with token-like values redacted;/healthreturned live/ok;acpx codex execsmoke completed;AcpxRuntimeclass smoke completed through the active plugin runtime;ACP_TURN_FAILED,AcpRuntimeError, orcodex app-server client is closedlog entries appeared after restart during the smoke window.Suggested durable fix
@openclaw/acpxplugin is older than the bundled runtime expectations.startTurnpath for transient pre-side-effect prompt failures.Related