sym_projects
Read private projects, ordered hierarchy, tasks, approvals, attempts and evidence. Bounded cursor queries; no implicit object expansion or Browser Pass authority.
API 2.3.3 · Published service contract ↗
Permissions
Discovery scopes: projects:read. Subject to discoveryScopes; execution still checks actual grant, account, Pass and resource authority.
Arguments
| Field | Type | Required | Description |
|---|---|---|---|
| operation | schema | ✓ |
{
"type": "object",
"properties": {
"operation": {
"oneOf": [
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "limits"
}
},
"required": [
"action"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "usage"
}
},
"required": [
"action"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "get"
},
"kind": {
"type": "string",
"enum": [
"projects",
"pipelines",
"steps",
"tasks",
"runs",
"evidence",
"approvals"
]
},
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"required": [
"action",
"kind",
"id"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "list"
},
"kind": {
"type": "string",
"enum": [
"projects",
"pipelines",
"steps",
"tasks",
"runs",
"evidence",
"approvals"
]
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_id": {
"description": "History-only filter; do not combine with project_id.",
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"cursor": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"limit": {
"default": 20,
"type": "integer",
"minimum": 1,
"maximum": 50
}
},
"required": [
"action",
"kind"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "eligible"
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"cursor": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"limit": {
"default": 5,
"type": "integer",
"minimum": 1,
"maximum": 10
}
},
"required": [
"action",
"project_id"
],
"additionalProperties": false
}
]
}
},
"required": [
"operation"
],
"additionalProperties": false
}Returns
typed service results and structured errors; one-off canonical skill result remains dynamic
{
"type": "object",
"properties": {
"result": {
"anyOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "item"
},
"collection": {
"type": "string",
"const": "projects"
},
"item": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"object_ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"goal": {
"type": "string"
},
"success_criteria": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"active",
"paused"
]
},
"item_counts": {
"type": "object",
"properties": {
"pipelines": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"steps": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"tasks": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"pipelines",
"steps",
"tasks"
],
"additionalProperties": false
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"name",
"description",
"object_ids",
"goal",
"success_criteria",
"status",
"item_counts"
],
"additionalProperties": false
}
},
"required": [
"kind",
"collection",
"item"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "page"
},
"collection": {
"type": "string",
"const": "projects"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"object_ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"goal": {
"type": "string"
},
"success_criteria": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"active",
"paused"
]
},
"item_counts": {
"type": "object",
"properties": {
"pipelines": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"steps": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"tasks": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"pipelines",
"steps",
"tasks"
],
"additionalProperties": false
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"name",
"description",
"object_ids",
"goal",
"success_criteria",
"status",
"item_counts"
],
"additionalProperties": false
}
},
"next_cursor": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
}
},
"required": [
"kind",
"collection",
"items",
"next_cursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "item"
},
"collection": {
"type": "string",
"const": "pipelines"
},
"item": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"object_ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"position": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"child_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"name",
"description",
"object_ids",
"project_id",
"position",
"child_count"
],
"additionalProperties": false
}
},
"required": [
"kind",
"collection",
"item"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "page"
},
"collection": {
"type": "string",
"const": "pipelines"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"object_ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"position": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"child_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"name",
"description",
"object_ids",
"project_id",
"position",
"child_count"
],
"additionalProperties": false
}
},
"next_cursor": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
}
},
"required": [
"kind",
"collection",
"items",
"next_cursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "item"
},
"collection": {
"type": "string",
"const": "steps"
},
"item": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"object_ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"position": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"child_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pipeline_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"name",
"description",
"object_ids",
"project_id",
"position",
"child_count",
"pipeline_id"
],
"additionalProperties": false
}
},
"required": [
"kind",
"collection",
"item"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "page"
},
"collection": {
"type": "string",
"const": "steps"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"object_ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"position": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"child_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pipeline_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"name",
"description",
"object_ids",
"project_id",
"position",
"child_count",
"pipeline_id"
],
"additionalProperties": false
}
},
"next_cursor": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
}
},
"required": [
"kind",
"collection",
"items",
"next_cursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "item"
},
"collection": {
"type": "string",
"const": "tasks"
},
"item": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"object_ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"pipeline_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"step_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"position": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"instructions": {
"type": "string"
},
"success_criteria": {
"type": "string"
},
"depends_on": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"priority": {
"type": "string",
"enum": [
"low",
"normal",
"high",
"urgent"
]
},
"approval_required": {
"type": "boolean"
},
"status": {
"type": "string",
"enum": [
"pending",
"ready",
"claimed",
"running",
"blocked",
"awaiting_verification",
"completed",
"cancelled"
]
},
"plan_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"dependent_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"claim": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"principal_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"fence": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"issued_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"expires_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"id",
"principal_id",
"fence",
"issued_at",
"expires_at"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"claim_fence": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"active_run_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"uncertain_run_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"completion": {
"type": "string",
"enum": [
"not_reported",
"agent_reported",
"owner_verified"
]
},
"evidence_ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"blocker": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"completion_summary": {
"type": "string"
},
"run_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"approval_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"evidence_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"verified_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"verification_source": {
"type": "string",
"const": "owner_session"
},
"verification_note": {
"type": "string"
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"name",
"description",
"object_ids",
"project_id",
"pipeline_id",
"step_id",
"position",
"instructions",
"success_criteria",
"depends_on",
"priority",
"approval_required",
"status",
"plan_revision",
"dependent_count",
"claim",
"claim_fence",
"active_run_id",
"uncertain_run_id",
"completion",
"evidence_ids",
"blocker"
],
"additionalProperties": false
}
},
"required": [
"kind",
"collection",
"item"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "page"
},
"collection": {
"type": "string",
"const": "tasks"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"object_ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"pipeline_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"step_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"position": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"instructions": {
"type": "string"
},
"success_criteria": {
"type": "string"
},
"depends_on": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"priority": {
"type": "string",
"enum": [
"low",
"normal",
"high",
"urgent"
]
},
"approval_required": {
"type": "boolean"
},
"status": {
"type": "string",
"enum": [
"pending",
"ready",
"claimed",
"running",
"blocked",
"awaiting_verification",
"completed",
"cancelled"
]
},
"plan_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"dependent_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"claim": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"principal_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"fence": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"issued_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"expires_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"id",
"principal_id",
"fence",
"issued_at",
"expires_at"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"claim_fence": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"active_run_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"uncertain_run_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"completion": {
"type": "string",
"enum": [
"not_reported",
"agent_reported",
"owner_verified"
]
},
"evidence_ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"blocker": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"completion_summary": {
"type": "string"
},
"run_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"approval_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"evidence_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"verified_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"verification_source": {
"type": "string",
"const": "owner_session"
},
"verification_note": {
"type": "string"
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"name",
"description",
"object_ids",
"project_id",
"pipeline_id",
"step_id",
"position",
"instructions",
"success_criteria",
"depends_on",
"priority",
"approval_required",
"status",
"plan_revision",
"dependent_count",
"claim",
"claim_fence",
"active_run_id",
"uncertain_run_id",
"completion",
"evidence_ids",
"blocker"
],
"additionalProperties": false
}
},
"next_cursor": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
}
},
"required": [
"kind",
"collection",
"items",
"next_cursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "item"
},
"collection": {
"type": "string",
"const": "runs"
},
"item": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_plan_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"project_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"principal_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"claim_fence": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"proposal_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"pass_id": {
"type": "string"
},
"profile": {
"type": "string"
},
"tab_id": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"catalogue_id": {
"type": "string"
},
"skill_id": {
"type": "string"
},
"skill_version": {
"type": "string"
},
"request_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"state": {
"type": "string",
"enum": [
"dispatch_pending",
"outcome_unknown",
"not_started",
"failed",
"execution_returned"
]
},
"approval_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"evidence_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"error_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"dispatch_error_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"uncertain_since": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"resolved_at": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"resolution_source": {
"anyOf": [
{
"type": "string",
"const": "server_request_ledger"
},
{
"type": "null"
}
]
},
"finished_at": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"project_id",
"task_id",
"task_plan_revision",
"project_revision",
"principal_id",
"claim_fence",
"proposal_hash",
"pass_id",
"profile",
"tab_id",
"catalogue_id",
"skill_id",
"skill_version",
"request_id",
"state",
"approval_id",
"evidence_id",
"error_code"
],
"additionalProperties": false
}
},
"required": [
"kind",
"collection",
"item"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "page"
},
"collection": {
"type": "string",
"const": "runs"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_plan_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"project_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"principal_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"claim_fence": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"proposal_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"pass_id": {
"type": "string"
},
"profile": {
"type": "string"
},
"tab_id": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"catalogue_id": {
"type": "string"
},
"skill_id": {
"type": "string"
},
"skill_version": {
"type": "string"
},
"request_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"state": {
"type": "string",
"enum": [
"dispatch_pending",
"outcome_unknown",
"not_started",
"failed",
"execution_returned"
]
},
"approval_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"evidence_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"error_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"dispatch_error_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"uncertain_since": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"resolved_at": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"resolution_source": {
"anyOf": [
{
"type": "string",
"const": "server_request_ledger"
},
{
"type": "null"
}
]
},
"finished_at": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"project_id",
"task_id",
"task_plan_revision",
"project_revision",
"principal_id",
"claim_fence",
"proposal_hash",
"pass_id",
"profile",
"tab_id",
"catalogue_id",
"skill_id",
"skill_version",
"request_id",
"state",
"approval_id",
"evidence_id",
"error_code"
],
"additionalProperties": false
}
},
"next_cursor": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
}
},
"required": [
"kind",
"collection",
"items",
"next_cursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "item"
},
"collection": {
"type": "string",
"const": "evidence"
},
"item": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_plan_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"run_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"source": {
"type": "string",
"enum": [
"server_admission",
"server_request_ledger"
]
},
"request_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"execution_state": {
"type": "string",
"enum": [
"dispatch_pending",
"outcome_unknown",
"not_started",
"failed",
"execution_returned"
]
},
"assertion": {
"type": "string"
},
"result_digest": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
]
},
"source_hash": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
]
},
"bundle_hash": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"project_id",
"task_id",
"task_plan_revision",
"run_id",
"source",
"request_id",
"execution_state",
"assertion",
"result_digest",
"source_hash",
"bundle_hash"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_plan_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"source": {
"type": "string",
"const": "agent_report"
},
"author_principal_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"summary": {
"type": "string"
},
"reference_urls": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"project_id",
"task_id",
"task_plan_revision",
"source",
"author_principal_id",
"summary",
"reference_urls"
],
"additionalProperties": false
}
]
}
},
"required": [
"kind",
"collection",
"item"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "page"
},
"collection": {
"type": "string",
"const": "evidence"
},
"items": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_plan_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"run_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"source": {
"type": "string",
"enum": [
"server_admission",
"server_request_ledger"
]
},
"request_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"execution_state": {
"type": "string",
"enum": [
"dispatch_pending",
"outcome_unknown",
"not_started",
"failed",
"execution_returned"
]
},
"assertion": {
"type": "string"
},
"result_digest": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
]
},
"source_hash": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
]
},
"bundle_hash": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"project_id",
"task_id",
"task_plan_revision",
"run_id",
"source",
"request_id",
"execution_state",
"assertion",
"result_digest",
"source_hash",
"bundle_hash"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_plan_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"source": {
"type": "string",
"const": "agent_report"
},
"author_principal_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"summary": {
"type": "string"
},
"reference_urls": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"project_id",
"task_id",
"task_plan_revision",
"source",
"author_principal_id",
"summary",
"reference_urls"
],
"additionalProperties": false
}
]
}
},
"next_cursor": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
}
},
"required": [
"kind",
"collection",
"items",
"next_cursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "item"
},
"collection": {
"type": "string",
"const": "approvals"
},
"item": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_plan_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"project_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"proposal": {
"type": "object",
"properties": {
"catalogue_id": {
"type": "string"
},
"skill_id": {
"type": "string"
},
"skill_version": {
"type": "string"
},
"pass_id": {
"type": "string"
},
"profile": {
"type": "string"
},
"tab_id": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"capability_revision": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"work_session_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"input_json": {
"type": "string"
}
},
"required": [
"catalogue_id",
"skill_id",
"skill_version",
"pass_id",
"profile",
"tab_id",
"capability_revision",
"work_session_id",
"input_json"
],
"additionalProperties": false
},
"proposal_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"decision": {
"type": "string",
"enum": [
"pending",
"approved",
"denied"
]
},
"decision_source": {
"anyOf": [
{
"type": "string",
"const": "owner_session"
},
{
"type": "null"
}
]
},
"consumed_run_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"expires_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"decided_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"project_id",
"task_id",
"task_plan_revision",
"project_revision",
"proposal",
"proposal_hash",
"decision",
"decision_source",
"consumed_run_id",
"expires_at"
],
"additionalProperties": false
}
},
"required": [
"kind",
"collection",
"item"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "page"
},
"collection": {
"type": "string",
"const": "approvals"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_plan_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"project_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"proposal": {
"type": "object",
"properties": {
"catalogue_id": {
"type": "string"
},
"skill_id": {
"type": "string"
},
"skill_version": {
"type": "string"
},
"pass_id": {
"type": "string"
},
"profile": {
"type": "string"
},
"tab_id": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"capability_revision": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"work_session_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"input_json": {
"type": "string"
}
},
"required": [
"catalogue_id",
"skill_id",
"skill_version",
"pass_id",
"profile",
"tab_id",
"capability_revision",
"work_session_id",
"input_json"
],
"additionalProperties": false
},
"proposal_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"decision": {
"type": "string",
"enum": [
"pending",
"approved",
"denied"
]
},
"decision_source": {
"anyOf": [
{
"type": "string",
"const": "owner_session"
},
{
"type": "null"
}
]
},
"consumed_run_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"expires_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"decided_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"project_id",
"task_id",
"task_plan_revision",
"project_revision",
"proposal",
"proposal_hash",
"decision",
"decision_source",
"consumed_run_id",
"expires_at"
],
"additionalProperties": false
}
},
"next_cursor": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
}
},
"required": [
"kind",
"collection",
"items",
"next_cursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "usage"
},
"usage": {
"type": "object",
"properties": {
"projects": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"runs": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"approvals": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"evidence_slots": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"projects",
"runs",
"approvals",
"evidence_slots"
],
"additionalProperties": false
}
},
"required": [
"kind",
"usage"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "deleted"
},
"collection": {
"type": "string",
"enum": [
"projects",
"pipelines",
"steps",
"tasks"
]
},
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"required": [
"kind",
"collection",
"id"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "limits"
},
"limits": {
"type": "object",
"properties": {
"projects": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"runs": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"evidence": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"approvals": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"runs_per_task": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"approvals_per_task": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"evidence_per_task": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pipelines_per_project": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"steps_per_project": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"tasks_per_project": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"dependencies_per_task": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"graph_nodes": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"claim_ms": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"claim_max_ms": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"record_bytes": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"page_default": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"page_max": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"eligible_page_default": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"eligible_page_max": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"projects",
"runs",
"evidence",
"approvals",
"runs_per_task",
"approvals_per_task",
"evidence_per_task",
"pipelines_per_project",
"steps_per_project",
"tasks_per_project",
"dependencies_per_task",
"graph_nodes",
"claim_ms",
"claim_max_ms",
"record_bytes",
"page_default",
"page_max",
"eligible_page_default",
"eligible_page_max"
],
"additionalProperties": false
}
},
"required": [
"kind",
"limits"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "execution"
},
"item": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_plan_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"project_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"principal_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"claim_fence": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"proposal_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"pass_id": {
"type": "string"
},
"profile": {
"type": "string"
},
"tab_id": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"catalogue_id": {
"type": "string"
},
"skill_id": {
"type": "string"
},
"skill_version": {
"type": "string"
},
"request_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"state": {
"type": "string",
"enum": [
"dispatch_pending",
"outcome_unknown",
"not_started",
"failed",
"execution_returned"
]
},
"approval_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"evidence_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"error_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"dispatch_error_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"uncertain_since": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"resolved_at": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"resolution_source": {
"anyOf": [
{
"type": "string",
"const": "server_request_ledger"
},
{
"type": "null"
}
]
},
"finished_at": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"project_id",
"task_id",
"task_plan_revision",
"project_revision",
"principal_id",
"claim_fence",
"proposal_hash",
"pass_id",
"profile",
"tab_id",
"catalogue_id",
"skill_id",
"skill_version",
"request_id",
"state",
"approval_id",
"evidence_id",
"error_code"
],
"additionalProperties": false
},
"task": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"object_ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"pipeline_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"step_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"position": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"instructions": {
"type": "string"
},
"success_criteria": {
"type": "string"
},
"depends_on": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"priority": {
"type": "string",
"enum": [
"low",
"normal",
"high",
"urgent"
]
},
"approval_required": {
"type": "boolean"
},
"status": {
"type": "string",
"enum": [
"pending",
"ready",
"claimed",
"running",
"blocked",
"awaiting_verification",
"completed",
"cancelled"
]
},
"plan_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"dependent_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"claim": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"principal_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"fence": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"issued_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"expires_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"id",
"principal_id",
"fence",
"issued_at",
"expires_at"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"claim_fence": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"active_run_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"uncertain_run_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"completion": {
"type": "string",
"enum": [
"not_reported",
"agent_reported",
"owner_verified"
]
},
"evidence_ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"blocker": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"completion_summary": {
"type": "string"
},
"run_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"approval_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"evidence_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"verified_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"verification_source": {
"type": "string",
"const": "owner_session"
},
"verification_note": {
"type": "string"
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"name",
"description",
"object_ids",
"project_id",
"pipeline_id",
"step_id",
"position",
"instructions",
"success_criteria",
"depends_on",
"priority",
"approval_required",
"status",
"plan_revision",
"dependent_count",
"claim",
"claim_fence",
"active_run_id",
"uncertain_run_id",
"completion",
"evidence_ids",
"blocker"
],
"additionalProperties": false
},
"evidence": {
"anyOf": [
{
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_plan_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"run_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"source": {
"type": "string",
"enum": [
"server_admission",
"server_request_ledger"
]
},
"request_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"execution_state": {
"type": "string",
"enum": [
"dispatch_pending",
"outcome_unknown",
"not_started",
"failed",
"execution_returned"
]
},
"assertion": {
"type": "string"
},
"result_digest": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
]
},
"source_hash": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
]
},
"bundle_hash": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"project_id",
"task_id",
"task_plan_revision",
"run_id",
"source",
"request_id",
"execution_state",
"assertion",
"result_digest",
"source_hash",
"bundle_hash"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_plan_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"source": {
"type": "string",
"const": "agent_report"
},
"author_principal_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"summary": {
"type": "string"
},
"reference_urls": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"project_id",
"task_id",
"task_plan_revision",
"source",
"author_principal_id",
"summary",
"reference_urls"
],
"additionalProperties": false
}
]
},
{
"type": "null"
}
]
},
"execution_error": {
"anyOf": [
{
"type": "object",
"properties": {
"error": {
"type": "string"
},
"status": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"error",
"status"
],
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"execution_result": {
"description": "One-off result from the canonical skill executor. Never persisted as a project record; requires the existing Browser Pass and skill permissions."
}
},
"required": [
"kind",
"item",
"task",
"evidence",
"execution_error",
"execution_result"
],
"additionalProperties": false
}
]
},
"error": {
"type": "string"
},
"status": {}
},
"additionalProperties": {},
"anyOf": [
{
"type": "object",
"properties": {
"result": {
"anyOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "item"
},
"collection": {
"type": "string",
"const": "projects"
},
"item": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"object_ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"goal": {
"type": "string"
},
"success_criteria": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"active",
"paused"
]
},
"item_counts": {
"type": "object",
"properties": {
"pipelines": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"steps": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"tasks": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"pipelines",
"steps",
"tasks"
],
"additionalProperties": false
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"name",
"description",
"object_ids",
"goal",
"success_criteria",
"status",
"item_counts"
],
"additionalProperties": false
}
},
"required": [
"kind",
"collection",
"item"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "page"
},
"collection": {
"type": "string",
"const": "projects"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"object_ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"goal": {
"type": "string"
},
"success_criteria": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"active",
"paused"
]
},
"item_counts": {
"type": "object",
"properties": {
"pipelines": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"steps": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"tasks": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"pipelines",
"steps",
"tasks"
],
"additionalProperties": false
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"name",
"description",
"object_ids",
"goal",
"success_criteria",
"status",
"item_counts"
],
"additionalProperties": false
}
},
"next_cursor": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
}
},
"required": [
"kind",
"collection",
"items",
"next_cursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "item"
},
"collection": {
"type": "string",
"const": "pipelines"
},
"item": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"object_ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"position": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"child_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"name",
"description",
"object_ids",
"project_id",
"position",
"child_count"
],
"additionalProperties": false
}
},
"required": [
"kind",
"collection",
"item"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "page"
},
"collection": {
"type": "string",
"const": "pipelines"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"object_ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"position": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"child_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"name",
"description",
"object_ids",
"project_id",
"position",
"child_count"
],
"additionalProperties": false
}
},
"next_cursor": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
}
},
"required": [
"kind",
"collection",
"items",
"next_cursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "item"
},
"collection": {
"type": "string",
"const": "steps"
},
"item": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"object_ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"position": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"child_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pipeline_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"name",
"description",
"object_ids",
"project_id",
"position",
"child_count",
"pipeline_id"
],
"additionalProperties": false
}
},
"required": [
"kind",
"collection",
"item"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "page"
},
"collection": {
"type": "string",
"const": "steps"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"object_ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"position": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"child_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pipeline_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"name",
"description",
"object_ids",
"project_id",
"position",
"child_count",
"pipeline_id"
],
"additionalProperties": false
}
},
"next_cursor": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
}
},
"required": [
"kind",
"collection",
"items",
"next_cursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "item"
},
"collection": {
"type": "string",
"const": "tasks"
},
"item": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"object_ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"pipeline_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"step_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"position": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"instructions": {
"type": "string"
},
"success_criteria": {
"type": "string"
},
"depends_on": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"priority": {
"type": "string",
"enum": [
"low",
"normal",
"high",
"urgent"
]
},
"approval_required": {
"type": "boolean"
},
"status": {
"type": "string",
"enum": [
"pending",
"ready",
"claimed",
"running",
"blocked",
"awaiting_verification",
"completed",
"cancelled"
]
},
"plan_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"dependent_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"claim": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"principal_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"fence": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"issued_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"expires_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"id",
"principal_id",
"fence",
"issued_at",
"expires_at"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"claim_fence": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"active_run_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"uncertain_run_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"completion": {
"type": "string",
"enum": [
"not_reported",
"agent_reported",
"owner_verified"
]
},
"evidence_ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"blocker": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"completion_summary": {
"type": "string"
},
"run_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"approval_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"evidence_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"verified_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"verification_source": {
"type": "string",
"const": "owner_session"
},
"verification_note": {
"type": "string"
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"name",
"description",
"object_ids",
"project_id",
"pipeline_id",
"step_id",
"position",
"instructions",
"success_criteria",
"depends_on",
"priority",
"approval_required",
"status",
"plan_revision",
"dependent_count",
"claim",
"claim_fence",
"active_run_id",
"uncertain_run_id",
"completion",
"evidence_ids",
"blocker"
],
"additionalProperties": false
}
},
"required": [
"kind",
"collection",
"item"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "page"
},
"collection": {
"type": "string",
"const": "tasks"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"object_ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"pipeline_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"step_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"position": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"instructions": {
"type": "string"
},
"success_criteria": {
"type": "string"
},
"depends_on": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"priority": {
"type": "string",
"enum": [
"low",
"normal",
"high",
"urgent"
]
},
"approval_required": {
"type": "boolean"
},
"status": {
"type": "string",
"enum": [
"pending",
"ready",
"claimed",
"running",
"blocked",
"awaiting_verification",
"completed",
"cancelled"
]
},
"plan_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"dependent_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"claim": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"principal_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"fence": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"issued_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"expires_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"id",
"principal_id",
"fence",
"issued_at",
"expires_at"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"claim_fence": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"active_run_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"uncertain_run_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"completion": {
"type": "string",
"enum": [
"not_reported",
"agent_reported",
"owner_verified"
]
},
"evidence_ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"blocker": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"completion_summary": {
"type": "string"
},
"run_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"approval_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"evidence_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"verified_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"verification_source": {
"type": "string",
"const": "owner_session"
},
"verification_note": {
"type": "string"
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"name",
"description",
"object_ids",
"project_id",
"pipeline_id",
"step_id",
"position",
"instructions",
"success_criteria",
"depends_on",
"priority",
"approval_required",
"status",
"plan_revision",
"dependent_count",
"claim",
"claim_fence",
"active_run_id",
"uncertain_run_id",
"completion",
"evidence_ids",
"blocker"
],
"additionalProperties": false
}
},
"next_cursor": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
}
},
"required": [
"kind",
"collection",
"items",
"next_cursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "item"
},
"collection": {
"type": "string",
"const": "runs"
},
"item": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_plan_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"project_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"principal_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"claim_fence": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"proposal_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"pass_id": {
"type": "string"
},
"profile": {
"type": "string"
},
"tab_id": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"catalogue_id": {
"type": "string"
},
"skill_id": {
"type": "string"
},
"skill_version": {
"type": "string"
},
"request_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"state": {
"type": "string",
"enum": [
"dispatch_pending",
"outcome_unknown",
"not_started",
"failed",
"execution_returned"
]
},
"approval_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"evidence_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"error_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"dispatch_error_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"uncertain_since": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"resolved_at": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"resolution_source": {
"anyOf": [
{
"type": "string",
"const": "server_request_ledger"
},
{
"type": "null"
}
]
},
"finished_at": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"project_id",
"task_id",
"task_plan_revision",
"project_revision",
"principal_id",
"claim_fence",
"proposal_hash",
"pass_id",
"profile",
"tab_id",
"catalogue_id",
"skill_id",
"skill_version",
"request_id",
"state",
"approval_id",
"evidence_id",
"error_code"
],
"additionalProperties": false
}
},
"required": [
"kind",
"collection",
"item"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "page"
},
"collection": {
"type": "string",
"const": "runs"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_plan_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"project_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"principal_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"claim_fence": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"proposal_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"pass_id": {
"type": "string"
},
"profile": {
"type": "string"
},
"tab_id": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"catalogue_id": {
"type": "string"
},
"skill_id": {
"type": "string"
},
"skill_version": {
"type": "string"
},
"request_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"state": {
"type": "string",
"enum": [
"dispatch_pending",
"outcome_unknown",
"not_started",
"failed",
"execution_returned"
]
},
"approval_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"evidence_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"error_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"dispatch_error_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"uncertain_since": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"resolved_at": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"resolution_source": {
"anyOf": [
{
"type": "string",
"const": "server_request_ledger"
},
{
"type": "null"
}
]
},
"finished_at": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"project_id",
"task_id",
"task_plan_revision",
"project_revision",
"principal_id",
"claim_fence",
"proposal_hash",
"pass_id",
"profile",
"tab_id",
"catalogue_id",
"skill_id",
"skill_version",
"request_id",
"state",
"approval_id",
"evidence_id",
"error_code"
],
"additionalProperties": false
}
},
"next_cursor": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
}
},
"required": [
"kind",
"collection",
"items",
"next_cursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "item"
},
"collection": {
"type": "string",
"const": "evidence"
},
"item": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_plan_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"run_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"source": {
"type": "string",
"enum": [
"server_admission",
"server_request_ledger"
]
},
"request_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"execution_state": {
"type": "string",
"enum": [
"dispatch_pending",
"outcome_unknown",
"not_started",
"failed",
"execution_returned"
]
},
"assertion": {
"type": "string"
},
"result_digest": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
]
},
"source_hash": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
]
},
"bundle_hash": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"project_id",
"task_id",
"task_plan_revision",
"run_id",
"source",
"request_id",
"execution_state",
"assertion",
"result_digest",
"source_hash",
"bundle_hash"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_plan_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"source": {
"type": "string",
"const": "agent_report"
},
"author_principal_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"summary": {
"type": "string"
},
"reference_urls": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"project_id",
"task_id",
"task_plan_revision",
"source",
"author_principal_id",
"summary",
"reference_urls"
],
"additionalProperties": false
}
]
}
},
"required": [
"kind",
"collection",
"item"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "page"
},
"collection": {
"type": "string",
"const": "evidence"
},
"items": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_plan_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"run_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"source": {
"type": "string",
"enum": [
"server_admission",
"server_request_ledger"
]
},
"request_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"execution_state": {
"type": "string",
"enum": [
"dispatch_pending",
"outcome_unknown",
"not_started",
"failed",
"execution_returned"
]
},
"assertion": {
"type": "string"
},
"result_digest": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
]
},
"source_hash": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
]
},
"bundle_hash": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"project_id",
"task_id",
"task_plan_revision",
"run_id",
"source",
"request_id",
"execution_state",
"assertion",
"result_digest",
"source_hash",
"bundle_hash"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_plan_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"source": {
"type": "string",
"const": "agent_report"
},
"author_principal_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"summary": {
"type": "string"
},
"reference_urls": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"project_id",
"task_id",
"task_plan_revision",
"source",
"author_principal_id",
"summary",
"reference_urls"
],
"additionalProperties": false
}
]
}
},
"next_cursor": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
}
},
"required": [
"kind",
"collection",
"items",
"next_cursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "item"
},
"collection": {
"type": "string",
"const": "approvals"
},
"item": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_plan_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"project_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"proposal": {
"type": "object",
"properties": {
"catalogue_id": {
"type": "string"
},
"skill_id": {
"type": "string"
},
"skill_version": {
"type": "string"
},
"pass_id": {
"type": "string"
},
"profile": {
"type": "string"
},
"tab_id": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"capability_revision": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"work_session_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"input_json": {
"type": "string"
}
},
"required": [
"catalogue_id",
"skill_id",
"skill_version",
"pass_id",
"profile",
"tab_id",
"capability_revision",
"work_session_id",
"input_json"
],
"additionalProperties": false
},
"proposal_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"decision": {
"type": "string",
"enum": [
"pending",
"approved",
"denied"
]
},
"decision_source": {
"anyOf": [
{
"type": "string",
"const": "owner_session"
},
{
"type": "null"
}
]
},
"consumed_run_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"expires_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"decided_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"project_id",
"task_id",
"task_plan_revision",
"project_revision",
"proposal",
"proposal_hash",
"decision",
"decision_source",
"consumed_run_id",
"expires_at"
],
"additionalProperties": false
}
},
"required": [
"kind",
"collection",
"item"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "page"
},
"collection": {
"type": "string",
"const": "approvals"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_plan_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"project_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"proposal": {
"type": "object",
"properties": {
"catalogue_id": {
"type": "string"
},
"skill_id": {
"type": "string"
},
"skill_version": {
"type": "string"
},
"pass_id": {
"type": "string"
},
"profile": {
"type": "string"
},
"tab_id": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"capability_revision": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"work_session_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"input_json": {
"type": "string"
}
},
"required": [
"catalogue_id",
"skill_id",
"skill_version",
"pass_id",
"profile",
"tab_id",
"capability_revision",
"work_session_id",
"input_json"
],
"additionalProperties": false
},
"proposal_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"decision": {
"type": "string",
"enum": [
"pending",
"approved",
"denied"
]
},
"decision_source": {
"anyOf": [
{
"type": "string",
"const": "owner_session"
},
{
"type": "null"
}
]
},
"consumed_run_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"expires_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"decided_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"project_id",
"task_id",
"task_plan_revision",
"project_revision",
"proposal",
"proposal_hash",
"decision",
"decision_source",
"consumed_run_id",
"expires_at"
],
"additionalProperties": false
}
},
"next_cursor": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
}
},
"required": [
"kind",
"collection",
"items",
"next_cursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "usage"
},
"usage": {
"type": "object",
"properties": {
"projects": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"runs": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"approvals": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"evidence_slots": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"projects",
"runs",
"approvals",
"evidence_slots"
],
"additionalProperties": false
}
},
"required": [
"kind",
"usage"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "deleted"
},
"collection": {
"type": "string",
"enum": [
"projects",
"pipelines",
"steps",
"tasks"
]
},
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"required": [
"kind",
"collection",
"id"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "limits"
},
"limits": {
"type": "object",
"properties": {
"projects": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"runs": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"evidence": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"approvals": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"runs_per_task": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"approvals_per_task": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"evidence_per_task": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pipelines_per_project": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"steps_per_project": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"tasks_per_project": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"dependencies_per_task": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"graph_nodes": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"claim_ms": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"claim_max_ms": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"record_bytes": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"page_default": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"page_max": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"eligible_page_default": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"eligible_page_max": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"projects",
"runs",
"evidence",
"approvals",
"runs_per_task",
"approvals_per_task",
"evidence_per_task",
"pipelines_per_project",
"steps_per_project",
"tasks_per_project",
"dependencies_per_task",
"graph_nodes",
"claim_ms",
"claim_max_ms",
"record_bytes",
"page_default",
"page_max",
"eligible_page_default",
"eligible_page_max"
],
"additionalProperties": false
}
},
"required": [
"kind",
"limits"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "execution"
},
"item": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_plan_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"project_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"principal_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"claim_fence": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"proposal_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"pass_id": {
"type": "string"
},
"profile": {
"type": "string"
},
"tab_id": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"catalogue_id": {
"type": "string"
},
"skill_id": {
"type": "string"
},
"skill_version": {
"type": "string"
},
"request_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"state": {
"type": "string",
"enum": [
"dispatch_pending",
"outcome_unknown",
"not_started",
"failed",
"execution_returned"
]
},
"approval_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"evidence_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"error_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"dispatch_error_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"uncertain_since": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"resolved_at": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"resolution_source": {
"anyOf": [
{
"type": "string",
"const": "server_request_ledger"
},
{
"type": "null"
}
]
},
"finished_at": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"project_id",
"task_id",
"task_plan_revision",
"project_revision",
"principal_id",
"claim_fence",
"proposal_hash",
"pass_id",
"profile",
"tab_id",
"catalogue_id",
"skill_id",
"skill_version",
"request_id",
"state",
"approval_id",
"evidence_id",
"error_code"
],
"additionalProperties": false
},
"task": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"object_ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"pipeline_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"step_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"position": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"instructions": {
"type": "string"
},
"success_criteria": {
"type": "string"
},
"depends_on": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"priority": {
"type": "string",
"enum": [
"low",
"normal",
"high",
"urgent"
]
},
"approval_required": {
"type": "boolean"
},
"status": {
"type": "string",
"enum": [
"pending",
"ready",
"claimed",
"running",
"blocked",
"awaiting_verification",
"completed",
"cancelled"
]
},
"plan_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"dependent_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"claim": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"principal_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"fence": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"issued_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"expires_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"id",
"principal_id",
"fence",
"issued_at",
"expires_at"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"claim_fence": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"active_run_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"uncertain_run_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
{
"type": "null"
}
]
},
"completion": {
"type": "string",
"enum": [
"not_reported",
"agent_reported",
"owner_verified"
]
},
"evidence_ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
}
},
"blocker": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"completion_summary": {
"type": "string"
},
"run_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"approval_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"evidence_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"verified_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"verification_source": {
"type": "string",
"const": "owner_session"
},
"verification_note": {
"type": "string"
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"name",
"description",
"object_ids",
"project_id",
"pipeline_id",
"step_id",
"position",
"instructions",
"success_criteria",
"depends_on",
"priority",
"approval_required",
"status",
"plan_revision",
"dependent_count",
"claim",
"claim_fence",
"active_run_id",
"uncertain_run_id",
"completion",
"evidence_ids",
"blocker"
],
"additionalProperties": false
},
"evidence": {
"anyOf": [
{
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_plan_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"run_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"source": {
"type": "string",
"enum": [
"server_admission",
"server_request_ledger"
]
},
"request_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"execution_state": {
"type": "string",
"enum": [
"dispatch_pending",
"outcome_unknown",
"not_started",
"failed",
"execution_returned"
]
},
"assertion": {
"type": "string"
},
"result_digest": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
]
},
"source_hash": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
]
},
"bundle_hash": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"project_id",
"task_id",
"task_plan_revision",
"run_id",
"source",
"request_id",
"execution_state",
"assertion",
"result_digest",
"source_hash",
"bundle_hash"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"owner_uid": {
"type": "string"
},
"revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"archived": {
"type": "boolean"
},
"project_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_id": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,95}$"
},
"task_plan_revision": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"source": {
"type": "string",
"const": "agent_report"
},
"author_principal_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"summary": {
"type": "string"
},
"reference_urls": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"id",
"owner_uid",
"revision",
"created_at",
"updated_at",
"archived",
"project_id",
"task_id",
"task_plan_revision",
"source",
"author_principal_id",
"summary",
"reference_urls"
],
"additionalProperties": false
}
]
},
{
"type": "null"
}
]
},
"execution_error": {
"anyOf": [
{
"type": "object",
"properties": {
"error": {
"type": "string"
},
"status": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"error",
"status"
],
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"execution_result": {
"description": "One-off result from the canonical skill executor. Never persisted as a project record; requires the existing Browser Pass and skill permissions."
}
},
"required": [
"kind",
"item",
"task",
"evidence",
"execution_error",
"execution_result"
],
"additionalProperties": false
}
]
}
},
"required": [
"result"
],
"additionalProperties": false,
"not": {
"required": [
"error"
]
}
},
{
"type": "object",
"properties": {
"error": {
"type": "string"
},
"status": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"result": false
},
"required": [
"error",
"status"
],
"additionalProperties": {}
}
]
}REST equivalents
[
{
"method": "POST",
"path": "/v1/projects/read"
}
]