Repository navigation
Conversation
|
Codex review: found issues before merge. Reviewed July 6, 2026, 12:52 PM ET / 16:52 UTC. Summary PR surface: Source +5, Tests +11, Docs +1. Total +17 across 4 files. Reproducibility: yes. source-reproducible: current main treats a direct-message user mention as a mention-forward request when Review metrics: 1 noteworthy metric.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Maintainer decision needed
Security Review findings
Review detailsBest possible solution: Keep the Feishu-owned guard and regression coverage, remove the PR-local CHANGELOG entry, and merge only after maintainer acceptance of the fail-closed identity-gap behavior. Do we have a high-confidence way to reproduce the issue? Yes, source-reproducible: current main treats a direct-message user mention as a mention-forward request when Is this the best way to solve the issue? Yes for the runtime change: guarding at the Feishu mention-forward boundary is the narrow owner-local fix, and the updated proof covers missing and known bot identity paths. The PR-local CHANGELOG edit is not part of the best fix and should be removed. Full review comments:
Overall correctness: patch is correct AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 6b99fd9a94ce. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Source +5, Tests +11, Docs +1. Total +17 across 4 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
Review history (1 earlier review cycle)
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
d86a74d to
8ae0bf0
Compare
|
Maintainer repair is land-ready at exact head
Proof gap: no production Feishu tenant was mutated. The changed surface is deterministic inbound event classification, covered by the signed HTTP webhook path and focused runtime tests without credentials. |
824aca3 to
d7277c5
Compare
d7277c5 to
d843cc5
Compare
|
Merged via squash.
|
1 similar comment
|
Merged via squash.
|
…openclaw#100891) * fix(feishu): avoid forwarding mentions without bot open id * fix(feishu): require bot identity for mention forwarding --------- Co-authored-by: Peter Steinberger <[email protected]>
What Problem This Solves
Fixes an issue where Feishu direct-message mention forwarding could be triggered when the bot open id was unavailable. In that state, ordinary user mentions were treated as mention-forward targets even though OpenClaw could not reliably know whether the bot was addressed.
Why This Change Was Made
The Feishu mention-forward check now stops early when the bot open id is missing, so it only evaluates “bot plus other user” or direct-message mention forwarding when the bot identity is known. This keeps the change scoped to mention-forward detection and does not change Feishu message parsing, broadcast mention filtering, or outbound mention formatting.
User Impact
Feishu users should no longer see accidental mention-forward behavior during bot identity probe/configuration gaps. Normal mention forwarding remains unchanged when the bot open id is available.
Evidence
Signed Feishu webhook runtime proof, using the same monitor path as webhook mode:
monitorSingleAccount(webhook) -> signed HTTP POST -> EventDispatcher -> handleFeishuMessage -> channel.inbound.run. Payload IDs below are synthetic/redacted local proof values.corepack [email protected] exec node scripts/run-vitest.mjs run extensions/feishu/src/bot.checkBotMentioned.test.tscorepack [email protected] exec node scripts/run-vitest.mjs run extensions/feishu/src/monitor.message-handler.test.ts