Files
cc-web/.planning/history-message-recall/progress.md
2026-09-11 09:29:53 +08:00

11 lines
1.1 KiB
Markdown
Raw 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-09-11:建立隔离计划目录,准备定位历史消息裁剪和回看链路。
- 2026-09-11:计划审查未通过,已补充验收标准、数量边界、分页/并发/权限风险;审查意见要求保留必要计划记录,只清理临时 TODO 文件。
- 2026-09-11:代码图谱确认服务端已有 `handleLoadHistoryPage`、`handleLoadSession`/`splitHistoryMessages`,前端已有 `prependHistoryMessages`,问题更可能是入口或游标链路未闭合,而非完全没有历史能力。
- 2026-09-11:实现服务端原始历史恢复、普通会话按需分页、历史游标回传和前端顶部回看控件;历史页按稳定消息索引去重并合并缓存。
- 2026-09-11:新增 `history-recall` 回归断言,覆盖 45 条近期 + 50 条旧消息的切分、Codex rollout 解析、入口/分页协议和重复消息保护;该目标与完整 `npm run regression` 均通过。
- 2026-09-11:按发布技能用本地 Bun baseline 重建 `dist-exe/cc-web-bun-linux-x64-baseline.tar.gz`;语法检查、MCP initialize smoke 和归档清单均通过;临时 TODO 清单已清理。