d48cda4081
CI / Test (ubuntu-latest, Node 18.x, bun) (push) Failing after 15m1s
CI / Test (ubuntu-latest, Node 18.x, npm) (push) Failing after 15m1s
CI / Test (ubuntu-latest, Node 18.x, pnpm) (push) Failing after 15m1s
CI / Test (ubuntu-latest, Node 18.x, yarn) (push) Failing after 15m1s
CI / Test (ubuntu-latest, Node 20.x, bun) (push) Failing after 17m13s
CI / Test (ubuntu-latest, Node 20.x, npm) (push) Failing after 18m42s
CI / Test (ubuntu-latest, Node 20.x, pnpm) (push) Failing after 15m0s
CI / Test (ubuntu-latest, Node 20.x, yarn) (push) Failing after 49m44s
CI / Test (ubuntu-latest, Node 22.x, bun) (push) Failing after 51m55s
CI / Test (ubuntu-latest, Node 22.x, pnpm) (push) Failing after 21m57s
CI / Test (ubuntu-latest, Node 22.x, npm) (push) Failing after 37m39s
CI / Test (ubuntu-latest, Node 22.x, yarn) (push) Failing after 34m7s
CI / Validate Components (push) Failing after 37m15s
CI / Python Tests (push) Failing after 10m1s
CI / Security Scan (push) Failing after 10m1s
CI / Lint (push) Failing after 17m12s
CI / Coverage (push) Failing after 20m19s
CI / Test (macos-latest, Node 18.x, bun) (push) Has been cancelled
CI / Test (macos-latest, Node 18.x, npm) (push) Has been cancelled
CI / Test (macos-latest, Node 18.x, pnpm) (push) Has been cancelled
CI / Test (macos-latest, Node 18.x, yarn) (push) Has been cancelled
CI / Test (windows-latest, Node 18.x, npm) (push) Has been cancelled
CI / Test (windows-latest, Node 18.x, pnpm) (push) Has been cancelled
CI / Test (windows-latest, Node 18.x, yarn) (push) Has been cancelled
CI / Test (macos-latest, Node 20.x, bun) (push) Has been cancelled
CI / Test (macos-latest, Node 20.x, npm) (push) Has been cancelled
CI / Test (macos-latest, Node 20.x, pnpm) (push) Has been cancelled
CI / Test (macos-latest, Node 20.x, yarn) (push) Has been cancelled
CI / Test (windows-latest, Node 20.x, npm) (push) Has been cancelled
CI / Test (windows-latest, Node 20.x, pnpm) (push) Has been cancelled
CI / Test (windows-latest, Node 20.x, yarn) (push) Has been cancelled
CI / Test (macos-latest, Node 22.x, bun) (push) Has been cancelled
CI / Test (macos-latest, Node 22.x, npm) (push) Has been cancelled
CI / Test (macos-latest, Node 22.x, pnpm) (push) Has been cancelled
CI / Test (macos-latest, Node 22.x, yarn) (push) Has been cancelled
CI / Test (windows-latest, Node 22.x, npm) (push) Has been cancelled
CI / Test (windows-latest, Node 22.x, pnpm) (push) Has been cancelled
CI / Test (windows-latest, Node 22.x, yarn) (push) Has been cancelled
383 lines
8.1 KiB
JSON
383 lines
8.1 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "ecc.state-store.v1",
|
|
"title": "ECC State Store Schema",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"sessions": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/session"
|
|
}
|
|
},
|
|
"skillRuns": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/skillRun"
|
|
}
|
|
},
|
|
"skillVersions": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/skillVersion"
|
|
}
|
|
},
|
|
"decisions": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/decision"
|
|
}
|
|
},
|
|
"installState": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/installState"
|
|
}
|
|
},
|
|
"governanceEvents": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/governanceEvent"
|
|
}
|
|
},
|
|
"workItems": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/workItem"
|
|
}
|
|
}
|
|
},
|
|
"$defs": {
|
|
"nonEmptyString": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"nullableString": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"nullableInteger": {
|
|
"type": [
|
|
"integer",
|
|
"null"
|
|
],
|
|
"minimum": 0
|
|
},
|
|
"jsonValue": {
|
|
"type": [
|
|
"object",
|
|
"array",
|
|
"string",
|
|
"number",
|
|
"boolean",
|
|
"null"
|
|
]
|
|
},
|
|
"jsonArray": {
|
|
"type": "array"
|
|
},
|
|
"session": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"id",
|
|
"adapterId",
|
|
"harness",
|
|
"state",
|
|
"repoRoot",
|
|
"startedAt",
|
|
"endedAt",
|
|
"snapshot"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/$defs/nonEmptyString"
|
|
},
|
|
"adapterId": {
|
|
"$ref": "#/$defs/nonEmptyString"
|
|
},
|
|
"harness": {
|
|
"$ref": "#/$defs/nonEmptyString"
|
|
},
|
|
"state": {
|
|
"$ref": "#/$defs/nonEmptyString"
|
|
},
|
|
"repoRoot": {
|
|
"$ref": "#/$defs/nullableString"
|
|
},
|
|
"startedAt": {
|
|
"$ref": "#/$defs/nullableString"
|
|
},
|
|
"endedAt": {
|
|
"$ref": "#/$defs/nullableString"
|
|
},
|
|
"snapshot": {
|
|
"type": [
|
|
"object",
|
|
"array"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"skillRun": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"id",
|
|
"skillId",
|
|
"skillVersion",
|
|
"sessionId",
|
|
"taskDescription",
|
|
"outcome",
|
|
"failureReason",
|
|
"tokensUsed",
|
|
"durationMs",
|
|
"userFeedback",
|
|
"createdAt"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/$defs/nonEmptyString"
|
|
},
|
|
"skillId": {
|
|
"$ref": "#/$defs/nonEmptyString"
|
|
},
|
|
"skillVersion": {
|
|
"$ref": "#/$defs/nonEmptyString"
|
|
},
|
|
"sessionId": {
|
|
"$ref": "#/$defs/nonEmptyString"
|
|
},
|
|
"taskDescription": {
|
|
"$ref": "#/$defs/nonEmptyString"
|
|
},
|
|
"outcome": {
|
|
"$ref": "#/$defs/nonEmptyString"
|
|
},
|
|
"failureReason": {
|
|
"$ref": "#/$defs/nullableString"
|
|
},
|
|
"tokensUsed": {
|
|
"$ref": "#/$defs/nullableInteger"
|
|
},
|
|
"durationMs": {
|
|
"$ref": "#/$defs/nullableInteger"
|
|
},
|
|
"userFeedback": {
|
|
"$ref": "#/$defs/nullableString"
|
|
},
|
|
"createdAt": {
|
|
"$ref": "#/$defs/nonEmptyString"
|
|
}
|
|
}
|
|
},
|
|
"skillVersion": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"skillId",
|
|
"version",
|
|
"contentHash",
|
|
"amendmentReason",
|
|
"promotedAt",
|
|
"rolledBackAt"
|
|
],
|
|
"properties": {
|
|
"skillId": {
|
|
"$ref": "#/$defs/nonEmptyString"
|
|
},
|
|
"version": {
|
|
"$ref": "#/$defs/nonEmptyString"
|
|
},
|
|
"contentHash": {
|
|
"$ref": "#/$defs/nonEmptyString"
|
|
},
|
|
"amendmentReason": {
|
|
"$ref": "#/$defs/nullableString"
|
|
},
|
|
"promotedAt": {
|
|
"$ref": "#/$defs/nullableString"
|
|
},
|
|
"rolledBackAt": {
|
|
"$ref": "#/$defs/nullableString"
|
|
}
|
|
}
|
|
},
|
|
"decision": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"id",
|
|
"sessionId",
|
|
"title",
|
|
"rationale",
|
|
"alternatives",
|
|
"supersedes",
|
|
"status",
|
|
"createdAt"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/$defs/nonEmptyString"
|
|
},
|
|
"sessionId": {
|
|
"$ref": "#/$defs/nonEmptyString"
|
|
},
|
|
"title": {
|
|
"$ref": "#/$defs/nonEmptyString"
|
|
},
|
|
"rationale": {
|
|
"$ref": "#/$defs/nonEmptyString"
|
|
},
|
|
"alternatives": {
|
|
"$ref": "#/$defs/jsonArray"
|
|
},
|
|
"supersedes": {
|
|
"$ref": "#/$defs/nullableString"
|
|
},
|
|
"status": {
|
|
"$ref": "#/$defs/nonEmptyString"
|
|
},
|
|
"createdAt": {
|
|
"$ref": "#/$defs/nonEmptyString"
|
|
}
|
|
}
|
|
},
|
|
"installState": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"targetId",
|
|
"targetRoot",
|
|
"profile",
|
|
"modules",
|
|
"operations",
|
|
"installedAt",
|
|
"sourceVersion"
|
|
],
|
|
"properties": {
|
|
"targetId": {
|
|
"$ref": "#/$defs/nonEmptyString"
|
|
},
|
|
"targetRoot": {
|
|
"$ref": "#/$defs/nonEmptyString"
|
|
},
|
|
"profile": {
|
|
"$ref": "#/$defs/nullableString"
|
|
},
|
|
"modules": {
|
|
"$ref": "#/$defs/jsonArray"
|
|
},
|
|
"operations": {
|
|
"$ref": "#/$defs/jsonArray"
|
|
},
|
|
"installedAt": {
|
|
"$ref": "#/$defs/nonEmptyString"
|
|
},
|
|
"sourceVersion": {
|
|
"$ref": "#/$defs/nullableString"
|
|
}
|
|
}
|
|
},
|
|
"governanceEvent": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"id",
|
|
"sessionId",
|
|
"eventType",
|
|
"payload",
|
|
"resolvedAt",
|
|
"resolution",
|
|
"createdAt"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/$defs/nonEmptyString"
|
|
},
|
|
"sessionId": {
|
|
"$ref": "#/$defs/nullableString"
|
|
},
|
|
"eventType": {
|
|
"$ref": "#/$defs/nonEmptyString"
|
|
},
|
|
"payload": {
|
|
"$ref": "#/$defs/jsonValue"
|
|
},
|
|
"resolvedAt": {
|
|
"$ref": "#/$defs/nullableString"
|
|
},
|
|
"resolution": {
|
|
"$ref": "#/$defs/nullableString"
|
|
},
|
|
"createdAt": {
|
|
"$ref": "#/$defs/nonEmptyString"
|
|
}
|
|
}
|
|
},
|
|
"workItem": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"id",
|
|
"source",
|
|
"sourceId",
|
|
"title",
|
|
"status",
|
|
"priority",
|
|
"url",
|
|
"owner",
|
|
"repoRoot",
|
|
"sessionId",
|
|
"metadata",
|
|
"createdAt",
|
|
"updatedAt"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "#/$defs/nonEmptyString"
|
|
},
|
|
"source": {
|
|
"$ref": "#/$defs/nonEmptyString"
|
|
},
|
|
"sourceId": {
|
|
"$ref": "#/$defs/nullableString"
|
|
},
|
|
"title": {
|
|
"$ref": "#/$defs/nonEmptyString"
|
|
},
|
|
"status": {
|
|
"$ref": "#/$defs/nonEmptyString"
|
|
},
|
|
"priority": {
|
|
"$ref": "#/$defs/nullableString"
|
|
},
|
|
"url": {
|
|
"$ref": "#/$defs/nullableString"
|
|
},
|
|
"owner": {
|
|
"$ref": "#/$defs/nullableString"
|
|
},
|
|
"repoRoot": {
|
|
"$ref": "#/$defs/nullableString"
|
|
},
|
|
"sessionId": {
|
|
"$ref": "#/$defs/nullableString"
|
|
},
|
|
"metadata": {
|
|
"$ref": "#/$defs/jsonValue"
|
|
},
|
|
"createdAt": {
|
|
"$ref": "#/$defs/nonEmptyString"
|
|
},
|
|
"updatedAt": {
|
|
"$ref": "#/$defs/nonEmptyString"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|