Skip to content

Improve notification reliability - #21

Merged
jiangsir-tech merged 1 commit into
mainfrom
agent/improve-notification-reliability
Aug 7, 2026
Merged

jiangsir-tech merged 1 commit into
mainfrom
agent/improve-notification-reliability

Conversation

@jiangsir-tech

Copy link
Copy Markdown
Owner

本次优化

  • 流式读取超大会话记录,兼容归档记录与失效路径回退
  • 改进“本轮结束 / 需要你回复 / 受阻或出错”的判断与摘要提取
  • 清理内部标记、路径和凭据,减少空泛、截断和误判通知
  • 为去重记录和审计日志增加自动清理与轮转
  • 优先使用 Codex / ChatGPT 自带的 Node 运行环境
  • 安装备份最多保留 5 份,并加强异常清单保护

为什么修改

长任务和超大对话记录可能导致通知过早、重复、漏发或类型误判;摘要规则也可能产生空泛内容。此次修改针对这些真实使用问题统一优化。

验证

  • npm run test:all:137 / 137 通过
  • git diff --check:通过
  • 真实 1.10 GB 会话记录定位主任务约 3–4 ms
  • 本机重新安装与 dry-run 均通过
  • 原 Device Key、Codex 配置和 Hooks 均得到保留

@jiangsir-tech
jiangsir-tech marked this pull request as ready for review August 7, 2026 13:10
@jiangsir-tech
jiangsir-tech merged commit 52883c5 into main Aug 7, 2026
8 checks passed
@jiangsir-tech
jiangsir-tech deleted the agent/improve-notification-reliability branch August 7, 2026 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant