Skip to content

Operator Contracts

Audience: operator maintainers Status: Preview

An Ophiolite operator is not just a function. It is a cataloged, revision-aware execution contract.

Every operator needs:

  • stable operator id
  • owning family
  • typed inputs and parameters
  • declared output family
  • preview/materialization behavior
  • validation rules
  • provenance/evidence records
  • execution tests

Operator drafts may reference a data item, semantic role, or follow-latest selection. Before execution, the backend must resolve inputs to exact revisions. Provenance must record the exact revisions and parameters used.

If an operator can materialize output, the resulting run must be inspectable as a bundle or project run record with artifacts, digests, assertions, lineage, events, and actor context.

Next: Package and install an operator