{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/algenta-ai/json-schema/algenta-ai-runtime-manifest-response-schema.json",
  "title": "RuntimeManifestResponse",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/api.algenta.ai-openapi.json#/components/schemas/RuntimeManifestResponse",
  "properties": {
    "runtime_version": {
      "type": "string",
      "title": "Runtime Version"
    },
    "mojo_version": {
      "type": "string",
      "title": "Mojo Version"
    },
    "llm_core_manifest": {
      "type": "string",
      "title": "Llm Core Manifest"
    },
    "module_manifest_version": {
      "type": "string",
      "title": "Module Manifest Version"
    },
    "generated_at": {
      "type": "string",
      "title": "Generated At"
    },
    "modules": {
      "items": {
        "$ref": "#/$defs/RuntimeModuleManifestEntry"
      },
      "type": "array",
      "title": "Modules"
    },
    "compiled_artifacts": {
      "items": {
        "$ref": "#/$defs/ArtifactReference"
      },
      "type": "array",
      "title": "Compiled Artifacts"
    },
    "supported_channels": {
      "items": {
        "$ref": "#/$defs/RuntimeSupportedChannel"
      },
      "type": "array",
      "title": "Supported Channels"
    },
    "validated_auxiliary_channels": {
      "items": {
        "$ref": "#/$defs/RuntimeAuxiliaryChannel"
      },
      "type": "array",
      "title": "Validated Auxiliary Channels"
    },
    "feature_flag_channels": {
      "items": {
        "$ref": "#/$defs/RuntimeFeatureFlagChannel"
      },
      "type": "array",
      "title": "Feature Flag Channels"
    },
    "maturity": {
      "additionalProperties": {
        "$ref": "#/$defs/RuntimeMaturity"
      },
      "propertyNames": {
        "$ref": "#/$defs/RuntimeModuleId"
      },
      "type": "object",
      "title": "Maturity"
    },
    "policy_snapshot": {
      "$ref": "#/$defs/SnapshotReference"
    },
    "schema_snapshot": {
      "$ref": "#/$defs/SnapshotReference"
    },
    "deployment_mode": {
      "$ref": "#/$defs/RuntimeDeploymentModePublic"
    },
    "deployment_mode_raw": {
      "type": "string",
      "title": "Deployment Mode Raw"
    },
    "deployment_modes": {
      "$ref": "#/$defs/DeploymentModes"
    },
    "shipping_contract": {
      "$ref": "#/$defs/ShippingContractSummary"
    },
    "benchmark_discovery_lane": {
      "$ref": "#/$defs/BenchmarkDiscoveryLane"
    },
    "advertised_capabilities": {
      "$ref": "#/$defs/AdvertisedCapabilities"
    },
    "system_invariants": {
      "items": {
        "$ref": "#/$defs/NamedRule"
      },
      "type": "array",
      "title": "System Invariants"
    },
    "execution_model": {
      "$ref": "#/$defs/ExecutionModel"
    },
    "external_nondeterminism": {
      "$ref": "#/$defs/ExternalNondeterminismPolicy"
    },
    "artifact_lineage": {
      "$ref": "#/$defs/ArtifactLineageSchema"
    },
    "capability_algebra": {
      "$ref": "#/$defs/CapabilityAlgebraSchema"
    },
    "kernel_promotion_criteria": {
      "$ref": "#/$defs/KernelPromotionCriteria"
    },
    "proof_matrix": {
      "items": {
        "$ref": "#/$defs/LayerProofMatrixEntry"
      },
      "type": "array",
      "title": "Proof Matrix"
    },
    "benchmarking": {
      "$ref": "#/$defs/BenchmarkFramework"
    },
    "slo_budgets": {
      "items": {
        "$ref": "#/$defs/SLOBudget"
      },
      "type": "array",
      "title": "Slo Budgets"
    },
    "scheduler_model": {
      "$ref": "#/$defs/SchedulerModel"
    },
    "memory_model": {
      "$ref": "#/$defs/MemoryModel"
    },
    "evaluation_science": {
      "$ref": "#/$defs/EvaluationScience"
    },
    "typed_failures": {
      "items": {
        "$ref": "#/$defs/TypedFailure"
      },
      "type": "array",
      "title": "Typed Failures"
    },
    "threat_model": {
      "$ref": "#/$defs/ThreatModel"
    },
    "formal_release_theorem": {
      "$ref": "#/$defs/FormalReleaseTheorem"
    },
    "release_artifact_bundle": {
      "$ref": "#/$defs/ReleaseArtifactBundle"
    },
    "release_gates": {
      "items": {
        "$ref": "#/$defs/ReleaseGate"
      },
      "type": "array",
      "title": "Release Gates"
    },
    "immediate_implementation_sequence": {
      "items": {
        "$ref": "#/$defs/ImmediateImplementationPR"
      },
      "type": "array",
      "title": "Immediate Implementation Sequence"
    },
    "manifest_digest": {
      "type": "string",
      "title": "Manifest Digest"
    },
    "signature": {
      "$ref": "#/$defs/ManifestSignature"
    }
  },
  "type": "object",
  "required": [
    "runtime_version",
    "mojo_version",
    "llm_core_manifest",
    "module_manifest_version",
    "generated_at",
    "policy_snapshot",
    "schema_snapshot",
    "deployment_mode",
    "deployment_mode_raw",
    "deployment_modes",
    "shipping_contract",
    "benchmark_discovery_lane",
    "advertised_capabilities",
    "execution_model",
    "external_nondeterminism",
    "artifact_lineage",
    "capability_algebra",
    "kernel_promotion_criteria",
    "benchmarking",
    "scheduler_model",
    "memory_model",
    "evaluation_science",
    "threat_model",
    "formal_release_theorem",
    "release_artifact_bundle",
    "manifest_digest",
    "signature"
  ],
  "$defs": {
    "AdvertisedCapabilities": {
      "properties": {
        "runtime_modules": {
          "items": {
            "$ref": "#/$defs/RuntimeModuleId"
          },
          "type": "array",
          "title": "Runtime Modules"
        },
        "public_endpoints": {
          "items": {
            "$ref": "#/$defs/RuntimePublicEndpoint"
          },
          "type": "array",
          "title": "Public Endpoints"
        },
        "admin_endpoints": {
          "items": {
            "$ref": "#/$defs/RuntimeAdminEndpoint"
          },
          "type": "array",
          "title": "Admin Endpoints"
        },
        "feature_flag_endpoints": {
          "items": {
            "$ref": "#/$defs/RuntimeFeatureFlagEndpoint"
          },
          "type": "array",
          "title": "Feature Flag Endpoints"
        }
      },
      "type": "object",
      "title": "AdvertisedCapabilities"
    },
    "ArtifactLineageSchema": {
      "properties": {
        "artifact_flow": {
          "items": {
            "$ref": "#/$defs/RuntimeArtifactLineageStep"
          },
          "type": "array",
          "title": "Artifact Flow"
        },
        "required_node_fields": {
          "items": {
            "$ref": "#/$defs/RuntimeLineageNodeField"
          },
          "type": "array",
          "title": "Required Node Fields"
        },
        "immutability_rule": {
          "type": "string",
          "title": "Immutability Rule"
        }
      },
      "type": "object",
      "required": [
        "immutability_rule"
      ],
      "title": "ArtifactLineageSchema"
    },
    "ArtifactReference": {
      "properties": {
        "kind": {
          "$ref": "#/$defs/RuntimeArtifactKind"
        },
        "path": {
          "type": "string",
          "title": "Path"
        },
        "sha256": {
          "type": "string",
          "title": "Sha256"
        },
        "size_bytes": {
          "type": "integer",
          "title": "Size Bytes"
        }
      },
      "type": "object",
      "required": [
        "kind",
        "path",
        "sha256",
        "size_bytes"
      ],
      "title": "ArtifactReference"
    },
    "BenchmarkClassEntry": {
      "properties": {
        "code": {
          "$ref": "#/$defs/RuntimeBenchmarkClassCode"
        },
        "description": {
          "type": "string",
          "title": "Description"
        },
        "evidence_paths": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Evidence Paths"
        }
      },
      "type": "object",
      "required": [
        "code",
        "description"
      ],
      "title": "BenchmarkClassEntry"
    },
    "BenchmarkDiscoveryLane": {
      "properties": {
        "discovered_source_modules": {
          "type": "integer",
          "title": "Discovered Source Modules"
        },
        "discovered_public_functions": {
          "type": "integer",
          "title": "Discovered Public Functions"
        },
        "discovered_source_inventory": {
          "items": {
            "$ref": "#/$defs/BenchmarkDiscoverySourceModuleEntry"
          },
          "type": "array",
          "title": "Discovered Source Inventory"
        },
        "shipping_manifest_modules": {
          "type": "integer",
          "title": "Shipping Manifest Modules"
        },
        "shipping_manifest_functions": {
          "type": "integer",
          "title": "Shipping Manifest Functions"
        },
        "non_shipping_rule": {
          "$ref": "#/$defs/RuntimeNonShippingRule"
        }
      },
      "type": "object",
      "required": [
        "discovered_source_modules",
        "discovered_public_functions",
        "shipping_manifest_modules",
        "shipping_manifest_functions",
        "non_shipping_rule"
      ],
      "title": "BenchmarkDiscoveryLane"
    },
    "BenchmarkDiscoverySourceModuleEntry": {
      "properties": {
        "import_path": {
          "type": "string",
          "title": "Import Path"
        },
        "public_function_count": {
          "type": "integer",
          "title": "Public Function Count"
        }
      },
      "type": "object",
      "required": [
        "import_path",
        "public_function_count"
      ],
      "title": "BenchmarkDiscoverySourceModuleEntry"
    },
    "BenchmarkFramework": {
      "properties": {
        "classes": {
          "items": {
            "$ref": "#/$defs/BenchmarkClassEntry"
          },
          "type": "array",
          "title": "Classes"
        },
        "required_metrics": {
          "items": {
            "$ref": "#/$defs/RuntimeBenchmarkMetric"
          },
          "type": "array",
          "title": "Required Metrics"
        },
        "baselines": {
          "items": {
            "$ref": "#/$defs/RuntimeBenchmarkBaseline"
          },
          "type": "array",
          "title": "Baselines"
        }
      },
      "type": "object",
      "title": "BenchmarkFramework"
    },
    "CapabilityAlgebraSchema": {
      "properties": {
        "required_fields": {
          "items": {
            "$ref": "#/$defs/RuntimeCapabilityField"
          },
          "type": "array",
          "title": "Required Fields"
        },
        "enums": {
          "$ref": "#/$defs/CapabilityEnums"
        },
        "rules": {
          "items": {
            "$ref": "#/$defs/RuntimeCapabilityRule"
          },
          "type": "array",
          "title": "Rules"
        }
      },
      "type": "object",
      "required": [
        "enums"
      ],
      "title": "CapabilityAlgebraSchema"
    },
    "CapabilityEnums": {
      "properties": {
        "side_effect_class": {
          "items": {
            "$ref": "#/$defs/SideEffectClass"
          },
          "type": "array",
          "title": "Side Effect Class"
        },
        "risk_level": {
          "items": {
            "$ref": "#/$defs/RiskLevel"
          },
          "type": "array",
          "title": "Risk Level"
        },
        "replayability": {
          "items": {
            "$ref": "#/$defs/Replayability"
          },
          "type": "array",
          "title": "Replayability"
        }
      },
      "type": "object",
      "title": "CapabilityEnums"
    },
    "DeploymentModes": {
      "properties": {
        "current": {
          "$ref": "#/$defs/RuntimeDeploymentModePublic"
        },
        "supported_modes": {
          "items": {
            "$ref": "#/$defs/RuntimeDeploymentModePublic"
          },
          "type": "array",
          "title": "Supported Modes"
        },
        "rule": {
          "type": "string",
          "title": "Rule"
        }
      },
      "type": "object",
      "required": [
        "current",
        "rule"
      ],
      "title": "DeploymentModes"
    },
    "EvaluationScience": {
      "properties": {
        "dimensions": {
          "items": {
            "$ref": "#/$defs/RuntimeEvaluationDimension"
          },
          "type": "array",
          "title": "Dimensions"
        },
        "methods": {
          "items": {
            "$ref": "#/$defs/RuntimeEvaluationMethod"
          },
          "type": "array",
          "title": "Methods"
        },
        "release_blockers": {
          "items": {
            "$ref": "#/$defs/RuntimeReleaseBlocker"
          },
          "type": "array",
          "title": "Release Blockers"
        }
      },
      "type": "object",
      "title": "EvaluationScience"
    },
    "ExecutionModel": {
      "properties": {
        "state_fields": {
          "items": {
            "$ref": "#/$defs/RuntimeExecutionStateField"
          },
          "type": "array",
          "title": "State Fields"
        },
        "allowed_transitions": {
          "items": {
            "$ref": "#/$defs/ExecutionTransition"
          },
          "type": "array",
          "title": "Allowed Transitions"
        },
        "validity_rules": {
          "items": {
            "$ref": "#/$defs/RuntimeExecutionValidityRule"
          },
          "type": "array",
          "title": "Validity Rules"
        }
      },
      "type": "object",
      "title": "ExecutionModel"
    },
    "ExecutionTransition": {
      "type": "string",
      "enum": [
        "model_call_started",
        "model_token_emitted",
        "tool_call_requested",
        "tool_call_approved",
        "tool_call_denied",
        "checkpoint_committed",
        "decision_plan_created",
        "simulation_started",
        "execution_started",
        "replay_started",
        "failure_emitted"
      ],
      "title": "ExecutionTransition"
    },
    "ExternalNondeterminismPolicy": {
      "properties": {
        "sources": {
          "items": {
            "$ref": "#/$defs/RuntimeExternalNondeterminismSource"
          },
          "type": "array",
          "title": "Sources"
        },
        "rule": {
          "type": "string",
          "title": "Rule"
        },
        "required_artifacts": {
          "items": {
            "$ref": "#/$defs/RuntimeNondeterminismArtifact"
          },
          "type": "array",
          "title": "Required Artifacts"
        },
        "failure_codes": {
          "items": {
            "$ref": "#/$defs/RuntimeFailureCode"
          },
          "type": "array",
          "title": "Failure Codes"
        }
      },
      "type": "object",
      "required": [
        "rule"
      ],
      "title": "ExternalNondeterminismPolicy"
    },
    "FormalReleaseTheorem": {
      "properties": {
        "statement": {
          "type": "string",
          "title": "Statement"
        },
        "required_conditions": {
          "items": {
            "$ref": "#/$defs/ReleaseCondition"
          },
          "type": "array",
          "title": "Required Conditions"
        }
      },
      "type": "object",
      "required": [
        "statement"
      ],
      "title": "FormalReleaseTheorem"
    },
    "ImmediateImplementationPR": {
      "properties": {
        "pr": {
          "type": "string",
          "title": "Pr"
        },
        "focus": {
          "type": "string",
          "title": "Focus"
        },
        "deliverables": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Deliverables"
        }
      },
      "type": "object",
      "required": [
        "pr",
        "focus"
      ],
      "title": "ImmediateImplementationPR"
    },
    "KernelPromotionCriteria": {
      "properties": {
        "required_manifest_fields": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Required Manifest Fields"
        },
        "required_proof_reference_fields": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Required Proof Reference Fields"
        },
        "deterministic_test_corpus_rule": {
          "type": "string",
          "title": "Deterministic Test Corpus Rule"
        },
        "python_parity_rule": {
          "type": "string",
          "title": "Python Parity Rule"
        },
        "schema_compatibility_rule": {
          "type": "string",
          "title": "Schema Compatibility Rule"
        },
        "minimum_primary_metric_improvement_pct": {
          "type": "number",
          "title": "Minimum Primary Metric Improvement Pct"
        },
        "maximum_adjacent_metric_regression_pct": {
          "type": "number",
          "title": "Maximum Adjacent Metric Regression Pct"
        },
        "benchmark_exception_rule": {
          "type": "string",
          "title": "Benchmark Exception Rule"
        },
        "rollback_scope_rule": {
          "type": "string",
          "title": "Rollback Scope Rule"
        },
        "tenant_isolation_rule": {
          "type": "string",
          "title": "Tenant Isolation Rule"
        },
        "replay_compatibility_rule": {
          "type": "string",
          "title": "Replay Compatibility Rule"
        }
      },
      "type": "object",
      "required": [
        "deterministic_test_corpus_rule",
        "python_parity_rule",
        "schema_compatibility_rule",
        "minimum_primary_metric_improvement_pct",
        "maximum_adjacent_metric_regression_pct",
        "benchmark_exception_rule",
        "rollback_scope_rule",
        "tenant_isolation_rule",
        "replay_compatibility_rule"
      ],
      "title": "KernelPromotionCriteria"
    },
    "LayerProofMatrixEntry": {
      "properties": {
        "layer": {
          "$ref": "#/$defs/RuntimeLayer"
        },
        "status": {
          "$ref": "#/$defs/RuntimeMaturity"
        },
        "obligations": {
          "items": {
            "$ref": "#/$defs/RuntimeProofObligation"
          },
          "type": "array",
          "title": "Obligations"
        },
        "evidence_paths": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Evidence Paths"
        }
      },
      "type": "object",
      "required": [
        "layer",
        "status"
      ],
      "title": "LayerProofMatrixEntry"
    },
    "ManifestSignature": {
      "properties": {
        "algorithm": {
          "$ref": "#/$defs/RuntimeSignatureAlgorithm"
        },
        "key_id": {
          "type": "string",
          "title": "Key Id"
        },
        "digest_hex": {
          "type": "string",
          "title": "Digest Hex"
        },
        "signature_hex": {
          "type": "string",
          "title": "Signature Hex"
        },
        "scope": {
          "$ref": "#/$defs/RuntimeSignatureScope"
        }
      },
      "type": "object",
      "required": [
        "algorithm",
        "key_id",
        "digest_hex",
        "signature_hex",
        "scope"
      ],
      "title": "ManifestSignature"
    },
    "MemoryModel": {
      "properties": {
        "regions": {
          "items": {
            "$ref": "#/$defs/RuntimeMemoryRegion"
          },
          "type": "array",
          "title": "Regions"
        },
        "rules": {
          "items": {
            "$ref": "#/$defs/RuntimeMemoryRule"
          },
          "type": "array",
          "title": "Rules"
        },
        "failure_codes": {
          "items": {
            "$ref": "#/$defs/RuntimeFailureCode"
          },
          "type": "array",
          "title": "Failure Codes"
        }
      },
      "type": "object",
      "title": "MemoryModel"
    },
    "NamedRule": {
      "properties": {
        "name": {
          "$ref": "#/$defs/RuntimeInvariantName"
        },
        "statement": {
          "type": "string",
          "title": "Statement"
        }
      },
      "type": "object",
      "required": [
        "name",
        "statement"
      ],
      "title": "NamedRule"
    },
    "ReleaseArtifactBundle": {
      "properties": {
        "required_artifacts": {
          "items": {
            "$ref": "#/$defs/RuntimeReleaseArtifact"
          },
          "type": "array",
          "title": "Required Artifacts"
        }
      },
      "type": "object",
      "title": "ReleaseArtifactBundle"
    },
    "ReleaseCondition": {
      "type": "string",
      "enum": [
        "manifest-listed",
        "proof-backed",
        "policy-covered",
        "replay-tested",
        "deployment-mode validated"
      ],
      "title": "ReleaseCondition"
    },
    "ReleaseGate": {
      "properties": {
        "gate": {
          "$ref": "#/$defs/RuntimeReleaseGateId"
        },
        "description": {
          "type": "string",
          "title": "Description"
        }
      },
      "type": "object",
      "required": [
        "gate",
        "description"
      ],
      "title": "ReleaseGate"
    },
    "Replayability": {
      "type": "string",
      "enum": [
        "deterministic",
        "artifact_backed",
        "non_replayable"
      ],
      "title": "Replayability"
    },
    "RiskLevel": {
      "type": "string",
      "enum": [
        "low",
        "medium",
        "high",
        "critical"
      ],
      "title": "RiskLevel"
    },
    "RuntimeAdminEndpoint": {
      "type": "string",
      "enum": [
        "/v1/admin/runtime/modules",
        "/v1/admin/runtime/benchmarks",
        "/v1/admin/runtime/validation"
      ],
      "title": "RuntimeAdminEndpoint"
    },
    "RuntimeArtifactKind": {
      "type": "string",
      "enum": [
        "proof_bundle",
        "parity_benchmark",
        "compiled_runtime_benchmark",
        "compiled_mojo_binary"
      ],
      "title": "RuntimeArtifactKind"
    },
    "RuntimeArtifactLineageStep": {
      "type": "string",
      "enum": [
        "input",
        "policy snapshot",
        "schema snapshot",
        "runtime manifest",
        "backend or model",
        "tool or MCP calls",
        "checkpoints",
        "decision plan",
        "execution record",
        "outcome",
        "evaluation result"
      ],
      "title": "RuntimeArtifactLineageStep"
    },
    "RuntimeAuxiliaryChannel": {
      "type": "string",
      "enum": [
        "bundled_worker",
        "runtime_local"
      ],
      "title": "RuntimeAuxiliaryChannel"
    },
    "RuntimeBenchmarkBaseline": {
      "type": "string",
      "enum": [
        "Python reference",
        "PyTorch or Transformers path",
        "vLLM OpenAI-compatible backend",
        "llama.cpp GGUF backend",
        "ONNX Runtime backend",
        "CTranslate2 backend",
        "Algenta Mojo-native path"
      ],
      "title": "RuntimeBenchmarkBaseline"
    },
    "RuntimeBenchmarkClassCode": {
      "type": "string",
      "enum": [
        "B1",
        "B2",
        "B3",
        "B4",
        "B5",
        "B6",
        "B7",
        "B8",
        "B9",
        "B10"
      ],
      "title": "RuntimeBenchmarkClassCode"
    },
    "RuntimeBenchmarkDiscoveryRule": {
      "type": "string",
      "enum": [
        "Only the 22-module, 209-function LLM rollout is treated as the shipping runtime contract."
      ],
      "title": "RuntimeBenchmarkDiscoveryRule"
    },
    "RuntimeBenchmarkMetric": {
      "type": "string",
      "enum": [
        "p50",
        "p90",
        "p95",
        "p99",
        "tokens_per_second",
        "ttft",
        "requests_per_second",
        "memory_peak",
        "cache_hit_rate",
        "checkpoint_commit_latency",
        "replay_latency",
        "tool_call_latency",
        "decision_plan_latency",
        "simulation_latency",
        "cost_per_successful_run"
      ],
      "title": "RuntimeBenchmarkMetric"
    },
    "RuntimeCapabilityField": {
      "type": "string",
      "enum": [
        "tool_name",
        "input_schema",
        "output_schema",
        "side_effect_class",
        "risk_level",
        "required_policy",
        "replayability",
        "approval_required"
      ],
      "title": "RuntimeCapabilityField"
    },
    "RuntimeCapabilityRule": {
      "type": "string",
      "enum": [
        "MCP tools are untrusted by default.",
        "No tool may execute without a capability record.",
        "Approvals and fallbacks derive from capability algebra, not ad hoc code paths."
      ],
      "title": "RuntimeCapabilityRule"
    },
    "RuntimeCompiledEngine": {
      "type": "string",
      "enum": [
        "mojo",
        "python_fallback"
      ],
      "title": "RuntimeCompiledEngine"
    },
    "RuntimeDeploymentModePublic": {
      "type": "string",
      "enum": [
        "saas",
        "vpc",
        "self_hosted",
        "air_gapped",
        "hybrid_provider"
      ],
      "title": "RuntimeDeploymentModePublic",
      "description": "The subset of RuntimeDeploymentMode safe to advertise in the PUBLIC OpenAPI schema —\nexcludes RuntimeDeploymentMode's own internal-only development-loop member, a runtime-\nlifecycle implementation detail rather than a customer-facing deployment topology. Use\npublicize_runtime_deployment_mode() at every response boundary."
    },
    "RuntimeEvaluationDimension": {
      "type": "string",
      "enum": [
        "answer correctness",
        "tool-call correctness",
        "schema correctness",
        "retrieval precision and recall",
        "hallucination rate",
        "policy violation rate",
        "replay success rate",
        "decision outcome delta",
        "cost-quality frontier",
        "latency-quality frontier"
      ],
      "title": "RuntimeEvaluationDimension"
    },
    "RuntimeEvaluationMethod": {
      "type": "string",
      "enum": [
        "bootstrap confidence intervals",
        "paired model comparisons",
        "regression tests",
        "drift detection",
        "A/B experiments",
        "counterfactual replay",
        "Monte Carlo simulation",
        "sensitivity analysis"
      ],
      "title": "RuntimeEvaluationMethod"
    },
    "RuntimeExecutionStateField": {
      "type": "string",
      "enum": [
        "request",
        "tenant",
        "workspace",
        "policy_snapshot",
        "schema_snapshot",
        "runtime_manifest",
        "model_backend",
        "tool_manifest",
        "checkpoint_log",
        "event_log",
        "decision_state"
      ],
      "title": "RuntimeExecutionStateField"
    },
    "RuntimeExecutionValidityRule": {
      "type": "string",
      "enum": [
        "schema-valid",
        "policy-valid",
        "ordered",
        "replayable",
        "audit-visible"
      ],
      "title": "RuntimeExecutionValidityRule"
    },
    "RuntimeExternalNondeterminismSource": {
      "type": "string",
      "enum": [
        "provider responses",
        "MCP tool responses",
        "database snapshots",
        "clock time",
        "random seeds",
        "external API outputs"
      ],
      "title": "RuntimeExternalNondeterminismSource"
    },
    "RuntimeFailureCode": {
      "type": "string",
      "enum": [
        "provider_timeout",
        "runtime_compile_error",
        "mcp_tool_denied",
        "policy_denied",
        "schema_access_denied",
        "checkpoint_failed",
        "replay_mismatch",
        "external_dependency_unavailable",
        "backend_unavailable",
        "quota_exceeded",
        "approval_required",
        "kv_cache_exhausted",
        "artifact_load_failed",
        "memory_pressure_limit",
        "tenant_cache_violation",
        "checkpoint_state_overflow"
      ],
      "title": "RuntimeFailureCode"
    },
    "RuntimeFeatureFlagChannel": {
      "type": "string",
      "enum": [
        "http_api_feature_flag"
      ],
      "title": "RuntimeFeatureFlagChannel"
    },
    "RuntimeFeatureFlagEndpoint": {
      "type": "string",
      "enum": [
        "/v1/libraries",
        "/v1/libraries/health",
        "/v1/libraries/execute"
      ],
      "title": "RuntimeFeatureFlagEndpoint"
    },
    "RuntimeInvariantName": {
      "type": "string",
      "enum": [
        "Manifest Truth",
        "Replay Determinism",
        "Policy Monotonicity",
        "No Silent Fallback",
        "Audit Completeness",
        "Tenant Non-Interference"
      ],
      "title": "RuntimeInvariantName"
    },
    "RuntimeKernelPromotionStatus": {
      "type": "string",
      "enum": [
        "candidate",
        "shipping"
      ],
      "title": "RuntimeKernelPromotionStatus"
    },
    "RuntimeLayer": {
      "type": "string",
      "enum": [
        "mojo_llm_runtime_core",
        "python_compatibility_ring",
        "llm_api_provider_layer",
        "agent_runtime",
        "decision_runtime",
        "enterprise_control_plane"
      ],
      "title": "RuntimeLayer"
    },
    "RuntimeLineageNodeField": {
      "type": "string",
      "enum": [
        "node_id",
        "artifact_type",
        "content_hash",
        "parent_hashes",
        "tenant_scope",
        "workspace_scope",
        "timestamp",
        "manifest_version",
        "policy_snapshot_id",
        "schema_snapshot_id"
      ],
      "title": "RuntimeLineageNodeField"
    },
    "RuntimeMaturity": {
      "type": "string",
      "enum": [
        "experimental",
        "benchmarked",
        "parity_tested",
        "channel_covered",
        "enterprise_ready",
        "deprecated"
      ],
      "title": "RuntimeMaturity"
    },
    "RuntimeMemoryRegion": {
      "type": "string",
      "enum": [
        "model weights",
        "KV cache pages",
        "prompt token buffer",
        "generation buffer",
        "retrieval context buffer",
        "checkpoint state",
        "tool-call state",
        "tenant-local cache"
      ],
      "title": "RuntimeMemoryRegion"
    },
    "RuntimeMemoryRule": {
      "type": "string",
      "enum": [
        "KV pages are tenant-scoped.",
        "Evicted cache pages must be zeroed or isolation-proven before reuse.",
        "Checkpoint state must reference immutable artifact hashes.",
        "Model weights must be version-pinned.",
        "Memory pressure must emit typed failure and never degrade silently."
      ],
      "title": "RuntimeMemoryRule"
    },
    "RuntimeModuleId": {
      "type": "string",
      "enum": [
        "bpe_tokenizer",
        "text.tokenizer",
        "embeddings",
        "flash_attention",
        "sparse_attention",
        "transformer_attention",
        "transformer_blocks",
        "llm_sampling",
        "vector_similarity",
        "vector_search",
        "vector_kernels.ranker",
        "vector_kernels.table",
        "sparse_vector",
        "rlhf_dpo",
        "rerank_eval",
        "inference_cost_latency",
        "kv_cache",
        "paged_kv_cache",
        "continuous_batching",
        "inference_engine",
        "speculative_decoding",
        "generation_loop"
      ],
      "title": "RuntimeModuleId"
    },
    "RuntimeModuleManifestEntry": {
      "properties": {
        "name": {
          "$ref": "#/$defs/RuntimeModuleId"
        },
        "capability_id": {
          "type": "string",
          "title": "Capability Id"
        },
        "owner": {
          "type": "string",
          "title": "Owner"
        },
        "contract_boundary": {
          "type": "string",
          "title": "Contract Boundary"
        },
        "function_count": {
          "type": "integer",
          "title": "Function Count"
        },
        "functions": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Functions"
        },
        "layer": {
          "$ref": "#/$defs/RuntimeLayer"
        },
        "maturity": {
          "$ref": "#/$defs/RuntimeMaturity"
        },
        "public_supported_channels": {
          "items": {
            "$ref": "#/$defs/RuntimeSupportedChannel"
          },
          "type": "array",
          "title": "Public Supported Channels"
        },
        "validated_auxiliary_channels": {
          "items": {
            "$ref": "#/$defs/RuntimeAuxiliaryChannel"
          },
          "type": "array",
          "title": "Validated Auxiliary Channels"
        },
        "feature_flag_channels": {
          "items": {
            "$ref": "#/$defs/RuntimeFeatureFlagChannel"
          },
          "type": "array",
          "title": "Feature Flag Channels"
        },
        "proof_obligations": {
          "items": {
            "$ref": "#/$defs/RuntimeProofObligation"
          },
          "type": "array",
          "title": "Proof Obligations"
        },
        "proof_artifacts": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Proof Artifacts"
        },
        "promotion_status": {
          "$ref": "#/$defs/RuntimeKernelPromotionStatus"
        },
        "rollback_flag": {
          "type": "string",
          "title": "Rollback Flag"
        },
        "benchmark_report_ref": {
          "type": "string",
          "title": "Benchmark Report Ref"
        },
        "parity_report_ref": {
          "type": "string",
          "title": "Parity Report Ref"
        },
        "schema_compat_report_ref": {
          "type": "string",
          "title": "Schema Compat Report Ref"
        },
        "isolation_proof_ref": {
          "type": "string",
          "title": "Isolation Proof Ref"
        },
        "replay_proof_ref": {
          "type": "string",
          "title": "Replay Proof Ref"
        },
        "benchmark_artifact": {
          "type": "string",
          "title": "Benchmark Artifact"
        },
        "benchmark_speedup_x": {
          "type": "number",
          "title": "Benchmark Speedup X"
        },
        "compiled_artifact": {
          "type": "string",
          "title": "Compiled Artifact"
        },
        "compiled_engine": {
          "$ref": "#/$defs/RuntimeCompiledEngine"
        },
        "max_cold_ms": {
          "type": "number",
          "title": "Max Cold Ms"
        },
        "max_warm_ms": {
          "type": "number",
          "title": "Max Warm Ms"
        },
        "max_hot_ms": {
          "type": "number",
          "title": "Max Hot Ms"
        }
      },
      "type": "object",
      "required": [
        "name",
        "capability_id",
        "owner",
        "contract_boundary",
        "function_count",
        "layer",
        "maturity",
        "promotion_status",
        "rollback_flag",
        "benchmark_report_ref",
        "parity_report_ref",
        "schema_compat_report_ref",
        "isolation_proof_ref",
        "replay_proof_ref",
        "benchmark_artifact",
        "benchmark_speedup_x",
        "compiled_artifact",
        "compiled_engine",
        "max_cold_ms",
        "max_warm_ms",
        "max_hot_ms"
      ],
      "title": "RuntimeModuleManifestEntry"
    },
    "RuntimeNonShippingRule": {
      "type": "string",
      "enum": [
        "The broader Mojo inventory remains a benchmark and discovery lane only; modules are not advertised on the runtime surface unless listed in this manifest."
      ],
      "title": "RuntimeNonShippingRule"
    },
    "RuntimeNondeterminismArtifact": {
      "type": "string",
      "enum": [
        "provider response record",
        "tool or MCP response record",
        "data snapshot reference or query result hash",
        "clock snapshot",
        "seed record",
        "backend or version identifier"
      ],
      "title": "RuntimeNondeterminismArtifact"
    },
    "RuntimeProofObligation": {
      "type": "string",
      "enum": [
        "numerical parity",
        "deterministic kernels",
        "latency and memory bounds",
        "channel proof",
        "manifest listing",
        "API equivalence",
        "behavioral equivalence against Python reference",
        "OpenAI-compatible schema parity",
        "streaming semantics parity",
        "typed failure parity",
        "event ordering",
        "checkpoint correctness",
        "cancellation safety",
        "replay safety",
        "evidence completeness",
        "simulation traceability",
        "approval correctness",
        "tenant isolation",
        "policy enforcement",
        "metering correctness"
      ],
      "title": "RuntimeProofObligation"
    },
    "RuntimePublicEndpoint": {
      "type": "string",
      "enum": [
        "/v1/meta/contract",
        "/v1/runtime/manifest"
      ],
      "title": "RuntimePublicEndpoint"
    },
    "RuntimeReleaseArtifact": {
      "type": "string",
      "enum": [
        "signed runtime manifest",
        "module maturity table",
        "benchmark report",
        "parity report",
        "replay report",
        "security report",
        "compatibility report",
        "migration notes",
        "known limitations"
      ],
      "title": "RuntimeReleaseArtifact"
    },
    "RuntimeReleaseBlocker": {
      "type": "string",
      "enum": [
        "replay success regression",
        "policy violation increase",
        "p95 budget violation",
        "RAG precision drop",
        "tool-call error-rate increase",
        "decision-plan validity drop"
      ],
      "title": "RuntimeReleaseBlocker"
    },
    "RuntimeReleaseGateId": {
      "type": "string",
      "enum": [
        "A",
        "B",
        "C",
        "D",
        "E",
        "F",
        "G"
      ],
      "title": "RuntimeReleaseGateId"
    },
    "RuntimeSLOBudgetAppliesTo": {
      "type": "string",
      "enum": [
        "first-party runtime manifest route",
        "first-party native LLM serving path",
        "agent runtime checkpoint persistence",
        "first-party or internal MCP tools",
        "decision runtime plan generation",
        "runs up to 1000 events"
      ],
      "title": "RuntimeSLOBudgetAppliesTo"
    },
    "RuntimeSLOBudgetName": {
      "type": "string",
      "enum": [
        "runtime_manifest_load",
        "ttft",
        "end_to_end_turn",
        "agent_checkpoint_commit",
        "mcp_call_first_party",
        "decision_plan_creation",
        "replay"
      ],
      "title": "RuntimeSLOBudgetName"
    },
    "RuntimeSchedulerInvariant": {
      "type": "string",
      "enum": [
        "No request starves indefinitely.",
        "High-priority requests cannot violate tenant quota.",
        "Batching may not cross isolation boundaries when policy forbids it.",
        "Speculative decoding may not emit unverified tokens."
      ],
      "title": "RuntimeSchedulerInvariant"
    },
    "RuntimeSchedulerMaximizeObjective": {
      "type": "string",
      "enum": [
        "GPU or CPU utilization",
        "KV cache reuse",
        "batching efficiency",
        "token throughput",
        "fairness"
      ],
      "title": "RuntimeSchedulerMaximizeObjective"
    },
    "RuntimeSchedulerMinimizeObjective": {
      "type": "string",
      "enum": [
        "tail latency",
        "memory waste",
        "context-switch overhead",
        "provider cost",
        "starvation"
      ],
      "title": "RuntimeSchedulerMinimizeObjective"
    },
    "RuntimeSchedulerPolicy": {
      "type": "string",
      "enum": [
        "FIFO",
        "priority_queue",
        "deadline_aware",
        "cost_aware",
        "tenant_fair",
        "kv_cache_aware",
        "batching_aware",
        "speculative_decoding_aware",
        "policy_constrained"
      ],
      "title": "RuntimeSchedulerPolicy"
    },
    "RuntimeSignatureAlgorithm": {
      "type": "string",
      "enum": [
        "hmac-sha256"
      ],
      "title": "RuntimeSignatureAlgorithm"
    },
    "RuntimeSignatureScope": {
      "type": "string",
      "enum": [
        "control_plane_hmac_v1"
      ],
      "title": "RuntimeSignatureScope"
    },
    "RuntimeSupportedChannel": {
      "type": "string",
      "enum": [
        "python_sdk",
        "typescript_sdk",
        "cli",
        "mcp"
      ],
      "title": "RuntimeSupportedChannel"
    },
    "RuntimeThreatClass": {
      "type": "string",
      "enum": [
        "prompt injection",
        "tool injection",
        "MCP abuse",
        "data exfiltration",
        "cross-tenant leakage",
        "provider fallback leakage",
        "secret exposure",
        "replay tampering",
        "audit log mutation",
        "model artifact poisoning",
        "dependency supply-chain attack",
        "billing abuse",
        "quota bypass"
      ],
      "title": "RuntimeThreatClass"
    },
    "RuntimeThreatControl": {
      "type": "string",
      "enum": [
        "tool allowlists",
        "argument validation",
        "result sanitization",
        "egress policy",
        "signed manifests",
        "signed artifacts",
        "immutable audit logs",
        "policy snapshots",
        "secret scoping",
        "tenant-scoped cache",
        "SBOM",
        "dependency pinning",
        "runtime attestation"
      ],
      "title": "RuntimeThreatControl"
    },
    "RuntimeThreatRule": {
      "type": "string",
      "enum": [
        "MCP tools are untrusted by default."
      ],
      "title": "RuntimeThreatRule"
    },
    "SLOBudget": {
      "properties": {
        "name": {
          "$ref": "#/$defs/RuntimeSLOBudgetName"
        },
        "applies_to": {
          "$ref": "#/$defs/RuntimeSLOBudgetAppliesTo"
        },
        "p95_objective_ms": {
          "type": "number",
          "title": "P95 Objective Ms"
        },
        "hard_ceiling_ms": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Hard Ceiling Ms"
        },
        "notes": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Notes"
        }
      },
      "type": "object",
      "required": [
        "name",
        "applies_to",
        "p95_objective_ms"
      ],
      "title": "SLOBudget"
    },
    "SchedulerModel": {
      "properties": {
        "policies": {
          "items": {
            "$ref": "#/$defs/RuntimeSchedulerPolicy"
          },
          "type": "array",
          "title": "Policies"
        },
        "minimize": {
          "items": {
            "$ref": "#/$defs/RuntimeSchedulerMinimizeObjective"
          },
          "type": "array",
          "title": "Minimize"
        },
        "maximize": {
          "items": {
            "$ref": "#/$defs/RuntimeSchedulerMaximizeObjective"
          },
          "type": "array",
          "title": "Maximize"
        },
        "invariants": {
          "items": {
            "$ref": "#/$defs/RuntimeSchedulerInvariant"
          },
          "type": "array",
          "title": "Invariants"
        }
      },
      "type": "object",
      "title": "SchedulerModel"
    },
    "ShippingContractSummary": {
      "properties": {
        "module_count": {
          "type": "integer",
          "title": "Module Count"
        },
        "function_count": {
          "type": "integer",
          "title": "Function Count"
        },
        "runtime_core_layer": {
          "$ref": "#/$defs/RuntimeLayer"
        },
        "benchmark_discovery_rule": {
          "$ref": "#/$defs/RuntimeBenchmarkDiscoveryRule"
        }
      },
      "type": "object",
      "required": [
        "module_count",
        "function_count",
        "runtime_core_layer",
        "benchmark_discovery_rule"
      ],
      "title": "ShippingContractSummary"
    },
    "SideEffectClass": {
      "type": "string",
      "enum": [
        "read_only",
        "write_scoped",
        "write_external",
        "exec_external",
        "network_external"
      ],
      "title": "SideEffectClass"
    },
    "SnapshotReference": {
      "properties": {
        "snapshot_id": {
          "type": "string",
          "title": "Snapshot Id"
        },
        "sha256": {
          "type": "string",
          "title": "Sha256"
        },
        "source": {
          "type": "string",
          "title": "Source"
        },
        "description": {
          "type": "string",
          "title": "Description"
        }
      },
      "type": "object",
      "required": [
        "snapshot_id",
        "sha256",
        "source",
        "description"
      ],
      "title": "SnapshotReference"
    },
    "ThreatModel": {
      "properties": {
        "threat_classes": {
          "items": {
            "$ref": "#/$defs/RuntimeThreatClass"
          },
          "type": "array",
          "title": "Threat Classes"
        },
        "controls": {
          "items": {
            "$ref": "#/$defs/RuntimeThreatControl"
          },
          "type": "array",
          "title": "Controls"
        },
        "non_negotiable_rules": {
          "items": {
            "$ref": "#/$defs/RuntimeThreatRule"
          },
          "type": "array",
          "title": "Non Negotiable Rules"
        }
      },
      "type": "object",
      "title": "ThreatModel"
    },
    "TypedFailure": {
      "properties": {
        "code": {
          "$ref": "#/$defs/RuntimeFailureCode"
        },
        "description": {
          "type": "string",
          "title": "Description"
        }
      },
      "type": "object",
      "required": [
        "code",
        "description"
      ],
      "title": "TypedFailure"
    }
  }
}