Skip to content

Branch main Contract ExecutionContext

github-actions[bot] edited this page Jun 8, 2026 · 75 revisions

Contract: Executioncontext

Back to Branch Overview

Field Value
Branch main
Source specs/contracts/ExecutionContext.schema.json
Commit 5b2aac39fcf8
Synced (UTC) 2026-06-08T06:00:53Z

Visual Context

Contract pages define the machine-checkable object shape that crosses a lifecycle boundary.

flowchart LR
  Producer["Lifecycle producer"] --> Contract["Contract schema"]
  Contract --> Example["Schema example"]
  Example --> Validator["Schema validator"]
  Contract --> Fixture["Conformance fixture output"]
  Fixture --> Gate["Base-design gate"]
Loading

Reading Checklist

Question Where to look
Which lifecycle boundary uses it? Read description, required fields, and linked references.
What diagnostics are mandatory? Inspect diagnostic reference fields and rule-reference links.
How is it validated? Compare this schema with fixtures/schema_examples/ and conformance vectors.

JSON Payload

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "ExecutionContext",
  "description": "Context for executing an approved plan.",
  "type": "object",
  "properties": {
    "executionContextID": {
      "type": "string"
    },
    "recoveryPlanID": {
      "type": "string"
    },
    "policyDecision": {
      "$ref": "PolicyDecision.schema.json"
    },
    "backupResult": {
      "$ref": "BackupResult.schema.json"
    },
    "verificationPlan": {
      "$ref": "VerificationPlan.schema.json"
    },
    "diagnosticReference": {
      "$ref": "DiagnosticReference.schema.json"
    }
  },
  "required": [
    "executionContextID",
    "recoveryPlanID",
    "policyDecision",
    "backupResult",
    "verificationPlan",
    "diagnosticReference"
  ],
  "additionalProperties": false
}

Clone this wiki locally