Repository navigation
Conversation
|
Codex review: needs real behavior proof before merge. What this changesThis PR sanitizes Zalo Personal custom replies and captions after hook rewrites while preserving configured table conversion. Example: A message_sending hook rewrites a tool reply to "Done.\n
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Blocked before merge - 1 item remains Keep open: current main still leaves the custom post-hook delivery path unsanitized, and this assigned PR retains a distinct, useful repair. Reviewed head: Before merge
FindingsNone. Tests
Agent review detailsHow this fits togetherThe Zalo Personal monitor supplies delivery callbacks to the shared inbound lifecycle, which prepares tables and applies hooks before routing replies through durable delivery or the custom text/media sender. flowchart TD
A[Assistant reply] --> B[Configured table preparation]
B --> C[Shared delivery lifecycle]
C --> D[Durable outbound adapter]
C --> E[Post-hook custom callback]
D --> F[Canonical text sanitizer]
E --> F
F --> G[Zalo text or media transport]
Technical reviewBest possible solution: Keep table preparation before durable routing and apply the existing canonical sanitizer to the effective custom-delivery payload. Do we have a high-confidence way to reproduce the issue? Source inspection establishes the path: a hook can add a known sanitizer target before the unsanitized custom callback sends it; no target code was executed during this review. Is this the best way to solve the issue? The repair uses the established sanitizer at the missing boundary and preserves durable table preparation, media handling, and partial-delivery ownership. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 7ca7ecb804ef. Provenance checked
TestingProof path: unit tests only. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +17, Tests +39. Total +56 across 4 files. Added test files: 1. View PR surface stats
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 (32 earlier review cycles; latest 8 shown)
Reviewed November 3, 2026, 11:41 PM ET / November 4, 2026, 04:41 UTC (Revision 33). |
4045447 to
1895376
Compare
|
Contributor proof-assist request: I do not currently have access to a credentialed Zalo Personal / QR-login test account, so I cannot produce the final live-channel proof myself yet. The code path is covered by focused tests and the pre-PR gate, but this PR still needs redacted real behavior proof from someone with Zalo Personal access. Because this path uses unofficial personal-account automation, please use a safe test or disposable Zalo account if possible, not an account you cannot risk. What would clear the proof gap:
A redacted screenshot, transcript, terminal log, or short recording is enough. Please redact cookies/session data, phone numbers, user IDs, endpoints, private chat names, and any message content not needed for the proof. If someone can provide that evidence, I can update the PR body and request ClawSweeper re-review. |
1895376 to
9694fcd
Compare
|
Updated and rebased at exact head The patch now covers both the standard outbound adapter and Zalouser's custom inbound reply pipeline. Exact-head proof is documented in the PR body: 347 focused/shared tests pass, including mixed text/media preservation, trace-only suppression, fenced-example preservation, and low-level raw-send preservation. Proof boundary remains explicit: this is adapter/runtime-boundary proof, not a credentialed live Zalo Personal round trip. @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
9694fcd to
676fd73
Compare
|
Final freshness update: rebased conflict-free at head The patch covers both the standard outbound adapter and Zalouser's custom inbound reply pipeline. Proof is documented in the PR body: 347 focused/shared tests passed on the identical two-commit patch immediately before this final conflict-free rebase, including mixed text/media preservation, trace-only suppression, fenced-example preservation, and low-level raw-send preservation. CI is validating the final head. Proof boundary remains explicit: this is adapter/runtime-boundary proof, not a credentialed live Zalo Personal round trip. @clawsweeper re-review |
676fd73 to
8c6a155
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
8c6a155 to
08e489d
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
This assigned pull request has been automatically marked as stale after being open for 27 days. |
4477aec to
1388890
Compare
|
This assigned pull request has been automatically marked as stale after being open for 27 days. |
1388890 to
41e305a
Compare
|
This assigned pull request has been automatically marked as stale after being open for 27 days. |
|
@fuller-stack-dev — Barnacle is now repeatedly marking this assigned PR stale under the 27-day creation-age rule, which ignores substantive updates. The current exact head is code-clean (ClawSweeper Revision 31: zero findings); the only remaining blocker is authenticated recipient proof that requires a safe Zalo Personal account. Could you please apply |
|
This assigned pull request has been automatically marked as stale after being open for 27 days. |
|
Substantive maintenance update (no unverified push):
Because this PR is assigned, contributor activity does not reset its 27-day clock. @fuller-stack-dev, could you please either remove the assignment or apply |
|
Fresh current-main maintenance status:
I am reconciling the current monitor owner and exact dependency graph before any guarded branch update. No duplicate review request or unverified push was made. |
|
@clawsweeper re-review The durable body now matches exact current head |
|
🦞👀 Re-review progress:
|
Merge Brief
message_sendinghook can reintroduce internal tool traces immediately before transport. This patch keeps recipient text and captions clean while preserving configured Markdown-table rendering.mainstill leaves this distinct callback seam open.delivery.preparePayload, where durable final delivery sees it, and sanitize only the effective post-hook payload in the custom callback. Scope is 4 files,+76/-20: two small helpers, two focused regressions, and the boundary wiring.b012137ca6889eab50e9474c9d34497b2e4752e3; full Zalouser221/221; changed-file format/lint, extension production/test types, branch ratchets, and all 36 non-skipped hosted checks pass. The exact deterministic wrapper has only untouched frozen-base Codex/dead-export debt.blocked_externalbecause no safe configured account/recipient route exists. Exact-head tests reach both lifecycle boundaries; no live send is claimed.no-stalewhile authenticated recipient proof is coordinated; the assigned-PR age clock otherwise ignores substantive updates.What Problem This Solves
Zalo Personal's custom inbound-reply path in
monitor.tscan deliver a post-hook payload without passing through the standard outbound adapter. That leaves one route for compact tool-failure lines or tool XML to reach recipients. The repair must also preservechannels.zalouser.markdown.tablesfor final replies handled by durable delivery. Related: #90684.User Impact
Recipients get intended assistant text and media without internal tool-trace scaffolding, while existing table preferences such as
markdown.tables: "bullets"continue to apply to durable final replies. Ordinary prose, captions, chunking, and media delivery remain unchanged; users have no migration step.Why This Change Was Made
delivery.preparePayloadowns configured table conversion before the lifecycle can return through durable delivery.message_sending, so a supported hook cannot reintroduce internal traces.Evidence
41e305a4a4f4fd73973bac5858b07766db1791f9on frozen maintenance baseb464d49019995ec229595bdcbba9d3b61ff035f7.pnpm exec vitest run extensions/zalouser:33files and317/317tests passing, including configured bullet-table preparation before durable delivery and post-hook trace sanitization at custom delivery.pnpm tsgo:extensionsandpnpm tsgo:extensions:test: passing.git diff --check. Repository-wide extension lint's only failure is unchanged frozen-base debt inextensions/amazon-bedrock/stream.runtime.test.ts(max-lines).openclaw-pre-pr.shgate: passed for frozen baseb464d49019995ec229595bdcbba9d3b61ff035f7, exact head41e305a4a4f4fd73973bac5858b07766db1791f9, and merge tree1d2e0ad6dc09fd07dfa21423c38602b80e92ae9d.mainnegative control: the custom monitor callback still resolves and delivers the post-hook payload directly. This head restores pre-durable table preparation and sanitizes immediately before custom text/caption resolution.blocked_external, not a claimed live pass: authenticated recipient-visible proof still requires a safe Zalo Personal account and recipient route.AI-assisted change, manually reviewed and validated.
Exact-head refresh (2026-10-26)
The current signed PR head is
b012137ca6889eab50e9474c9d34497b2e4752e3, rebuilt on frozen basef4a0d4875912103be54dd672e32db17064d003dbwith a four-file patch and clean merge treef44ddf096cf52e14aadcf50b892f2ea4b8765eee.221/221across 30 files.