# Procedures & Operations Marketplace

OpenOps encodes repeatable recovery logic into a **Versioned Procedure Library** so known failures are resolved deterministically, safely, and transparently.

## Built-In Launch Procedures

1. **Stalled Agent / Task Retry:** Detects stalled jobs, re-checks state, dispatches an idempotent retry to the owning executor, and verifies resumed/completed state.
2. **Safe Webhook Redelivery:** Re-delivers failed webhook events with preserved idempotency keys and backoff.
3. **Paused Job Reconciliation:** Reconciles paused or orphaned worker states before resuming.
4. **Transient Outage Backoff:** Groups upstream 5xx/timeout bursts, applies circuit breaking and jittered backoff, and verifies upstream recovery.
5. **Repeated-Error Grouping & Escalation:** Deduplicates noisy failure storms into one business-impact incident and escalates cleanly when thresholds breach.
6. **Missed Completion / Deadline Escalation:** Flags overdue commitments and routes structured context to owners.
7. **Dependency Restoration Verification:** Confirms downstream health after an upstream dependency recovers.
8. **GitHub CI Failure Triage & Owner Dispatch:** Classifies CI failures and routes structured triage to approved engineering owners (without editing code or deploying).

## Dry-Run, Versioning & Trust Boundaries

- **Zero-Effect Dry-Run:** Every procedure supports `dry-run`, showing exact checks, steps, scopes, and estimated cost without touching production state.
- **AI Drafts vs. Reviewed Procedures:** AI-generated procedure drafts are clearly badged and restricted to dry-run preview until an authorized human reviews and promotes them.
- **Version Pinning & Rollback:** Pin workspaces to tested procedure versions and roll back or revoke immediately if behavior changes.
- **Compensation:** Reversible actions declare compensation steps when partial execution fails verification.

## Operations Marketplace

- Browse reviewed, cryptographically signed (`SHA-256`) first-party procedures, connectors, and specialized operational agents (demo items are always labeled **Demo**).
- Unreviewed or unsigned packages are automatically blocked from running with privileged credentials.
- Workspace procedures stay **private by default** and are never shared publicly unless explicitly consented, redacted, generalized, and security-reviewed.
