Files
Moltbot/docs/zh-CN/experiments/plans/group-policy-hardening.md
Josh Palmer a3ec2d0734 Docs: update zh-CN translations and pipeline
What:
- update zh-CN glossary, TM, and translator prompt
- regenerate zh-CN docs and apply targeted fixes
- add zh-CN AGENTS pipeline guidance

Why:
- address terminology/spacing feedback from #6995

Tests:
- pnpm build && pnpm check && pnpm test
2026-02-03 13:23:00 -08:00

1.2 KiB
Raw Blame History

read_when, summary, title, x-i18n
read_when summary title x-i18n
查看历史 Telegram 允许列表更改
Telegram 允许列表加固:前缀 + 空白规范化 Telegram 允许列表加固
generated_at model provider source_hash source_path workflow
2026-02-03T07:47:16Z claude-opus-4-5 pi a2eca5fcc85376948cfe1b6044f1a8bc69c7f0eb94d1ceafedc1e507ba544162 experiments/plans/group-policy-hardening.md 15

Telegram 允许列表加固

日期2026-01-05
状态:已完成
PR#216

摘要

Telegram 允许列表现在不区分大小写地接受 telegram:tg: 前缀,并容忍意外的空白。这使入站允许列表检查与出站发送规范化保持一致。

更改内容

  • 前缀 telegram:tg: 被同等对待(不区分大小写)。
  • 允许列表条目会被修剪;空条目会被忽略。

示例

以下所有形式都被接受为同一 ID

  • telegram:123456
  • TG:123456
  • tg:123456

为什么重要

从日志或聊天 ID 复制/粘贴通常会包含前缀和空白。规范化可避免在决定是否在私信或群组中响应时出现误判。

相关文档