2026-05-26 · DECISION TRACE

我查到了,结论先说:

保留方案、指标、验证、复盘和治理判断,让结论能够追溯。

2026-05-26记录日期
决策记录记录类型
3章节数

我查到了,结论先说:

  • HTML: https://decision.ht1072.top/2026-05-26-feishu-long-reply-auto-remediation.html
  • Local HTML: [已移除本地路径]
  • Generated: 2026-05-26T13:31:27+08:00

我查到了,结论先说:

结论

这是一条由 Feishu 长回复 guard 自动补救生成的 decision trace。原回复超过飞书安全展示阈值,已转为 HTML/wiki/retain 后再回发短入口。

摘要

我查到了,结论先说: 不是刚才这次长回复 guard 改回老逻辑的;短回执 card 那套本来就没在当前主分支里。它存在于本地分拆分支 local-sync/20260525-231122/04-feishu-card-delivery,但当前运行分支 local/cutover-0.14-live-2026-05-19 只接了 longdecisionguard,没接完整 card classifier。 具体证据: - 当前分支 local/cutover-0.14-live-2026-05-19 - gate…

完整记录

我查到了,结论先说:

不是刚才这次长回复 guard 改回老逻辑的;短回执 card 那套本来就没在当前主分支里。它存在于本地分拆分支 local-sync/20260525-231122/04-feishu-card-delivery,但当前运行分支 local/cutover-0.14-live-2026-05-19 只接了 long_decision_guard,没接完整 card classifier。

具体证据:

  • 当前分支 local/cutover-0.14-live-2026-05-19
  • gateway/platforms/feishu.py 里只有: python if _MARKDOWN_TABLE_RE.search(content): return "text" if _MARKDOWN_HINT_RE.search(content): return "post" return "text"
  • 没有 _classify_feishu_reply_kind
  • 没有 completion_receipt_card
  • 没有 _build_markdown_card_payload

  • 本地历史分支 local-sync/20260525-231122/04-feishu-card-delivery

  • 有完整分类器:
    • _classify_feishu_reply_kind
    • completion_receipt_card
    • comparison_card
    • status_panel_card
    • action_card
    • chat_structured
    • report_structured
  • outbound 路由也有: python if reply_kind == "completion_receipt_card": return "interactive", _build_conclusion_card_payload(content) if reply_kind == "report_structured": return "interactive", _build_markdown_card_payload(content) if reply_kind == "chat_structured": ...

为什么会这样:

  • 5 月 16 那套“结构化 Markdown 优先 interactive”的逻辑,在 local/runtime-synced-2026-05-16 / 后来的 04-feishu-card-delivery 分支里。
  • 当前 live cutover 分支来自更靠近 upstream 的 Feishu 文件,保留了官方老 outbound 逻辑。
  • 5 月 25 分拆时 04-feishu-card-delivery 被标记过测试失败/not push-ready,所以没有整包并进当前 live。
  • 后来我们只把 long_decision_guard 这一小段补进了当前分支,没有把完整 card delivery classifier 一起迁过来

所以不是“回退”,准确说是:当前 live 从未接上完整 card delivery;只接了长回复补救。

我现在按最小风险调整,不整包搬 04 分支,避免再带进那批 11 个失败测试: 1. 只补短回执/结构化 card 的最小 classifier; 2. 保留当前 long_decision_guard; 3. 让短收口回执走 interactive; 4. 普通极短文本仍 text; 5. Markdown 表格维持当前安全策略,不碰。

我继续改并跑测试。


gpt-5.5 · 2026-05-26 · 13:31