xiaowei-system/daemon
小唯 A06 604495799d chore(config-protector): 防自杀修复——移除运行时噪音跟踪 + stable回滚保护
根因(2026-08-01): gateway 崩溃循环 176 次的真正元凶:
1. git add -A 把 daemon/pid、cron/jobs.json 等运行时噪音纳入版本库 → 仓库永远 dirty
2. stable tag 停在 7-09(23天前) → watchdog auto-heal 触发 git checkout --force stable
   → 整个工作区硬回滚到 23 天前 → 删除新增文件/config 变旧版 → gateway 崩 → 再回滚 → 死循环
3. hermes 在回滚触发列表 → 重启瞬间 pgrep miss 误触发

修复:
1. snapshot 改用 git add 白名单(只加 SOUL/AGENTS/MEMORY/config/scripts/skills/workflows/plugins)
2. rollback 改用 git restore 只还原关键配置 + 拒绝回滚超过7天的旧 stable
3. hermes 从 auto-heal 触发列表移除
4. git rm --cached 清理 20+ 运行时噪音文件
2026-08-01 02:36:05 +08:00
..
solutions.json auto-snapshot 2026-07-09 02:24:24 2026-07-09 02:24:24 +08:00