Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Standard Operating Procedures (SOP)

SOPs are deterministic procedures executed by the SopEngine. They provide explicit trigger matching, approval gates, and auditable run state.

  • How SOPs run: the runtime contract, event flow, and a getting-started walkthrough.
  • Syntax: required file layout and trigger/step syntax.
  • Cookbook: reusable SOP patterns.
  • Connectivity: event fan-in to the SOP engine. MQTT is the wired live source; webhook, cron, and peripheral triggers are defined and matched but not yet routed to a live event source.
  • Observability: where run state and audit entries are stored.
  • Worked Example: the stagehand StageX auto-update bot, from build to draft PR, driven by a deterministic SOP over an AMQP feed.