Skip to content

fix(inference): harden Codex streaming, cancellation, and live QA - #116012

Merged
steipete merged 13 commits into
mainfrom
codex/inference-stress-deep-20260729
Aug 1, 2026
Merged

steipete merged 13 commits into
mainfrom
codex/inference-stress-deep-20260729

Conversation

@steipete

@steipete steipete commented Jul 29, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes an issue where users running Codex/OpenAI agent turns could see interrupted or incomplete inference reported as successful, lose streamed responses or audio transcripts, interrupt a different shared conversation, route a model to the wrong backend, lose scoped delivery authority, or have an unfinished active goal silently close or fail to continue.

Why This Change Was Made

One cross-cutting inference invariant owns this change: every authorized turn must reach exactly one truthful, visible terminal outcome across streaming, cancellation, provider/harness selection, scoped tool authority, delegated completion, and active-goal continuation. The implementation follows the actual upstream Codex app-server contract, keeps a timed-out turn and its client lease alive through the matching terminal notification, safely retires an unconfirmed shared client, preserves failure/cancellation precedence and SSE boundaries, and keeps unfinished goal guidance visible to models even when Code Mode only advertises tool identifiers. QA now waits for the gateway's authoritative settled-run state before continuing a streamed goal turn.

This intentionally stays one lifecycle repair: splitting transport, terminal confirmation, client ownership, delivery projection, and real-harness regressions would remove the sibling-surface proof for the same invariant. No new public config/environment surface, protocol version, SQLite schema version, or plugin SDK contract is introduced.

User Impact

Codex and OpenAI conversations now complete, stream, cancel, retry, switch models, and deliver results predictably without affecting a sibling conversation. Operators receive visible terminal failures instead of silent success or disappearance. An unfinished active goal remains active until its objective is actually complete, and a bare continue can finish a real workspace task.

Evidence

  • Frozen reviewed PR head: 29786ddae572004be49d2083ae7868974968caa7; rebased onto current main at 995a3e20a4d after preserving both the newer live-tool-result limit and this branch's completion-authority checks.
  • Authenticated, real-provider Blacksmith Testbox proof: https://github.com/openclaw/openclaw/actions/runs/30683710293 (blacksmith-testbox, lease tbx_01kyxrr50gs8g24hhx9xyrj7rh; existing runner credentials hydrated without printing secrets).
  • Exact-head openai/gpt-5.6-luna concurrent live scenario matrix exercises streaming-final-integrity, goal-followthrough-live, luna-thinking-visibility-switch, codex-harness-no-meta-leak, medium-game-plan-codex-harness, medium-game-plan-openclaw-harness, and long-context-progress-watchdog; both runtimes create real playable game artifacts, Codex processes a 2,000-line long-context fixture, and the staged goal performs a real workspace write only after the bare continue turn.
  • Authenticated openai/gpt-5.4 runtime-pair proof passed five real scenarios through both OpenClaw and Codex: streaming integrity, legacy read-tool vocabulary, approval/tool followthrough, live goal continuation, and the 20-turn first-hour soak (10 runtime cells; 40 consecutive live soak turns).
  • Exact-head deterministic synthetic matrix: 4/4 passed (goal-context-next-turn, goal-context-survives-compaction, empty-response-retry-budget-exhausted, subagent-fanout-synthesis). Additional regression proof covers missing/delayed turn/completed, shared-client retirement and sibling-lease isolation, timeout/cancel precedence, SSE LF/CRLF/CR and split chunks, dynamic tools, and fallback delivery receipts; prior broad Codex sweep passed 147 files / 3,213 tests, and the frozen rebased sweep passed 1,033 assertions across 18 focused files.
  • Exact final goal/QA regression run: node scripts/run-vitest.mjs src/agents/tools/goal-tools.test.ts src/auto-reply/reply/inbound-meta.test.ts extensions/qa-lab/src/scenario-flow-runner.test.ts extensions/qa-lab/src/scenario-catalog.inference.test.ts -> 4 files / 107 tests passed. Adversarial fixtures prove active-to-idle settlement, premature goal completion, early workspace writes, and per-inbound final-reply provenance. The actual goal tool regression verifies both durable completion and its model-visible next-action contract.
  • Rebase-overlap proof: node scripts/run-vitest.mjs src/agents/command/attempt-execution.cli.test.ts src/agents/tools/goal-tools.test.ts -> 112 tests passed, including the complete 105-case CLI/execution lifecycle shard.
  • Exact-head remote Codex terminal/shared-client proof: pnpm test extensions/codex/src/app-server/attempt-client-cleanup.test.ts extensions/codex/src/app-server/attempt-turn-watches.test.ts extensions/codex/src/app-server/run-attempt.turn-watches.test.ts extensions/codex/src/app-server/shared-client.test.ts -> 4 files / 188 tests passed (94 turn-watch, 57 shared-client, 29 watchdog, 8 cleanup assertions).
  • Redacted real-provider failure-to-fix evidence: preserved SQLite transcript showed write -> successful file result -> update_goal(complete) -> NO_REPLY, leaving the direct conversation silent despite the finished artifact. The owner-boundary repair adds explicit requested-final guidance to the active-goal context, update_goal description, and model-visible result. Authenticated openai/gpt-5.6-luna then passed the real write -> complete -> visible requested final path on the pushed fix.
  • Fresh structured Codex autoreview of the exact rebased final commit: autoreview clean: no accepted/actionable findings reported (gpt-5.6-sol, high reasoning, 0.99 confidence).
  • An earlier PTY shard exposed a proven pre-existing mock-provider transport flake: the identical LLM request failed occurs on unrelated main runs 30681494813 and 30681782606; same-head retry passed all 16 PTY cases, including Esc cancellation in 3.394 seconds. No unrelated TUI code was changed.

Direct upstream Codex contract inspection

The acting maintainer personally inspected the sibling upstream checkout before making the protocol/runtime judgment:

  • ../codex/codex-rs/app-server/src/bespoke_event_handling.rs:1090-1107 — emitted terminal notification.
  • ../codex/codex-rs/app-server/src/request_processors/turn_processor.rs:1425-1444 and :873-898 — interruption acknowledgment versus actual terminal completion.
  • ../codex/codex-rs/core/src/client.rs:857-883 and ../codex/codex-rs/protocol/src/models.rs:809-823 — model routing and provider/model wire contract.
  • ../codex/codex-rs/protocol/src/dynamic_tools.rs:21-55, ../codex/codex-rs/core/src/tools/handlers/dynamic.rs:119-160, and ../codex/codex-rs/core/src/tools/spec_plan.rs:607-907 — dynamic-tool calls, permitted payloads, and model-visible tool descriptions.
  • ../codex/codex-rs/app-server/src/request_processors/thread_processor.rs:3505-3562 — thread/request lifecycle ownership.

ClawSweeper rank-up moves

  • Exact-head real-provider/real-harness run and terminal/shared-client regression output are attached in the maintainer proof comment and linked Testbox run.
  • Mandatory upstream turn/interrupt versus turn/completed contract evidence is listed above; the acting agent personally read the source.
  • Exact-head hosted CI, focused lifecycle tests, live matrix, and fresh autoreview are checked before repository-native prepare/merge; review artifacts record the truthful-terminal/no-silent-drop behavioral sweep. The repository owner explicitly requested this protected maintainer PR be tested and landed.

@steipete
steipete marked this pull request as ready for review July 29, 2026 17:36
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P1 High-priority user-facing bug, regression, or broken workflow. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. labels Jul 29, 2026
@clawsweeper

clawsweeper Bot commented Jul 29, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 1, 2026, 12:29 AM ET / 04:29 UTC.

ClawSweeper review

What this changes

This PR changes Codex/OpenAI inference lifecycle handling so interrupted turns await a truthful terminal outcome, restricted completion turns retain only source-delivery authority, and goal completion prompts the model to send a visible final reply.

Merge readiness

⛔ Blocked by patch quality or review findings - 8 items remain

Keep this protected PR open for manual review. The supplied terminal proof is meaningful, but this checkout cannot read the exact PR head and the required sibling Codex source is absent, so a source-backed Codex contract verdict or merge recommendation would not be valid.

Priority: P1
Reviewed head: 29786ddae572004be49d2083ae7868974968caa7
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) The live proof is useful, but the patch cannot receive a source-backed quality rating while its exact revision and mandatory upstream contract are unavailable.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (terminal): The PR comment includes redacted exact-head Testbox terminal output showing live provider scenarios, an observed prior silent-output failure, and the corrected visible-final path; source review remains separately blocked.
Patch quality 🦪 silver shellfish (2/6) The live proof is useful, but the patch cannot receive a source-backed quality rating while its exact revision and mandatory upstream contract are unavailable.

Verification

Check Result Evidence
Real behavior Verified Sufficient (terminal): The PR comment includes redacted exact-head Testbox terminal output showing live provider scenarios, an observed prior silent-output failure, and the corrected visible-final path; source review remains separately blocked.
Evidence reviewed 5 items Exact PR revision unavailable locally: The supplied exact head is not present in the blobless promisor checkout; Git attempted to fetch it but DNS resolution for GitHub failed, so the submitted branch and complete diff could not be independently inspected.
Related current-main implementation: Current main has an interrupt helper that awaits the app-server interrupt request, but it returns void and documents an assumption about terminal timing; the PR proposes materially different terminal-notification ownership that cannot be compared exactly without its revision.
Current-main provenance: Blame attributes the current interrupt helper implementation to commit 89aadef by Vincent Koc on August 1, 2026; its history does not establish that this PR is already implemented on main.
Findings None None.
Security None None.

How this fits together

OpenClaw runs agent turns through an embedded runtime and, for Codex, an app-server adapter. The adapter receives turn notifications and cancellation results, then terminal state drives channel delivery, transcripts, and durable goal/session state.

flowchart LR
  Inbound[Inbound conversation] --> Runtime[Embedded agent runtime]
  Runtime --> Codex[Codex app-server adapter]
  Codex --> Terminal[Terminal turn outcome]
  Terminal --> Delivery[Visible reply delivery]
  Terminal --> Session[Goal and session state]
  Delivery --> User[Conversation result]
Loading

Decision needed

Question Recommendation
Should a maintainer make the exact PR head and the matching upstream Codex source available for a fresh contract review before merge? Restore review inputs and re-review: Provide the exact branch revision and sibling Codex checkout, then rerun a focused lifecycle and contract review against the merge result.

Why: Repository policy forbids a Codex protocol/runtime verdict without direct upstream-source inspection, and the local partial clone cannot retrieve the submitted revision.

Before merge

  • Resolve merge risk (P1) - The exact PR head and full diff cannot be read in this checkout, so review cannot establish whether all 117 changed files preserve current-main behavior.
  • Resolve merge risk (P1) - The required upstream Codex app-server sources are unavailable; terminal-notification and interruption semantics must be checked directly before merging.
  • Resolve merge risk (P1) - The PR is behind current main; GitHub reports it cleanly mergeable, but its final merge head needs a contract and regression review rather than inference from base drift.
  • Complete next step (P2) - The protected PR has credible behavior proof but cannot be given the required source-backed Codex contract review until the exact head and sibling dependency checkout are accessible.
  • Improve patch quality - Make commit 29786dd available in the review checkout.
  • Improve patch quality - Provide the sibling Codex source used for the stated turn/interrupt and turn/completed contract review.
  • Improve patch quality - Re-run review against the resulting exact merge head.
Agent review details

Security

None.

Review metrics

None.

Stored data model

Persistent data-model change detected: migration/backfill/repair: src/agents/tools/message-tool.ts, persistent cache schema: src/gateway/mcp-http.runtime.test.ts, serialized state: extensions/codex/src/app-server/attempt-client-cleanup.test.ts, serialized state: extensions/codex/src/app-server/run-attempt-thread-cleanup.test.ts, unknown-truncated-pull-files. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Review the exact merge head first (recommended)
    Make the submitted head and matching Codex source inspectable, then verify interruption, terminal notification, and shared-client behavior before merge.
  2. Pause pending contract evidence
    Keep the protected PR open rather than merging based only on supplied proof while the upstream protocol contract remains unavailable.

Technical review

Best possible solution:

Restore access to the exact PR revision and compatible sibling Codex source, then review the terminal-notification, shared-client, source-delivery, and goal-state changes against the resulting merge head before a maintainer decides whether to land it.

Do we have a high-confidence way to reproduce the issue?

No direct reproduction was run in this read-only checkout. The supplied PR comment contains a concrete exact-head live Testbox reproduction-and-fix transcript, but the branch itself was unavailable for independent execution or source tracing.

Is this the best way to solve the issue?

Unclear. The stated owner-boundary repair is plausible and the supplied proof is substantial, but the exact patch and upstream Codex interruption contract must be inspected before concluding it is the best fix rather than a compatibility-changing alternative.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 9099520ae23e.

Labels

Label changes:

  • add proof: sufficient: Contributor real behavior proof is sufficient. The PR comment includes redacted exact-head Testbox terminal output showing live provider scenarios, an observed prior silent-output failure, and the corrected visible-final path; source review remains separately blocked.
  • add rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🐚 platinum hermit and patch quality is 🦪 silver shellfish.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (terminal): The PR comment includes redacted exact-head Testbox terminal output showing live provider scenarios, an observed prior silent-output failure, and the corrected visible-final path; source review remains separately blocked.
  • remove rating: 🧂 unranked krab: Current PR rating is rating: 🦪 silver shellfish, so this older rating label is no longer current.
  • remove status: 📣 needs proof: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P1: The PR changes active agent-turn completion and visible delivery paths, where a regression can affect real conversations.
  • merge-risk: 🚨 compatibility: It changes established Codex/OpenAI runtime cancellation and completion behavior for existing operator sessions.
  • merge-risk: 🚨 session-state: It changes active-goal continuation, terminal settlement, and completion-delivery bookkeeping.
  • merge-risk: 🚨 availability: It changes timeout, interruption, client-retirement, and terminal-wait behavior that can stall or terminate runs.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🐚 platinum hermit and patch quality is 🦪 silver shellfish.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (terminal): The PR comment includes redacted exact-head Testbox terminal output showing live provider scenarios, an observed prior silent-output failure, and the corrected visible-final path; source review remains separately blocked.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR comment includes redacted exact-head Testbox terminal output showing live provider scenarios, an observed prior silent-output failure, and the corrected visible-final path; source review remains separately blocked.

Evidence

What I checked:

  • Exact PR revision unavailable locally: The supplied exact head is not present in the blobless promisor checkout; Git attempted to fetch it but DNS resolution for GitHub failed, so the submitted branch and complete diff could not be independently inspected.
  • Related current-main implementation: Current main has an interrupt helper that awaits the app-server interrupt request, but it returns void and documents an assumption about terminal timing; the PR proposes materially different terminal-notification ownership that cannot be compared exactly without its revision. (extensions/codex/src/app-server/attempt-client-cleanup.ts:100, 89aadef6efe0)
  • Current-main provenance: Blame attributes the current interrupt helper implementation to commit 89aadef by Vincent Koc on August 1, 2026; its history does not establish that this PR is already implemented on main. (extensions/codex/src/app-server/attempt-client-cleanup.ts:100, 89aadef6efe0)
  • Required upstream contract unavailable: The repository policy requires direct inspection of sibling ../codex for Codex protocol/runtime judgments, but the expected upstream Rust sources are absent and cannot be cloned in the restricted network environment.
  • Submitted real-behavior evidence: The PR comment supplies redacted exact-head Testbox output for live streaming, goal continuation, Codex/OpenClaw harness scenarios, and 188 focused terminal/shared-client assertions. It is credible terminal proof, though it cannot substitute for direct diff and upstream-contract review. (29786ddae572)

Likely related people:

  • Vincent Koc: Current-main blame attributes the existing Codex interrupt cleanup helper to this author; the PR changes the same lifecycle owner boundary. (role: recent area contributor; confidence: medium; commits: 89aadef6efe0; files: extensions/codex/src/app-server/attempt-client-cleanup.ts)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (6 earlier review cycles)
  • reviewed 2026-07-29T17:40:23.068Z sha ac06490 :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-01T02:23:31.941Z sha 21a6ee458b31bcbb40b003dfd2c29893f8fa0cd1 :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-01T02:42:31.190Z sha 010861ad9a74cdb66c081887275dad3725df321a :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-01T03:28:23.471Z sha d5136990660803ebe0b8d8987bd66fb27a4642f6 :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-01T03:47:46.396Z sha c6f71d479f1ba22b8173e467fa8348cefecb590b :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-01T04:17:58.902Z sha 6261932 :: needs real behavior proof before merge. :: none

@steipete steipete self-assigned this Jul 31, 2026
@steipete
steipete force-pushed the codex/inference-stress-deep-20260729 branch from ac06490 to c816d4a Compare August 1, 2026 02:11
@openclaw-barnacle openclaw-barnacle Bot added gateway Gateway runtime docs Improvements or additions to documentation labels Aug 1, 2026
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. labels Aug 1, 2026
@steipete
steipete force-pushed the codex/inference-stress-deep-20260729 branch from 1e42472 to 6261932 Compare August 1, 2026 04:12
@steipete

steipete commented Aug 1, 2026

Copy link
Copy Markdown
Contributor Author

Maintainer real-behavior proof for exact head 29786ddae572004be49d2083ae7868974968caa7:

provider=blacksmith-testbox
lease=tbx_01kyxrr50gs8g24hhx9xyrj7rh
run=https://github.com/openclaw/openclaw/actions/runs/30683710293
model=openai/gpt-5.6-luna
auth=existing runner-hydrated OpenAI API key (not logged)
runtimes=openclaw,codex
live_frontier_scenarios=7 passed, 0 failed, 0 skipped
  streaming-final-integrity: PASS
  goal-followthrough-live: PASS
    ready=GOAL-CONTINUANCE-READY
    done=GOAL-CONTINUANCE-DONE
    artifact=Goal continuance advanced the concrete next step.
  luna-thinking-visibility-switch: PASS
  codex-harness-no-meta-leak: PASS
  medium-game-plan-codex-harness: PASS (real playable HTML artifact)
  medium-game-plan-openclaw-harness: PASS (real playable HTML artifact)
  long-context-progress-watchdog: PASS (2,000-line Codex fixture)
synthetic_fault_scenarios=4 passed, 0 failed, 0 skipped
  goal-context-next-turn: PASS
  goal-context-survives-compaction: PASS
  empty-response-retry-budget-exhausted: PASS
  subagent-fanout-synthesis: PASS

The live failure was independently reproduced before repair and its retained SQLite transcript proved the exact user-visible root cause:

assistant: toolCall write
toolResult: Successfully wrote the requested workspace artifact
assistant: toolCall update_goal
toolResult: status=updated, goal.status=complete
assistant final: NO_REPLY
user-visible outbound: none

The fix keeps goal accounting at the goal owner: active-goal context, the update_goal description, and its model-visible result now explicitly require the requested visible final response after status mutation. QA waits on canonical sessions.list.hasActiveRun, verifies artifact timing, and correlates each durable reply to its originating inbound.

Exact-head focused Codex terminal/shared-client proof:

run-attempt.turn-watches.test.ts: 94 passed
shared-client.test.ts:             57 passed
attempt-turn-watches.test.ts:      29 passed
attempt-client-cleanup.test.ts:     8 passed
total:                            188 passed / 4 files

Additional focused proof: 107 goal/context/QA assertions, 105 CLI execution-lifecycle assertions after the current-main rebase, targeted lint clean, and fresh Codex autoreview (gpt-5.6-sol, high reasoning) with no actionable findings. Earlier broad lifecycle proof passed 147 files / 3,213 tests; authenticated openai/gpt-5.4 proved five scenarios in both OpenClaw and Codex, including 40 consecutive live soak turns.

Direct upstream Codex source personally inspected:

  • ../codex/codex-rs/app-server/src/bespoke_event_handling.rs:1090-1107
  • ../codex/codex-rs/app-server/src/request_processors/turn_processor.rs:873-898
  • ../codex/codex-rs/app-server/src/request_processors/turn_processor.rs:1425-1444
  • ../codex/codex-rs/core/src/client.rs:857-883
  • ../codex/codex-rs/protocol/src/models.rs:809-823
  • ../codex/codex-rs/protocol/src/dynamic_tools.rs:21-55
  • ../codex/codex-rs/core/src/tools/handlers/dynamic.rs:119-160
  • ../codex/codex-rs/core/src/tools/spec_plan.rs:607-907
  • ../codex/codex-rs/app-server/src/request_processors/thread_processor.rs:3505-3562

ClawSweeper rank-up moves addressed: exact-head real-provider output and runner URL attached; delayed/missing terminal notification and sibling-client lease ownership covered by focused Codex tests and upstream source; current exact-head hosted CI gates verified before repository-native prepare/merge. Keep this as one lifecycle repair because streaming, terminal confirmation, shared-client retirement, scoped completion authority, and final channel visibility all enforce the same no-silent-outcome invariant.

@steipete
steipete merged commit cb16d73 into main Aug 1, 2026
133 checks passed
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Aug 1, 2026
@steipete
steipete deleted the codex/inference-stress-deep-20260729 branch August 1, 2026 04:29
@steipete

steipete commented Aug 1, 2026

Copy link
Copy Markdown
Contributor Author

Merged via squash.

@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Aug 1, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 1, 2026
…enclaw#116012)

* fix(inference): harden Codex turns, streams, and live QA

* fix(inference): dispatch open CR-delimited response frames

* fix(inference): finish live goal and split streaming regressions

* fix(codex): wait for interrupted turn completion

* fix(codex): narrow terminal collector notification ownership

* fix(inference): harden completion authority and lifecycle

* fix(inference): use canonical source delivery contract

* test(inference): align lifecycle probes with current main

* style(inference): format source delivery verification

* fix(goals): prevent premature completion across staged work

* fix(qa): settle streamed goal turns before continuation

* fix(goals): require visible replies after goal completion

* test(qa): keep goal flow regressions within lint limits
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling docs Improvements or additions to documentation extensions: codex extensions: qa-lab gateway Gateway runtime maintainer Maintainer-authored PR merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. P1 High-priority user-facing bug, regression, or broken workflow. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant