Repository navigation
Conversation
Apply the existing strict code-mode result parser to Wait as well as Exec. Preserve unknown outcomes for yielded and malformed responses and keep the original provider output bytes. The registered notification regression fails on completed and failed Wait results before the fix. All17cases pass22.94s with80ms total test time; selected static gates pass645.25s and independent review is clean.
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. Reviewed September 28, 2026, 7:12 PM ET / 23:12 UTC (Revision 2). ClawSweeper reviewWhat this changesThe Codex plugin classifies final native Wait results in tool transcripts, adds regression cases for final and nonfinal responses, and documents the displayed outcomes. Merge readiness✅ Ready for maintainer review Keep open. Current main still applies the final-result parser only to Exec, while the inspected live captures show the completed Wait outcome corrected. The prior review’s screenshot request is now satisfied. Priority: P2 Review scores
Verification
How this fits togetherThe bundled Codex plugin turns app-server tool notifications into OpenClaw transcript rows. Native Exec and Wait responses enter this projection, which supplies outcome and output details to session history and the chat UI. flowchart LR
A[Native Exec or Wait] --> B[App-server response]
B --> C{Final script result?}
C -->|Yes| D[Completed or failed]
C -->|No| E[Unknown outcome]
D --> F[Transcript row]
E --> F
F --> G[Session UI and history]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource +3, Tests +35, Docs +5. Total +43 across 3 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Use the plugin’s existing strict result parser for final Exec and Wait responses while preserving unknown outcomes for yielded responses and retaining the provider’s original output. Do we have a high-confidence way to reproduce the issue? Yes. A final native Wait response reaches the Exec-only parser on current main, and the inspected before capture shows the resulting incorrect label; this review did not execute current main. Is this the best way to solve the issue? Yes. Reusing the plugin’s existing result parser at the response boundary is a narrow fix that preserves unknown yielded responses. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 2a7642919ecc. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
|
superceded by #163545 |
What Problem This Solves
Fixes completed native Codex Wait tool rows showing Outcome unknown, and failed Wait results missing their error state.
User Impact
Completed and failed Wait results display the outcome reported by Codex. Yielded or unrecognized responses remain unknown. Earlier yielded Exec rows retain their original outcome and output. No configuration, schema, or stored-history rewrite is required.
Why This Change Was Made
Exec and Wait use the same native result formatter, but the transcript adapter applied its strict result parser only to Exec. This extends that existing parser to Wait at the provider-event boundary, preserving call identity and the original output.
Evidence
Live browser QA reproduced a completed Wait result displaying “Script completed” alongside “Outcome unknown.” Before editing, the registered-notification regression reproduced both the completed and failed Wait defects; the other 15 cases passed. With the fix, all 17 cases pass using the actual custom/function call shapes and structured Wait output, including yielded, malformed, empty, and long output controls.
The one-worker file passes in 22.941 seconds wall, with 80 milliseconds summed test time. The initial failing run took 190.643 seconds, including 115.180 seconds of compiled-worker preparation. Selected production/test types, lint, guards and documentation checks pass in 645.255 seconds. Independent managed review found no actionable findings. Hosted CI timing is pending.
Live verification on candidate
240373da89cb, incorporating main9d233c860cea, now passes. Through the browser, a fresh asynchronous Exec yielded cell 3, then native Wait returned the structured “Script completed” result andQA1023_WAIT_DONE. The expanded Wait row visibly shows Completed, and the final answer isQA1023_WAIT_VERIFIED. The neighboring Unicode draft remains intact. The before capture shows the original completed Wait incorrectly labeled Outcome unknown. Both captures were inspected and delivered in the originating chat.The canonical full build passes in 469.238 seconds and the strict UI bundle check passes without exceptions. All 45 preserved workflow groups pass after updating the isolated QA runtime. A missing baseline alias in the local proof harness interrupted the first run after 29 groups; its packaging fix preserves that failure and the 29 valid results, then verifies the remaining 16. Hosted CI and native review/landing gates remain required.