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