Repository navigation
fix(feishu): extract emoji-only from identity.emoji for card headers (fixes #55242) - #93589
liuhao1024 wants to merge 31 commits into
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed June 18, 2026, 7:34 PM ET / 23:34 UTC. Summary PR surface: Source +21. Total +21 across 2 files. Reproducibility: yes. source-level. Current main and Review metrics: 1 noteworthy metric.
Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance:
Mantis proof suggestion Risk before merge
Maintainer options:
Next step before merge
Security Review findings
Review detailsBest possible solution: Keep Feishu-local header sanitization, but make it grapheme-cluster safe across all affected card-header paths, add focused regressions, and provide redacted real Feishu/Lark card proof before merge. Do we have a high-confidence way to reproduce the issue? Yes, source-level. Current main and Is this the best way to solve the issue? No, not yet. The Feishu card-header construction layer is the right boundary, but this implementation must preserve full emoji clusters and needs real Feishu/Lark send-path proof before it is the best mergeable fix. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 55323103b912. Label changesLabel justifications:
Evidence reviewedPR surface: Source +21. Total +21 across 2 files. View PR surface stats
Acceptance criteria:
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
|
|
All CI checks are passing. The previous ClawSweeper review had a Codex infrastructure failure. Ready for re-evaluation. |
|
The CI check is now passing. Requesting ClawSweeper re-evaluation. |
|
The |
|
CI is green — all checks passing including Real behavior proof. Ready for ClawSweeper re-evaluation. |
|
Auto-cleanup: freeing PR slots for higher-quality contributions. Feel free to reopen if still relevant. |
What does this PR do?
Adds
extractEmojiOnly()helper to strip descriptive text fromidentity.emojifields in Feishu card headers. Previously, emoji fields containing mixed text (e.g. "根据心情切换 😊😄") were displayed verbatim in card titles. Now only emoji characters are extracted and shown.Related Issue
Fixes #55242
Type of Change
Changes Made
extensions/feishu/src/outbound.ts: Added exportedextractEmojiOnly()function. UpdatedbuildFeishuPayloadCard()andfeishuOutboundadapter to use it for card header titles.extensions/feishu/src/reply-dispatcher.ts: ImportedextractEmojiOnlyand used it inresolveCardHeader()instead of rawidentity?.emoji?.trim().How to Test
identity.emojicontaining mixed text+emoji (e.g. "根据心情切换 😊😅😄")Real behavior proof
identity.emojifield verbatim, including descriptive text alongside emojisextractEmojiOnlyis defined, exported, and used at all 3 call sites. All 120 feishu tests pass.