SOP 食谱
在运行时支持的 SOP.toml + SOP.md 格式中的实用 SOP 模板。
1. 人在回路部署
SOP.toml 定义了触发器和步骤(参见语法)。SOP.md 正文:
## Steps
1. **Verify** — Check health metrics and rollout constraints.
- tools: http_request
2. **Deploy** — Execute deployment command.
- tools: shell
- requires_confirmation: true
2. IoT 告警处理器 (MQTT)
SOP.toml 定义了触发器和步骤(参见语法)。SOP.md 正文:
## Steps
1. **Analyze** — Read the `Payload:` section in this SOP context and determine severity.
- tools: memory_recall
2. **Notify** — Send an alert with site/device/severity summary.
- tools: pushover
3. 每日摘要(Cron)
SOP.toml 定义了触发器和步骤(参见语法)。SOP.md 正文:
## Steps
1. **Collect Logs** — Gather recent errors and warnings.
- tools: file_read
2. **Summarize** — Produce concise incident and trend summary.
- tools: memory_store