Repository navigation
fix(acp): retain final-only text until dispatch completes - #119589
clawsweeper[bot] wants to merge 1 commit into
Conversation
|
Codex review: blocked before merge. Reviewed October 1, 2026, 6:20 PM ET / 22:20 UTC (Revision 5). ClawSweeper reviewWhat this changesThe branch retains buffered ACP final-only replies through terminal-shaped events until the dispatcher settles, and updates projector and dispatch tests. Merge readiness⛔ Blocked before merge - 3 items remain Keep open for explicit disposition of the human-review hold. The branch’s necessity remains unproven: its regression fixture bypasses the supported producer contract, and the merged lifecycle cleanup explicitly declined to establish a fix for the reported WeChat failure. Priority: P3 Review scores
Verification
How this fits togetherACP connects OpenClaw conversations to external agent runtimes. The session manager forwards runtime output to a reply projector, which prepares channel replies that the dispatcher settles on completion or failure. flowchart TD
A[Conversation request] --> B[ACP session manager]
B --> C[Agent runtime]
C --> D[Live output and terminal result]
D --> B
B --> E[Reply projector]
E --> F[Dispatch settlement]
F --> G[Channel reply]
Decision needed
Why: The branch is explicitly held for human review, has an exact-head reject recommendation, and lacks evidence establishing distinct remaining work. Before merge
Agent review detailsSecurityNone. PR surfaceSource +2, Tests +29. Total +31 across 3 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Preserve the existing dispatch-owned settlement flow and retain further ACP work only when a supported producer trace establishes a distinct remaining defect. Do we have a high-confidence way to reproduce the issue? No high-confidence current-main reproduction of this PR’s ACP mechanism is established. The WeChat symptom has reporter evidence, but the new fixture supplies a terminal sequence outside the pinned ACPX contract. Is this the best way to solve the issue? No: the existing single-dispatch projector already places settlement at the appropriate owner boundary. Further repair needs evidence identifying the actual producer or delivery failure. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against dd2a7baba6c0. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (4 earlier review cycles)
|
|
🦞🧹
This is fix-only; I will not merge this PR. Re-review progress:
|
|
Repair-sweep blocker for exact head 61ed1c4: REJECT/SUPERSEDE. Direct dependency inspection shows bundled acpx 0.13.0 and shipped 0.10.0/0.13.0 exclude terminal events from startTurn().events; legacy runTurn drains events and derives one terminal from result. No non-ACPX production startTurn implementation exists. The PR regression test mocks the manager and fabricates text -> done -> text -> done, so it does not prove a supported producer path. Issue #92199 proves Tencent WeChat message loss but contains no ACP session/binding/backend/raw-event trace, so ACP attribution is unproven. Keep #92199 open for a separate WeChat/embedded delivery investigation. If generic malformed-runtime hardening is desired, make it a separate manager-boundary change with its own issue and real seam proof. Exact-head CI is green but mock-backed; no code was pushed in this sweep. |
|
🦞🔧 Source: I will update this PR branch, or open a safe credited replacement, if the repair worker finds a narrow fix. Automerge progress:
|
|
🦞✅ Source: Why human review is needed: What the maintainer can do as a next step: I added |
|
Closing this implementation following steipete's explicit REJECT/SUPERSEDE decision for the unchanged head This retires only this PR. It does not establish that the WeChat message loss reported in #92199 was caused by ACP or fixed by this change. Any generic malformed-runtime hardening needs its own manager-boundary proposal and supported-producer evidence, as requested in that review. |
Fixes #92199.
In final_only delivery mode, ACP projector text is now retained through streamed done/error-shaped events and delivered once by the existing dispatch-owned outer settlement. Live delivery behavior remains unchanged.
Release-note context: ACP final-only replies no longer lose assistant prose emitted before tool calls.