已按建议顺序完成整改:Provider 漂移、SearXNG 环境、News/Health 报告任务、历史状态快照权限、systemd unit 和基线文档均已处理。
| 项目 | 状态 | 说明 |
|---|---|---|
| Health provider 漂移 | 完成 | Worker/Network/News/Health/Stock 辅助 provider 固定到本地 CLIProxy gpt-5.4-mini,避免 auto 选到不可用直连 provider。 |
| SearXNG 同步 | 完成 | 5 个 profile 的 .env 均加入 SEARXNG_URL=http://127.0.0.1:8088。 |
| News/Health cron prompt | 完成 | 统一为 Report Center 发布链路,使用 REPORT_HTML_STYLE.md,Telegram 只输出标题、摘要和链接。 |
| 历史状态快照权限 | 完成 | /root/.hermes/state-snapshots/*/{state.db,gateway_state.json,manifest.json} 已收紧到 600。 |
| systemd unit | 完成 | News unit 已标准化;Health/Stock TimeoutStopSec 已匹配 drain window。 |
| 基线文档 | 完成 | config-baseline.md、STARTUP_CONTEXT.md、长期记忆和系统手册已同步。 |
| 检查 | 结果 |
|---|---|
systemctl --failed | 0 failed units |
| Hermes profile list | Master、Worker、Network、News、Health、Stock 均 running |
| Profile config check | 5 个 profile 均为 config version 23,且识别到 SEARXNG_URL |
| 近期日志 | 整改后未见 403、empty_stream、Traceback 或 stale systemd warning |
| 类型 | 路径 |
|---|---|
| 备份目录 | /root/backups/hermes-architecture-fix-20260512-145124 |
| Restart context | /root/.hermes/restart-context/hermes-architecture-fix-20260512-145124.md |
| 主要配置 | /root/.hermes/profiles/{worker,network,news,health,stock}/config.yaml |
| 环境变量 | /root/.hermes/profiles/{worker,network,news,health,stock}/.env |
| 定时任务 | /root/.hermes/profiles/{news,health}/cron/jobs.json |