Runbook for operating the StateSet autonomous engine. Use when troubleshooting incident response, stuck jobs, approval backlogs, or autonomous operations with `stateset-autonomous`.
Operational runbook for running and troubleshooting the autonomous engine.
stateset-autonomous status.stateset-autonomous start --db ./commerce.db --port 8787stateset-autonomous statusget_autonomous_status, list_job_runs, approve_job, disable_scheduler.Use this runbook when:
get_autonomous_status, list_job_runs — no --apply needed.approve_job, disable_scheduler, pause, retry-webhook — requires --apply.stateset-autonomous start --db ./commerce.db --port 8787
stateset-autonomous status
stateset-autonomous approve --job job_456 --apply
stateset-autonomous pause --subsystem scheduler --apply
Engine: Stopped -> Starting -> Running -> Degraded -> Stopped
Job: Scheduled -> Running -> Completed (or Failed/Cancelled)
Approval: Pending -> Approved -> Executed (or Denied/Expired)
{"status":"running","scheduler":"enabled","active_jobs":3,"pending_approvals":0,"uptime_seconds":14400}
--db points to a writable file with correct permissions.--port or stop the conflicting service with lsof -i :8787.stateset-autonomous pause and clear pending approvals.job_id status and force-cancel if beyond timeout threshold.stateset-autonomous retry-webhook.RUNBOOK_PORT_CONFLICT: The specified port is already in use by another service.RUNBOOK_APPROVAL_BACKLOG: Pending approvals exceeded the configured threshold.RUNBOOK_WEBHOOK_DELIVERY_FAILED: Webhook endpoint did not respond or returned an error.