ORBITORBIT v0.1 · Draft

~/orbit/schemas/execution-slice

ExecutionSlice · ORBIT v0.1

Execution Slice

ExecutionSlice

The next bounded change justified by current evidence.

A bounded, execution-ready change derived from a Reconciliation and tied to the Plan revision and repository state that justified it.

Canonical type ExecutionSlice
References Plan revision, Outcome, Reconciliation, Acceptance Criteria, repository provenance

The raw JSON Schema is the machine contract for this resource. The field reference below is derived from that schema.

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://orbitspec.dev/schema/execution-slice/v0.1.json",
  "title": "ORBIT Execution Slice",
  "type": "object",
  "required": [
    "specVersion",
    "id",
    "planId",
    "outcomeId",
    "basedOn",
    "objective",
    "why",
    "contributesTo",
    "scope"
  ],
  "properties": {
    "specVersion": {
      "const": "0.1",
      "description": "ORBIT specification version."
    },
    "id": {
      "type": "string",
      "description": "Stable ExecutionSlice identifier."
    },
    "planId": {
      "type": "string",
      "description": "Referenced Plan identifier."
    },
    "outcomeId": {
      "type": "string",
      "description": "Referenced Outcome identifier."
    },
    "basedOn": {
      "type": "object",
      "required": [
        "planRevision",
        "reconciliationId",
        "repositories"
      ],
      "properties": {
        "planRevision": {
          "type": "integer",
          "minimum": 1,
          "description": "Plan revision used for reconciliation."
        },
        "reconciliationId": {
          "type": "string",
          "description": "Reconciliation that justified the slice."
        },
        "repositories": {
          "type": "object",
          "description": "Repository revisions used as evidence."
        }
      },
      "additionalProperties": false,
      "description": "Provenance for the slice."
    },
    "objective": {
      "type": "string",
      "description": "Bounded change objective."
    },
    "why": {
      "type": "string",
      "description": "Reason the change is justified."
    },
    "contributesTo": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Acceptance Criteria advanced by the slice."
    },
    "scope": {
      "type": "object",
      "required": [
        "include",
        "exclude"
      ],
      "properties": {
        "include": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Included work."
        },
        "exclude": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Excluded work."
        }
      },
      "additionalProperties": false,
      "description": "Explicit change boundary."
    }
  },
  "additionalProperties": false
}
FieldTypeRequiredMeaningConstraints
specVersionconst "0.1"yesORBIT specification version.must equal "0.1"
idstringyesStable ExecutionSlice identifier.—
planIdstringyesReferenced Plan identifier.—
outcomeIdstringyesReferenced Outcome identifier.—
basedOnobjectyesProvenance for the slice.—
basedOn.planRevisionintegeryesPlan revision used for reconciliation.minimum 1
basedOn.reconciliationIdstringyesReconciliation that justified the slice.—
basedOn.repositoriesobjectyesRepository revisions used as evidence.—
objectivestringyesBounded change objective.—
whystringyesReason the change is justified.—
contributesToarray<string>yesAcceptance Criteria advanced by the slice.—
scopeobjectyesExplicit change boundary.—
scope.includearray<string>yesIncluded work.—
scope.excludearray<string>yesExcluded work.—
ResourceReferenceMeaning
Based onbasedOn.planRevision + basedOn.reconciliationIdIdentifies the Plan revision and Reconciliation that justified this slice.
AdvancesoutcomeIdLinks the bounded change to an Outcome in the Plan.
Contributes tocontributesTo[]Links the change to Acceptance Criteria it advances.
Bound tobasedOn.repositoriesPreserves relevant repository revisions used to justify the slice.

JSON Schema validates structure. These semantic rules explain what a structurally valid ExecutionSlice must mean in the ORBIT model.

  • basedOn.planRevision identifies the Plan revision used during reconciliation.
  • basedOn.reconciliationId identifies the Reconciliation that justified the slice.
  • contributesTo references Acceptance Criteria in the referenced Plan revision.
  • Repository provenance identifies the state against which the slice was justified.
  • If relevant Plan or repository provenance changes before execution, the slice is stale and must be reconciled again.

The canonical machine-readable contract is available at /schema/execution-slice.schema.json.

Use it for tooling, CI validation, and agent integrations. The human guide explains semantics; the schema defines structural conformance.