Files
YYClaw ee2793f031 MUL-7372 fix(dingtalk): preserve quoted answer context and first-chunk attribution (#8412)
* fix(dingtalk): preserve answer context in quoted replies

* fix(dingtalk): narrow quoted reply handling to core behavior

* fix(dingtalk): apply conservative quote policy to card nodes

Apply dingTalkReadableQuotedText to raw card TEXT and LINK values. Mark
filtered nodes unavailable while preserving neighboring text, links and
image placeholders. Update captured-snapshot expectations and cover
node-local degradation.

Follow the conservative policy accepted by Bohan-J in PR #8061: withhold
legitimate quoted content containing || rather than pass an unrecognized
opaque envelope to the agent as the sender's words. This is a projection
policy, not a vendor-defined opaque-content detector.

Review decision:
https://github.com/multica-ai/multica/pull/8061#pullrequestreview-5130718174
Original concern about heuristic false negatives:
https://github.com/multica-ai/multica/pull/8061#pullrequestreview-5129387522
Opaque sample:
https://github.com/open-dingtalk/dingtalk-stream-sdk-go/issues/22

Validation: DingTalk package race tests, callback ACK regression, and
git diff --check passed. Updated card regressions failed before the fix.
2026-09-18 15:09:39 +08:00
..