Block a user
M7-11 P0 | deleteSession / updateSession / getMessages 缺少 userId 鉴权
修复
- getMessages(userId, sessionId) — 先查 session 校验 userId
- deleteSession(userId, sessionId) — 同上
- updateSession(userId, sessionId, dto) — 同上
- Controller…
M7-11 P0 | deleteSession / updateSession / getMessages 缺少 userId 鉴权
M7-12 P0 | listSessions 缺少 isDeleted 过滤 + 分页元数据 + isPinned 排序
M7-13 P0 | loadContextByScope: global 走全库检索 + folder 无独立分支
M7-14 P1 | sendMessageStream aiGateway 非空断言导致 null 时 crash
M7-15 P2 | open-or-create 过滤 isArchived + knowledgeBaseId 必填约束优化
M7-16 P0 | KnowledgeItem.sourceRef 从未被赋值,material scope 检索失效
CHAT-704 P1 | 来源删除后的会话表现测试
完成情况
见 docs/chat-scope-test-plan.md 第3节:
- 知识库删除 (2条)
- 资料/知识点删除 (4条)
- 恢复 (1条)
共 7 条来源删除测试用例。
CHAT-702 P0 | Scope 回归测试用例清单
完成情况
见 docs/chat-scope-test-plan.md 第1节:
- 创建会话 open-or-create (6条)
- 会话列表 scope 过滤 (4条)
- 发送消息 scope 快照 (2条)
- 检索范围验证…
CHAT-703 P0 | 防上下文污染测试
完成情况
见 docs/chat-scope-test-plan.md 第2节:
- 跨 scope 隔离 (3条)
- 并发会话 (2条)
共 5 条防污染测试用例。