Repository navigation
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 changes before merge. What this changesThis PR compares the rendered /btw side-question reply with prior message-tool sends so an already-sent answer does not suppress a new question. Example: A side question asks “What changed?” after a message tool sends “The image is ready for review”.
Review scores
ProductKind: Bug fix · Worth it: Yes Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readiness⛔ Needs changes before merge - 3 items remain This PR remains useful: current main and the latest stable release retain the reported behavior, and related work does not supersede it. The previously reported duplicate-delivery finding remains unresolved; the maintainer label also prevents cleanup closure. Priority: P2 Before merge
Findings
Provenance
Tests
Agent review detailsHow this fits togetherOpenClaw prepares agent replies for delivery to messaging channels. Its shared deduplication layer checks prior sends to the same conversation before passing remaining replies to channel delivery. flowchart LR
A[Agent reply payload] --> B[Render side question]
C[Prior message-tool sends] --> D[Match conversation route]
B --> E[Compare delivered text]
D --> E
E --> F[Preserve remaining content]
F --> G[Channel delivery]
Technical reviewBest possible solution: Use the canonical renderer and shared comparison owner to retain containment when a prior send includes the complete rendered reply, while preserving newly visible questions. Do we have a high-confidence way to reproduce the issue? Yes, source establishes the path: a same-route tool send of the answer suppresses a new side-question payload on current main. The introduced equality comparison also retains wrapped rendered duplicates; neither scenario was executed in this read-only review. Is this the best way to solve the issue? No. Rendering before comparison is the correct owner-level direction, but equality loses established containment behavior; using the bidirectional helper unchanged would instead suppress new questions with long answers. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 7089be259960. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
PR surfaceSource +12, Tests +62. Total +74 across 3 files. Added test files: 0. View PR surface stats
Review metrics
LabelsLabel changes: No label changes. Label justifications:
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 (5 earlier review cycles)
Reviewed October 9, 2026, 10:37 AM ET / 14:37 UTC (Revision 6). |
|
Replaced by #174869, now merged as The replacement preserves this PR’s intent at the current shared deduplication owner: compare the complete canonical side-question rendering, so a new question is not lost merely because its answer was already sent, while an already-delivered short answer is suppressed. Ordinary replies retain fuzzy matching; route scoping, non-text content, and terminal-delivery callbacks are unchanged. Verification: 139 focused tests passed (one existing skip), fresh independent review found no actionable defects, and exact-head CI 38985068830 completed with 42 successful jobs and 28 skips. I independently reconstructed the merge from its actual parent and reviewed head; the tree exactly matches the landed commit and is contained in main. No live external messages were sent. |
Summary
/btwreply before suppressing already-sent follow-up text.Root cause
The shared auto-reply/follow-up deduplication owner compared only raw base text, while
/btwprepends a separately visible question and answer. It could therefore suppress a brand-new side question entirely, or fail to recognize already-rendered/btwoutput. The existing command-delivery sibling already uses the canonical externally rendered representation.Validation
/btwside question.git diff --check, and fresh independent Codex autoreview must pass on the final exact diff.