Repository navigation
fix(release): Codex npm live follow-through fails after progress finality moved to dynamic-tool-source-reply - #174422
Conversation
|
🦞👀 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. What this changesThe release harness checks both historical locations of the Codex progress-finality marker when selecting its prompt. Example: A candidate defines continuesSourceReplyProgress in dynamic-tool-source-reply.ts.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR repairs a source-confirmed release-harness mismatch still present on main, with no actionable introduced defect found. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe Docker release harness installs candidate packages, selects their progress-finality contract, runs a Codex-backed turn, and checks replies, tool ordering, and artifact contents. flowchart LR
Candidate[Candidate source] --> Detector[Finality detector]
Detector --> Prompt[Follow-through prompt]
Prompt --> Plugin[Installed Codex plugin]
Plugin --> Reply[Source reply owner]
Reply --> Results[Replies and artifact]
Results --> Assertions[Release assertions]
Technical reviewBest possible solution: Merge the focused detector repair while preserving frozen-candidate selection and the existing strict release assertions. Do we have a high-confidence way to reproduce the issue? Source establishes deterministic selection of the legacy prompt despite the relocated explicit-progress contract; no target code was executed during this review. Is this the best way to solve the issue? The smallest complete fix extends the existing detector to both known owner locations without changing runtime finality or weakening validation. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against e87464759b58. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceOther +3. Total +3 across 1 file. Added test files: 0. View PR surface stats
LabelsLabel changes: No label changes. Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (1 earlier review cycle)
Reviewed October 19, 2026, 5:45 AM ET / 09:45 UTC (Revision 2). |
|
@clawsweeper review |
|
|
|
🦞👀 Re-review progress:
|
|
Merged via squash.
|
…ove (openclaw#174422) Detect Codex progress-finality in both historical source locations so the release follow-through prompt uses explicit final=false for current candidates. Preserve frozen-candidate behavior and strict reply, work-order, and artifact assertions. Co-authored-by: vincentkoc <[email protected]>
…ove (#174422) Detect Codex progress-finality in both historical source locations so the release follow-through prompt uses explicit final=false for current candidates. Preserve frozen-candidate behavior and strict reply, work-order, and artifact assertions. Co-authored-by: vincentkoc <[email protected]> (cherry picked from commit 1ebcfbf) Co-authored-by: RomneyDa <[email protected]>
What Problem This Solves
Fixes the Codex npm-plugin release check stopping after its progress reply when the candidate stores progress-finality logic in the newer source-reply module.
User Impact
Release validation can reach the required workspace work and completion reply instead of ending the turn early. This is a harness-only repair; product behavior and strict release assertions do not change. Frozen candidates retain their existing prompt behavior.
Why This Change Was Made
The harness inspected only
dynamic-tools.ts, but #164558 moved the progress-finality contract intodynamic-tool-source-reply.ts. It consequently selected the legacy prompt, requesting progress withoutfinal; current candidates treat that send as final. Checking both historical contract locations restores the existing explicitfinal=falseinstruction where required.Evidence
sourceReplyFinal: true; the unpatched script remains identical on inspected current main.bash -nandgit diff --checkpass. Fresh complete-context independent P0–P2 review is scoped-clean. Existing exact-head required CI is successful; native admission will revalidate enforced checks.Full after-fix Docker/provider execution has not been run. The boundary probe verifies capability detection and prompt transport, not actual model continuation. Existing strict assertions still require both exact replies, ordered successful work, and byte-exact artifact contents.
Contributor credit
Original repair by @RomneyDa. Additional boundary verification was performed under @vincentkoc’s release-audit request.