spark-server/docs/daily/2026-10-21-change-list.md

15 lines
842 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 2026-10-21 变动清单
## Session: 编译 / lint 修复
- **bootstrap**:将 `finishApp` 中 TCP/HTTP 装配抽到 `attachTransports`,满足 `funlen`;参数类型使用 `tcp.TaskPool`、`session.Manager` 接口。
- **client/logic**:`service_test.go` 中 `rangeValCopy` 改为索引遍历。
- **验证**:`make test` pass(golangci-lint + `go test ./...` + logic coverage ≥65%)。
## Session: 敏感词扩展到朋友圈 / 广场 / 昵称 / 群公告
- **词库**:仍是一份 `t_sensitive_words`,不按场景拆库。
- **moderation**:新增 `GateText`,非会话命中 `conversation_id=0`,处罚与聊天一致(替换落库,拒绝/禁言/封禁不写入)。
- **接入**:朋友圈与广场的正文和评论、用户昵称、群公告;启动时 `BindModeration`。
- **验证**:`make test` pass。