feat: add GEWU installer and service contracts
This commit is contained in:
1 parent
254edac2c5
commit
6c9653866c
36 files changed
+8953
-70
No files matched your search
@@ -0,0 +1,670 @@
|
||||
{
|
||||
"$defs": {
|
||||
"Finding": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"code": {
|
||||
"maxLength": 128,
|
||||
"minLength": 1,
|
||||
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$",
|
||||
"title": "Code",
|
||||
"type": "string"
|
||||
},
|
||||
"message": {
|
||||
"maxLength": 1000,
|
||||
"minLength": 1,
|
||||
"title": "Message",
|
||||
"type": "string"
|
||||
},
|
||||
"path": {
|
||||
"anyOf": [
|
||||
{
|
||||
"maxLength": 256,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"default": null,
|
||||
"title": "Path"
|
||||
},
|
||||
"schema_version": {
|
||||
"const": 1,
|
||||
"default": 1,
|
||||
"title": "Schema Version",
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"code",
|
||||
"message"
|
||||
],
|
||||
"title": "Finding",
|
||||
"type": "object"
|
||||
},
|
||||
"ProposalReceipt": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"accepted_node_ids": {
|
||||
"default": [],
|
||||
"items": {
|
||||
"maxLength": 128,
|
||||
"minLength": 1,
|
||||
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$",
|
||||
"type": "string"
|
||||
},
|
||||
"title": "Accepted Node Ids",
|
||||
"type": "array"
|
||||
},
|
||||
"commit_id": {
|
||||
"anyOf": [
|
||||
{
|
||||
"pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"default": null,
|
||||
"title": "Commit Id"
|
||||
},
|
||||
"decided_at": {
|
||||
"anyOf": [
|
||||
{
|
||||
"format": "date-time",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"default": null,
|
||||
"title": "Decided At"
|
||||
},
|
||||
"findings": {
|
||||
"default": [],
|
||||
"items": {
|
||||
"$ref": "#/$defs/Finding"
|
||||
},
|
||||
"title": "Findings",
|
||||
"type": "array"
|
||||
},
|
||||
"outcome": {
|
||||
"enum": [
|
||||
"accepted",
|
||||
"held",
|
||||
"rejected",
|
||||
"validation-failed"
|
||||
],
|
||||
"title": "Outcome",
|
||||
"type": "string"
|
||||
},
|
||||
"payload_digest": {
|
||||
"pattern": "^[a-f0-9]{64}$",
|
||||
"title": "Payload Digest",
|
||||
"type": "string"
|
||||
},
|
||||
"proposal_id": {
|
||||
"maxLength": 128,
|
||||
"minLength": 1,
|
||||
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$",
|
||||
"title": "Proposal Id",
|
||||
"type": "string"
|
||||
},
|
||||
"revision": {
|
||||
"minimum": 1,
|
||||
"title": "Revision",
|
||||
"type": "integer"
|
||||
},
|
||||
"schema_version": {
|
||||
"const": 1,
|
||||
"default": 1,
|
||||
"title": "Schema Version",
|
||||
"type": "integer"
|
||||
},
|
||||
"state": {
|
||||
"$ref": "#/$defs/ProposalState"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"proposal_id",
|
||||
"revision",
|
||||
"payload_digest",
|
||||
"state",
|
||||
"outcome"
|
||||
],
|
||||
"title": "ProposalReceipt",
|
||||
"type": "object"
|
||||
},
|
||||
"ProposalState": {
|
||||
"enum": [
|
||||
"staged",
|
||||
"validating",
|
||||
"needs-review",
|
||||
"accepted",
|
||||
"rejected",
|
||||
"withdrawn"
|
||||
],
|
||||
"title": "ProposalState",
|
||||
"type": "string"
|
||||
},
|
||||
"RunCoverage": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"excluded": {
|
||||
"default": [],
|
||||
"items": {
|
||||
"$ref": "#/$defs/RunCoverageItem"
|
||||
},
|
||||
"maxItems": 10000,
|
||||
"title": "Excluded",
|
||||
"type": "array"
|
||||
},
|
||||
"included": {
|
||||
"default": [],
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"maxItems": 10000,
|
||||
"title": "Included",
|
||||
"type": "array"
|
||||
},
|
||||
"schema_version": {
|
||||
"const": 1,
|
||||
"default": 1,
|
||||
"title": "Schema Version",
|
||||
"type": "integer"
|
||||
},
|
||||
"selected": {
|
||||
"default": [],
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"maxItems": 10000,
|
||||
"title": "Selected",
|
||||
"type": "array"
|
||||
},
|
||||
"skipped": {
|
||||
"default": [],
|
||||
"items": {
|
||||
"$ref": "#/$defs/RunCoverageItem"
|
||||
},
|
||||
"maxItems": 10000,
|
||||
"title": "Skipped",
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"title": "RunCoverage",
|
||||
"type": "object"
|
||||
},
|
||||
"RunCoverageItem": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"item": {
|
||||
"maxLength": 500,
|
||||
"minLength": 1,
|
||||
"title": "Item",
|
||||
"type": "string"
|
||||
},
|
||||
"reason": {
|
||||
"maxLength": 1000,
|
||||
"minLength": 1,
|
||||
"title": "Reason",
|
||||
"type": "string"
|
||||
},
|
||||
"schema_version": {
|
||||
"const": 1,
|
||||
"default": 1,
|
||||
"title": "Schema Version",
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"item",
|
||||
"reason"
|
||||
],
|
||||
"title": "RunCoverageItem",
|
||||
"type": "object"
|
||||
},
|
||||
"RunModulePin": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"implementation_version": {
|
||||
"maxLength": 64,
|
||||
"minLength": 1,
|
||||
"title": "Implementation Version",
|
||||
"type": "string"
|
||||
},
|
||||
"module_id": {
|
||||
"maxLength": 128,
|
||||
"minLength": 1,
|
||||
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$",
|
||||
"title": "Module Id",
|
||||
"type": "string"
|
||||
},
|
||||
"schema_version": {
|
||||
"const": 1,
|
||||
"default": 1,
|
||||
"title": "Schema Version",
|
||||
"type": "integer"
|
||||
},
|
||||
"sha256": {
|
||||
"pattern": "^[a-f0-9]{64}$",
|
||||
"title": "Sha256",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"module_id",
|
||||
"implementation_version",
|
||||
"sha256"
|
||||
],
|
||||
"title": "RunModulePin",
|
||||
"type": "object"
|
||||
},
|
||||
"RunOperationReference": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"input_sha256": {
|
||||
"pattern": "^[a-f0-9]{64}$",
|
||||
"title": "Input Sha256",
|
||||
"type": "string"
|
||||
},
|
||||
"operation_id": {
|
||||
"maxLength": 128,
|
||||
"minLength": 1,
|
||||
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$",
|
||||
"title": "Operation Id",
|
||||
"type": "string"
|
||||
},
|
||||
"schema_version": {
|
||||
"const": 1,
|
||||
"default": 1,
|
||||
"title": "Schema Version",
|
||||
"type": "integer"
|
||||
},
|
||||
"status": {
|
||||
"enum": [
|
||||
"pending",
|
||||
"uncertain",
|
||||
"complete",
|
||||
"failed"
|
||||
],
|
||||
"title": "Status",
|
||||
"type": "string"
|
||||
},
|
||||
"tool_name": {
|
||||
"maxLength": 128,
|
||||
"minLength": 1,
|
||||
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$",
|
||||
"title": "Tool Name",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"operation_id",
|
||||
"tool_name",
|
||||
"input_sha256",
|
||||
"status"
|
||||
],
|
||||
"title": "RunOperationReference",
|
||||
"type": "object"
|
||||
},
|
||||
"RunProposalReference": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"proposal_id": {
|
||||
"maxLength": 128,
|
||||
"minLength": 1,
|
||||
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$",
|
||||
"title": "Proposal Id",
|
||||
"type": "string"
|
||||
},
|
||||
"receipt": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/$defs/ProposalReceipt"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"default": null
|
||||
},
|
||||
"revision": {
|
||||
"minimum": 1,
|
||||
"title": "Revision",
|
||||
"type": "integer"
|
||||
},
|
||||
"schema_version": {
|
||||
"const": 1,
|
||||
"default": 1,
|
||||
"title": "Schema Version",
|
||||
"type": "integer"
|
||||
},
|
||||
"status": {
|
||||
"enum": [
|
||||
"staged",
|
||||
"evaluated",
|
||||
"eligible",
|
||||
"needs-review",
|
||||
"invalid",
|
||||
"conflict",
|
||||
"publishing",
|
||||
"accepted",
|
||||
"rejected",
|
||||
"withdrawn",
|
||||
"uncertain"
|
||||
],
|
||||
"title": "Status",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"proposal_id",
|
||||
"revision",
|
||||
"status"
|
||||
],
|
||||
"title": "RunProposalReference",
|
||||
"type": "object"
|
||||
},
|
||||
"RunSourceReference": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"artifact_sha256": {
|
||||
"anyOf": [
|
||||
{
|
||||
"pattern": "^[a-f0-9]{64}$",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"default": null,
|
||||
"title": "Artifact Sha256"
|
||||
},
|
||||
"extraction_id": {
|
||||
"anyOf": [
|
||||
{
|
||||
"pattern": "^[a-f0-9]{64}$",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"default": null,
|
||||
"title": "Extraction Id"
|
||||
},
|
||||
"schema_version": {
|
||||
"const": 1,
|
||||
"default": 1,
|
||||
"title": "Schema Version",
|
||||
"type": "integer"
|
||||
},
|
||||
"source_revision_id": {
|
||||
"maxLength": 128,
|
||||
"minLength": 1,
|
||||
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$",
|
||||
"title": "Source Revision Id",
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"enum": [
|
||||
"selected",
|
||||
"captured",
|
||||
"extracted",
|
||||
"unavailable",
|
||||
"failed"
|
||||
],
|
||||
"title": "Status",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"source_revision_id",
|
||||
"status"
|
||||
],
|
||||
"title": "RunSourceReference",
|
||||
"type": "object"
|
||||
},
|
||||
"RunState": {
|
||||
"enum": [
|
||||
"active",
|
||||
"completed",
|
||||
"blocked"
|
||||
],
|
||||
"title": "RunState",
|
||||
"type": "string"
|
||||
},
|
||||
"Scope": {
|
||||
"additionalProperties": false,
|
||||
"description": "Project context plus optional project includes; all-project access is deliberate.",
|
||||
"properties": {
|
||||
"all_projects": {
|
||||
"default": false,
|
||||
"title": "All Projects",
|
||||
"type": "boolean"
|
||||
},
|
||||
"include_projects": {
|
||||
"anyOf": [
|
||||
{
|
||||
"items": {
|
||||
"maxLength": 128,
|
||||
"minLength": 1,
|
||||
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$",
|
||||
"type": "string"
|
||||
},
|
||||
"maxItems": 50,
|
||||
"type": "array"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"default": null,
|
||||
"title": "Include Projects"
|
||||
},
|
||||
"include_shared": {
|
||||
"default": true,
|
||||
"title": "Include Shared",
|
||||
"type": "boolean"
|
||||
},
|
||||
"projects": {
|
||||
"items": {
|
||||
"maxLength": 128,
|
||||
"minLength": 1,
|
||||
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$",
|
||||
"type": "string"
|
||||
},
|
||||
"maxItems": 50,
|
||||
"minItems": 1,
|
||||
"title": "Projects",
|
||||
"type": "array"
|
||||
},
|
||||
"schema_version": {
|
||||
"const": 1,
|
||||
"default": 1,
|
||||
"title": "Schema Version",
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"projects"
|
||||
],
|
||||
"title": "Scope",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"budgets": {
|
||||
"maxProperties": 100,
|
||||
"patternProperties": {
|
||||
"^[a-zA-Z0-9][a-zA-Z0-9._:-]*$": {
|
||||
"minimum": 0,
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"propertyNames": {
|
||||
"maxLength": 128,
|
||||
"minLength": 1
|
||||
},
|
||||
"title": "Budgets",
|
||||
"type": "object"
|
||||
},
|
||||
"checkpoint_digest": {
|
||||
"anyOf": [
|
||||
{
|
||||
"pattern": "^[a-f0-9]{64}$",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"default": null,
|
||||
"title": "Checkpoint Digest"
|
||||
},
|
||||
"coverage": {
|
||||
"$ref": "#/$defs/RunCoverage"
|
||||
},
|
||||
"created_at": {
|
||||
"format": "date-time",
|
||||
"title": "Created At",
|
||||
"type": "string"
|
||||
},
|
||||
"lens": {
|
||||
"maxLength": 2000,
|
||||
"minLength": 1,
|
||||
"title": "Lens",
|
||||
"type": "string"
|
||||
},
|
||||
"module_pins": {
|
||||
"items": {
|
||||
"$ref": "#/$defs/RunModulePin"
|
||||
},
|
||||
"maxItems": 100,
|
||||
"minItems": 1,
|
||||
"title": "Module Pins",
|
||||
"type": "array"
|
||||
},
|
||||
"objective": {
|
||||
"maxLength": 4000,
|
||||
"minLength": 1,
|
||||
"title": "Objective",
|
||||
"type": "string"
|
||||
},
|
||||
"output_hashes": {
|
||||
"default": [],
|
||||
"items": {
|
||||
"pattern": "^[a-f0-9]{64}$",
|
||||
"type": "string"
|
||||
},
|
||||
"maxItems": 1000,
|
||||
"title": "Output Hashes",
|
||||
"type": "array"
|
||||
},
|
||||
"pack_id": {
|
||||
"maxLength": 128,
|
||||
"minLength": 1,
|
||||
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$",
|
||||
"title": "Pack Id",
|
||||
"type": "string"
|
||||
},
|
||||
"pack_snapshot_digest": {
|
||||
"pattern": "^[a-f0-9]{64}$",
|
||||
"title": "Pack Snapshot Digest",
|
||||
"type": "string"
|
||||
},
|
||||
"pack_version": {
|
||||
"maxLength": 64,
|
||||
"minLength": 1,
|
||||
"title": "Pack Version",
|
||||
"type": "string"
|
||||
},
|
||||
"pending_operations": {
|
||||
"default": [],
|
||||
"items": {
|
||||
"$ref": "#/$defs/RunOperationReference"
|
||||
},
|
||||
"maxItems": 1000,
|
||||
"title": "Pending Operations",
|
||||
"type": "array"
|
||||
},
|
||||
"proposals": {
|
||||
"default": [],
|
||||
"items": {
|
||||
"$ref": "#/$defs/RunProposalReference"
|
||||
},
|
||||
"maxItems": 1000,
|
||||
"title": "Proposals",
|
||||
"type": "array"
|
||||
},
|
||||
"revision": {
|
||||
"minimum": 0,
|
||||
"title": "Revision",
|
||||
"type": "integer"
|
||||
},
|
||||
"run_id": {
|
||||
"maxLength": 128,
|
||||
"minLength": 1,
|
||||
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$",
|
||||
"title": "Run Id",
|
||||
"type": "string"
|
||||
},
|
||||
"schema_version": {
|
||||
"const": 1,
|
||||
"default": 1,
|
||||
"title": "Schema Version",
|
||||
"type": "integer"
|
||||
},
|
||||
"scope": {
|
||||
"$ref": "#/$defs/Scope"
|
||||
},
|
||||
"sources": {
|
||||
"default": [],
|
||||
"items": {
|
||||
"$ref": "#/$defs/RunSourceReference"
|
||||
},
|
||||
"maxItems": 500,
|
||||
"title": "Sources",
|
||||
"type": "array"
|
||||
},
|
||||
"stage": {
|
||||
"maxLength": 128,
|
||||
"minLength": 1,
|
||||
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$",
|
||||
"title": "Stage",
|
||||
"type": "string"
|
||||
},
|
||||
"state": {
|
||||
"$ref": "#/$defs/RunState"
|
||||
},
|
||||
"updated_at": {
|
||||
"format": "date-time",
|
||||
"title": "Updated At",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"run_id",
|
||||
"revision",
|
||||
"state",
|
||||
"objective",
|
||||
"scope",
|
||||
"lens",
|
||||
"pack_id",
|
||||
"pack_version",
|
||||
"pack_snapshot_digest",
|
||||
"module_pins",
|
||||
"stage",
|
||||
"created_at",
|
||||
"updated_at"
|
||||
],
|
||||
"title": "RunRecord",
|
||||
"type": "object"
|
||||
}
|
||||
Reference in new issue
Block a user