Repository navigation
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 24, 2026, 12:18 AM ET / 04:18 UTC. ClawSweeper reviewWhat this changesUpdates WhatsApp acknowledgment-reaction documentation to describe supported override keys, WhatsApp’s global-only emoji and scope settings, and always-active group behavior. Merge readinessThis remains a useful, correct docs-only PR: current main still overgeneralizes channel-level acknowledgment overrides, while the WhatsApp runtime reads the global message settings and has the documented group-activation exception. No blocking findings. Priority: P2 Review scores
Verification
How this fits togetherWhatsApp evaluates inbound messages against its reaction-level gate, global acknowledgment settings, and group activation before sending a pre-reply reaction. The edited guides tell operators which configuration controls that path. flowchart LR
A[Inbound WhatsApp message] --> B[Eligibility check]
B --> C[Reaction-level gate]
C --> D[Global acknowledgment settings]
D --> E[Pre-reply reaction]
F[Operator documentation] --> D
Before merge
Agent review detailsSecurityNone. PR surfaceDocs +1. Total +1 across 2 files. View PR surface stats
Review metricsNone. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Merge the narrow source-backed documentation correction after an exact-head refresh against current main. Do we have a high-confidence way to reproduce the issue? Not applicable: this is a documentation-only PR; current source and existing coverage establish the configuration behavior it describes. Is this the best way to solve the issue? Yes. The PR changes only the stale documentation claims and matches the WhatsApp schema, eligibility owner, and existing group-activation coverage. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 0978d55b055a. LabelsLabel 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 (19 earlier review cycles; latest 8 shown)
|
|
Fixed in Reading
I had written that an unset value falls back to the identity emoji, which would have told readers the opposite of what happens. The note now says unset or |
d5977a1 to
133dd3b
Compare
|
All three findings applied on Document the WhatsApp exception in the shared reference. Correct on both halves, and I verified each in source before writing. The per-channel override is accepted by exactly four channels: Discord, Matrix, Slack, and Telegram are the only ones that pass an Correct the WhatsApp delivery table entry. Removed the bare Preserve the group-activation always exception. This one was my regression, and thank you for catching it. The old note carried the caveat and my rewrite dropped it. The bypass is live: Validation on
One gap stated rather than hidden: Separately, and not something I am changing in this PR: |
133dd3b to
c3822bd
Compare
|
Main independently rewrote most of this, so I have narrowed the PR to only what it still lacks. Head is What main already did, better than my version. What is still missing, and is why this stays open. The shared reference at The group-activation caveat is also absent from main's rewritten note, so I re-added one sentence for it. That bypass is live: The diff is now 3 added lines and 2 removed across two files, down from a full-section rewrite. Validation on If you would rather fold these two sentences into whatever change produced main's rewrite, close this and I will not re-file. |
631dfd7 to
1c7786d
Compare
|
Rebased onto current Before rebasing I checked the change was still worth carrying rather than just replaying cleanly: every file it touches still exists on Docs only, two files ( Still useful from my side, so I have not closed it. Happy to close instead if you would rather not take it. AI-assisted. |
1c7786d to
2fdc921
Compare
|
Rebased onto current This branch was carrying a It also removes a recurring nuisance: that generated file is rewritten on Verified at head Sorry for the noise in the earlier diff. AI-assisted. |
edaed68 to
d772d03
Compare
d772d03 to
f277df2
Compare
The shared reference promises channel and account ackReaction overrides plus an identity fallback for every channel, but only Discord, Matrix, Slack, and Telegram accept those keys, and WhatsApp sends no acknowledgment at all when messages.ackReaction is unset. Also notes that group activation always bypasses the group-mentions mention check.
The eligibility path reads the account-aware channels.whatsapp.reactionLevel before the message settings, so "only" applies to the emoji and scope rather than to the whole decision.
f277df2 to
cf22ec7
Compare
|
Merged via squash.
|
…8161) * docs(channels): record the WhatsApp ack-reaction exceptions The shared reference promises channel and account ackReaction overrides plus an identity fallback for every channel, but only Discord, Matrix, Slack, and Telegram accept those keys, and WhatsApp sends no acknowledgment at all when messages.ackReaction is unset. Also notes that group activation always bypasses the group-mentions mention check. * docs(whatsapp): qualify the ack-reaction exception The eligibility path reads the account-aware channels.whatsapp.reactionLevel before the message settings, so "only" applies to the emoji and scope rather than to the whole decision. * docs(whatsapp): describe supported ack reaction overrides precisely --------- Co-authored-by: Peter Steinberger <[email protected]>
What Problem This Solves
The WhatsApp acknowledgment-reactions section documents
channels.whatsapp.ackReaction, including a copyable JSON5 block, but config validation rejects that key. Pasting the documented example refuses the whole config.Verified on current
main(0cd7d433bbf):The page also states the inverse of current behavior at the end of that section: "WhatsApp uses
channels.whatsapp.ackReactiononly (legacymessages.ackReactiondoes not apply here)". WhatsApp's own runtime reads the global keys:extensions/whatsapp/src/auto-reply/monitor/reaction-eligibility.ts:32,39readscfg.messages?.ackReactionScopeandcfg.messages?.ackReaction.docs/gateway/doctor.md:314already records the retirement in the other direction, mappingchannels.whatsapp.ackReactionto "globalmessages.ackReactionandackReactionScopewhere translatable", so this page is the stale one.Why This Change Was Made
The docs are the stale side, not the schema. The section now uses the keys the schema accepts and the runtime reads:
messages.ackReaction, a string emoji rather than the old{ emoji, direct, group }object.messages.ackReactionScope, which replaces the old per-conversation booleans. Values come from the schema help:group-mentions,group-all,direct,all,off,none.Gating is unchanged and still channel-side, so the intro keeps
channels.whatsapp.reactionLevel(a key WhatsApp does accept) as the suppressor.User Impact
Following the WhatsApp ack-reaction docs now produces a config that loads. Previously the copyable block was paste-to-broken, and the failure surfaced as a whole-config rejection rather than a hint about the key name. The trailing note no longer tells readers the opposite of what the runtime does.
Evidence
Docs-only change, so there is no behavior diff. Validation of the exact documented shapes, run in-process against current
main:What I checked and deliberately did not change:
docs/gateway/doctor.md:314. That row documents the retirement mapping itself and is accurate.channels.whatsapp.reactionLevel, which is a live key the schema accepts and which still gates these reactions.{ emoji, direct, group }object shape anywhere, sincemessages.ackReactionis a plain string and the object form is rejected.messages.statusReactionsand validates as written. I only corrected its trailing note, which referenced the retired key.AI-assisted: researched, written, and validated with Claude Code under my direction. I have read and understand the change.