Skip to content

Latest commit

Β 

History

History
46 lines (30 loc) Β· 1.07 KB

File metadata and controls

46 lines (30 loc) Β· 1.07 KB

SOP Cookbook

Practical SOP templates in the runtime-supported SOP.toml + SOP.md format.

1. Human-in-the-Loop Deployment

The SOP.toml defines the trigger and steps (see Syntax). The SOP.md body:

## Steps

1. **Verify** β€” Check health metrics and rollout constraints.
   - tools: http_request

2. **Deploy** β€” Execute deployment command.
   - tools: shell
   - requires_confirmation: true

2. IoT Alert Handler (MQTT)

The SOP.toml defines the trigger and steps (see Syntax). The SOP.md body:

## 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. Daily Digest (Cron)

The SOP.toml defines the trigger and steps (see Syntax). The SOP.md body:

## Steps

1. **Collect Logs** β€” Gather recent errors and warnings.
   - tools: file_read

2. **Summarize** β€” Produce concise incident and trend summary.
   - tools: memory_store