changedInput schema / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "operation": {
- "const": "create_report",
- "type": "string"
- },
- "payload": {
- "additionalProperties": false,
- "properties": {
- "attachments": {
- "items": {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "data": {
- "maxLength": 6990508,
- "type": "string"
- },
- "name": {
- "maxLength": 180,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "name",
- "data"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- }
- },
- "required": [
- "id"
- ],
- "type": "object"
- }
- ]
- },
- "maxItems": 5,
- "type": "array"
- },
- "body": {
- "maxLength": 20000,
- "minLength": 1,
- "type": "string"
- },
- "executionId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 128,
- "minLength": 16,
- "pattern": "^[A-Za-z0-9_-]+$",
- "type": "string"
- },
- "outcome": {
- "additionalProperties": false,
- "description": "Optional scoped outcome. At most 8 criteria, 8 observations per criterion, and 16000 serialized UTF-8 bytes including retained criterion wording. All scope/revision/result values are recorded claims.",
- "properties": {
- "actualScope": {
- "items": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "minItems": 0,
- "type": "array"
- },
- "constraints": {
- "maxLength": 2000,
- "minLength": 0,
- "type": "string"
- },
- "criteria": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "evidence": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "criterionText": {
- "description": "Server-retained criterion wording when this observation was first recorded.",
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- "reference": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- "result": {
- "enum": [
- "passed",
- "failed",
- "unknown"
- ],
- "type": "string"
- },
- "sourceRevision": {
- "maxLength": 160,
- "minLength": 0,
- "type": "string"
- }
- },
- "required": [
- "result",
- "reference"
- ],
- "type": "object"
- },
- "maxItems": 8,
- "minItems": 0,
- "type": "array"
- },
- "id": {
- "maxLength": 80,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9_-]+$",
- "type": "string"
- },
- "status": {
- "enum": [
- "active",
- "cancelled"
- ],
- "type": "string"
- },
- "text": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "id",
- "text",
- "status",
- "evidence"
- ],
- "type": "object"
- },
- "maxItems": 8,
- "minItems": 1,
- "type": "array"
- },
- "deployedRevision": {
- "maxLength": 160,
- "minLength": 0,
- "type": "string"
- },
- "expectedScope": {
- "items": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "minItems": 0,
- "type": "array"
- },
- "mission": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "maxLength": 70,
- "minLength": 1,
- "pattern": "^focus_[A-Za-z0-9_-]{1,64}$",
- "type": "string"
- },
- "intent": {
- "maxLength": 4000,
- "minLength": 0,
- "type": "string"
- },
- "name": {
- "maxLength": 120,
- "minLength": 1,
- "type": "string"
- },
- "nodeIds": {
- "items": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 64,
- "minItems": 0,
- "type": "array"
- }
- },
- "required": [
- "name",
- "nodeIds"
- ],
- "type": "object"
- },
- "protectedScope": {
- "items": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "minItems": 0,
- "type": "array"
- },
- "references": {
- "additionalProperties": false,
- "properties": {
- "changeReviewId": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "sessionId": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "taskId": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [],
- "type": "object"
- },
- "resourceObservations": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "coverage": {
- "enum": [
- "turn",
- "cumulative",
- "operation",
- "increment"
- ],
- "type": "string"
- },
- "id": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "enum": [
- "tokens",
- "cost",
- "retries",
- "validation_effort",
- "support_effort"
- ],
- "type": "string"
- },
- "reference": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- "sessionId": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "source": {
- "enum": [
- "measured",
- "estimated",
- "unknown"
- ],
- "type": "string"
- },
- "taskId": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "turnId": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "unit": {
- "maxLength": 80,
- "minLength": 1,
- "type": "string"
- },
- "value": {
- "minimum": 0,
- "type": [
- "number",
- "null"
- ]
- }
- },
- "required": [
- "id",
- "kind",
- "value",
- "unit",
- "source",
- "reference"
- ],
- "type": "object"
- },
- "maxItems": 64,
- "minItems": 0,
- "type": "array"
- },
- "scopeExplanations": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "explanation": {
- "maxLength": 1000,
- "minLength": 1,
- "type": "string"
- },
- "path": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "reference": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "path",
- "explanation",
- "reference"
- ],
- "type": "object"
- },
- "maxItems": 32,
- "minItems": 0,
- "type": "array"
- },
- "sourceRevision": {
- "maxLength": 160,
- "minLength": 0,
- "type": "string"
- },
- "status": {
- "enum": [
- "active",
- "cancelled"
- ],
- "type": "string"
- }
- },
- "required": [
- "status",
- "criteria"
- ],
- "type": "object"
- },
- "projectId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "sessionId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "summary": {
- "maxLength": 1000,
- "minLength": 1,
- "type": "string"
- },
- "title": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "projectId",
- "idempotencyKey",
- "title",
- "summary",
- "body"
- ],
- "type": "object"
- }
- },
- "required": [
- "operation",
- "payload"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "operation": {
- "const": "update_report",
- "type": "string"
- },
- "payload": {
- "additionalProperties": false,
- "properties": {
- "attachments": {
- "items": {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "data": {
- "maxLength": 6990508,
- "type": "string"
- },
- "name": {
- "maxLength": 180,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "name",
- "data"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- }
- },
- "required": [
- "id"
- ],
- "type": "object"
- }
- ]
- },
- "maxItems": 5,
- "type": "array"
- },
- "body": {
- "maxLength": 20000,
- "minLength": 1,
- "type": "string"
- },
- "executionId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "expectedVersion": {
- "minimum": 1,
- "type": "integer"
- },
- "idempotencyKey": {
- "maxLength": 128,
- "minLength": 16,
- "pattern": "^[A-Za-z0-9_-]+$",
- "type": "string"
- },
- "markOutcomeReviewed": {
- "const": true,
- "type": "boolean"
- },
- "outcome": {
- "additionalProperties": false,
- "description": "Optional scoped outcome. At most 8 criteria, 8 observations per criterion, and 16000 serialized UTF-8 bytes including retained criterion wording. All scope/revision/result values are recorded claims.",
- "properties": {
- "actualScope": {
- "items": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "minItems": 0,
- "type": "array"
- },
- "constraints": {
- "maxLength": 2000,
- "minLength": 0,
- "type": "string"
- },
- "criteria": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "evidence": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "criterionText": {
- "description": "Server-retained criterion wording when this observation was first recorded.",
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- "reference": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- "result": {
- "enum": [
- "passed",
- "failed",
- "unknown"
- ],
- "type": "string"
- },
- "sourceRevision": {
- "maxLength": 160,
- "minLength": 0,
- "type": "string"
- }
- },
- "required": [
- "result",
- "reference"
- ],
- "type": "object"
- },
- "maxItems": 8,
- "minItems": 0,
- "type": "array"
- },
- "id": {
- "maxLength": 80,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9_-]+$",
- "type": "string"
- },
- "status": {
- "enum": [
- "active",
- "cancelled"
- ],
- "type": "string"
- },
- "text": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "id",
- "text",
- "status",
- "evidence"
- ],
- "type": "object"
- },
- "maxItems": 8,
- "minItems": 1,
- "type": "array"
- },
- "deployedRevision": {
- "maxLength": 160,
- "minLength": 0,
- "type": "string"
- },
- "expectedScope": {
- "items": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "minItems": 0,
- "type": "array"
- },
- "mission": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "maxLength": 70,
- "minLength": 1,
- "pattern": "^focus_[A-Za-z0-9_-]{1,64}$",
- "type": "string"
- },
- "intent": {
- "maxLength": 4000,
- "minLength": 0,
- "type": "string"
- },
- "name": {
- "maxLength": 120,
- "minLength": 1,
- "type": "string"
- },
- "nodeIds": {
- "items": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 64,
- "minItems": 0,
- "type": "array"
- }
- },
- "required": [
- "name",
- "nodeIds"
- ],
- "type": "object"
- },
- "protectedScope": {
- "items": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "minItems": 0,
- "type": "array"
- },
- "references": {
- "additionalProperties": false,
- "properties": {
- "changeReviewId": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "sessionId": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "taskId": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [],
- "type": "object"
- },
- "resourceObservations": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "coverage": {
- "enum": [
- "turn",
- "cumulative",
- "operation",
- "increment"
- ],
- "type": "string"
- },
- "id": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "enum": [
- "tokens",
- "cost",
- "retries",
- "validation_effort",
- "support_effort"
- ],
- "type": "string"
- },
- "reference": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- "sessionId": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "source": {
- "enum": [
- "measured",
- "estimated",
- "unknown"
- ],
- "type": "string"
- },
- "taskId": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "turnId": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "unit": {
- "maxLength": 80,
- "minLength": 1,
- "type": "string"
- },
- "value": {
- "minimum": 0,
- "type": [
- "number",
- "null"
- ]
- }
- },
- "required": [
- "id",
- "kind",
- "value",
- "unit",
- "source",
- "reference"
- ],
- "type": "object"
- },
- "maxItems": 64,
- "minItems": 0,
- "type": "array"
- },
- "scopeExplanations": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "explanation": {
- "maxLength": 1000,
- "minLength": 1,
- "type": "string"
- },
- "path": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "reference": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "path",
- "explanation",
- "reference"
- ],
- "type": "object"
- },
- "maxItems": 32,
- "minItems": 0,
- "type": "array"
- },
- "sourceRevision": {
- "maxLength": 160,
- "minLength": 0,
- "type": "string"
- },
- "status": {
- "enum": [
- "active",
- "cancelled"
- ],
- "type": "string"
- }
- },
- "required": [
- "status",
- "criteria"
- ],
- "type": "object"
- },
- "projectId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "reportId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "sessionId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "summary": {
- "maxLength": 1000,
- "minLength": 1,
- "type": "string"
- },
- "title": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "projectId",
- "idempotencyKey",
- "reportId",
- "expectedVersion"
- ],
- "type": "object"
- }
- },
- "required": [
- "operation",
- "payload"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "operation": {
- "const": "create_report_bug",
- "type": "string"
- },
- "payload": {
- "additionalProperties": false,
- "properties": {
- "executionId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 128,
- "minLength": 16,
- "pattern": "^[A-Za-z0-9_-]+$",
- "type": "string"
- },
- "linkedNodeIds": {
- "items": {
- "maxLength": 500,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "maxItems": 20,
- "type": "array",
- "uniqueItems": true
- },
- "notes": {
- "maxLength": 2000,
- "minLength": 1,
- "type": "string"
- },
- "projectId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "reportId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "sessionId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "severity": {
- "enum": [
- "info",
- "warning",
- "high"
- ],
- "type": "string"
- },
- "title": {
- "maxLength": 120,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "projectId",
- "idempotencyKey",
- "title",
- "notes"
- ],
- "type": "object"
- }
- },
- "required": [
- "operation",
- "payload"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "operation": {
- "const": "create_finding",
- "type": "string"
- },
- "payload": {
- "additionalProperties": false,
- "properties": {
- "details": {
- "additionalProperties": false,
- "properties": {
- "referenceIds": {
- "items": {
- "maxLength": 500,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "maxItems": 100,
- "type": "array",
- "uniqueItems": true
- },
- "status": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "summary": {
- "maxLength": 240,
- "type": "string"
- }
- },
- "type": "object"
- },
- "executionId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 128,
- "minLength": 16,
- "pattern": "^[A-Za-z0-9_-]+$",
- "type": "string"
- },
- "projectId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "sessionId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- }
- },
- "required": [
- "projectId",
- "idempotencyKey"
- ],
- "type": "object"
- }
- },
- "required": [
- "operation",
- "payload"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "operation": {
- "const": "create_local_change_review",
- "type": "string"
- },
- "payload": {
- "additionalProperties": false,
- "properties": {
- "details": {
- "additionalProperties": false,
- "properties": {
- "referenceIds": {
- "items": {
- "maxLength": 500,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "maxItems": 100,
- "type": "array",
- "uniqueItems": true
- },
- "status": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "summary": {
- "maxLength": 240,
- "type": "string"
- }
- },
- "type": "object"
- },
- "executionId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 128,
- "minLength": 16,
- "pattern": "^[A-Za-z0-9_-]+$",
- "type": "string"
- },
- "projectId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "reviewId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "sessionId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- }
- },
- "required": [
- "projectId",
- "idempotencyKey"
- ],
- "type": "object"
- }
- },
- "required": [
- "operation",
- "payload"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "operation": {
- "const": "promote_insight_to_finding",
- "type": "string"
- },
- "payload": {
- "additionalProperties": false,
- "properties": {
- "details": {
- "additionalProperties": false,
- "properties": {
- "referenceIds": {
- "items": {
- "maxLength": 500,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "maxItems": 100,
- "type": "array",
- "uniqueItems": true
- },
- "status": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "summary": {
- "maxLength": 240,
- "type": "string"
- }
- },
- "type": "object"
- },
- "executionId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "findingId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 128,
- "minLength": 16,
- "pattern": "^[A-Za-z0-9_-]+$",
- "type": "string"
- },
- "projectId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "sessionId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- }
- },
- "required": [
- "projectId",
- "findingId",
- "idempotencyKey"
- ],
- "type": "object"
- }
- },
- "required": [
- "operation",
- "payload"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "operation": {
- "const": "refresh_local_change_review",
- "type": "string"
- },
- "payload": {
- "additionalProperties": false,
- "properties": {
- "details": {
- "additionalProperties": false,
- "properties": {
- "referenceIds": {
- "items": {
- "maxLength": 500,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "maxItems": 100,
- "type": "array",
- "uniqueItems": true
- },
- "status": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "summary": {
- "maxLength": 240,
- "type": "string"
- }
- },
- "type": "object"
- },
- "executionId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "expectedVersion": {
- "minimum": 1,
- "type": "integer"
- },
- "idempotencyKey": {
- "maxLength": 128,
- "minLength": 16,
- "pattern": "^[A-Za-z0-9_-]+$",
- "type": "string"
- },
- "projectId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "reviewId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "sessionId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- }
- },
- "required": [
- "projectId",
- "reviewId",
- "idempotencyKey",
- "expectedVersion"
- ],
- "type": "object"
- }
- },
- "required": [
- "operation",
- "payload"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "operation": {
- "const": "save_investigation",
- "type": "string"
- },
- "payload": {
- "additionalProperties": false,
- "properties": {
- "details": {
- "additionalProperties": false,
- "properties": {
- "referenceIds": {
- "items": {
- "maxLength": 500,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "maxItems": 100,
- "type": "array",
- "uniqueItems": true
- },
- "status": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "summary": {
- "maxLength": 240,
- "type": "string"
- }
- },
- "type": "object"
- },
- "executionId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 128,
- "minLength": 16,
- "pattern": "^[A-Za-z0-9_-]+$",
- "type": "string"
- },
- "investigationId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "projectId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "sessionId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- }
- },
- "required": [
- "projectId",
- "idempotencyKey"
- ],
- "type": "object"
- }
- },
- "required": [
- "operation",
- "payload"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "operation": {
- "const": "update_finding",
- "type": "string"
- },
- "payload": {
- "additionalProperties": false,
- "properties": {
- "details": {
- "additionalProperties": false,
- "properties": {
- "referenceIds": {
- "items": {
- "maxLength": 500,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "maxItems": 100,
- "type": "array",
- "uniqueItems": true
- },
- "status": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "summary": {
- "maxLength": 240,
- "type": "string"
- }
- },
- "type": "object"
- },
- "executionId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "expectedVersion": {
- "minimum": 1,
- "type": "integer"
- },
- "findingId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 128,
- "minLength": 16,
- "pattern": "^[A-Za-z0-9_-]+$",
- "type": "string"
- },
- "projectId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- },
- "sessionId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
- "type": "string"
- }
- },
- "required": [
- "projectId",
- "findingId",
- "idempotencyKey",
- "expectedVersion"
- ],
- "type": "object"
- }
- },
- "required": [
- "operation",
- "payload"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "operation": {
+ "const": "create_report",
+ "description": "Select this exact operation; payload must match this branch.",
+ "type": "string"
+ },
+ "payload": {
+ "additionalProperties": false,
+ "properties": {
+ "attachments": {
+ "items": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "data": {
+ "maxLength": 6990508,
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 180,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "data"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "maxItems": 5,
+ "type": "array"
+ },
+ "body": {
+ "maxLength": 20000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "executionId": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "description": "Caller-generated retry key. Reuse the same key and identical payload only to retry the same mutation; use a new key for a new action.",
+ "maxLength": 128,
+ "minLength": 16,
+ "pattern": "^[A-Za-z0-9_-]+$",
+ "type": "string"
+ },
+ "outcome": {
+ "additionalProperties": false,
+ "description": "Optional scoped outcome. At most 8 criteria, 8 observations per criterion, and 16000 serialized UTF-8 bytes including retained criterion wording. All scope/revision/result values are recorded claims.",
+ "properties": {
+ "actualScope": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "minItems": 0,
+ "type": "array"
+ },
+ "constraints": {
+ "maxLength": 2000,
+ "minLength": 0,
+ "type": "string"
+ },
+ "criteria": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "evidence": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "criterionText": {
+ "description": "Server-retained criterion wording when this observation was first recorded.",
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "reference": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "result": {
+ "enum": [
+ "passed",
+ "failed",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "sourceRevision": {
+ "maxLength": 160,
+ "minLength": 0,
+ "type": "string"
+ }
+ },
+ "required": [
+ "result",
+ "reference"
+ ],
+ "type": "object"
+ },
+ "maxItems": 8,
+ "minItems": 0,
+ "type": "array"
+ },
+ "id": {
+ "maxLength": 80,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9_-]+$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "active",
+ "cancelled"
+ ],
+ "type": "string"
+ },
+ "text": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "text",
+ "status",
+ "evidence"
+ ],
+ "type": "object"
+ },
+ "maxItems": 8,
+ "minItems": 1,
+ "type": "array"
+ },
+ "deployedRevision": {
+ "maxLength": 160,
+ "minLength": 0,
+ "type": "string"
+ },
+ "expectedScope": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "minItems": 0,
+ "type": "array"
+ },
+ "mission": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "maxLength": 70,
+ "minLength": 1,
+ "pattern": "^focus_[A-Za-z0-9_-]{1,64}$",
+ "type": "string"
+ },
+ "intent": {
+ "maxLength": 4000,
+ "minLength": 0,
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "nodeIds": {
+ "items": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 64,
+ "minItems": 0,
+ "type": "array"
+ }
+ },
+ "required": [
+ "name",
+ "nodeIds"
+ ],
+ "type": "object"
+ },
+ "protectedScope": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "minItems": 0,
+ "type": "array"
+ },
+ "references": {
+ "additionalProperties": false,
+ "properties": {
+ "changeReviewId": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "sessionId": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "taskId": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [],
+ "type": "object"
+ },
+ "resourceObservations": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "coverage": {
+ "enum": [
+ "turn",
+ "cumulative",
+ "operation",
+ "increment"
+ ],
+ "type": "string"
+ },
+ "id": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "tokens",
+ "cost",
+ "retries",
+ "validation_effort",
+ "support_effort"
+ ],
+ "type": "string"
+ },
+ "reference": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "sessionId": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "source": {
+ "enum": [
+ "measured",
+ "estimated",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "taskId": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "turnId": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "unit": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ },
+ "value": {
+ "minimum": 0,
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "value",
+ "unit",
+ "source",
+ "reference"
+ ],
+ "type": "object"
+ },
+ "maxItems": 64,
+ "minItems": 0,
+ "type": "array"
+ },
+ "scopeExplanations": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "explanation": {
+ "maxLength": 1000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "path": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "reference": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "path",
+ "explanation",
+ "reference"
+ ],
+ "type": "object"
+ },
+ "maxItems": 32,
+ "minItems": 0,
+ "type": "array"
+ },
+ "sourceRevision": {
+ "maxLength": 160,
+ "minLength": 0,
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "active",
+ "cancelled"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "criteria"
+ ],
+ "type": "object"
+ },
+ "projectId": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "sessionId": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "summary": {
+ "maxLength": 1000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "projectId",
+ "idempotencyKey",
+ "title",
+ "summary",
+ "body"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "operation",
+ "payload"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "operation": {
+ "const": "update_report",
+ "description": "Select this exact operation; payload must match this branch.",
+ "type": "string"
+ },
+ "payload": {
+ "additionalProperties": false,
+ "properties": {
+ "attachments": {
+ "items": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "data": {
+ "maxLength": 6990508,
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 180,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "data"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "maxItems": 5,
+ "type": "array"
+ },
+ "body": {
+ "maxLength": 20000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "executionId": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "expectedVersion": {
+ "description": "Current version of the target record from its latest read or mutation result. A stale value causes a version conflict; re-read before retrying.",
+ "minimum": 1,
+ "type": "integer"
+ },
+ "idempotencyKey": {
+ "description": "Caller-generated retry key. Reuse the same key and identical payload only to retry the same mutation; use a new key for a new action.",
+ "maxLength": 128,
+ "minLength": 16,
+ "pattern": "^[A-Za-z0-9_-]+$",
+ "type": "string"
+ },
+ "markOutcomeReviewed": {
+ "const": true,
+ "type": "boolean"
+ },
+ "outcome": {
+ "additionalProperties": false,
+ "description": "Optional scoped outcome. At most 8 criteria, 8 observations per criterion, and 16000 serialized UTF-8 bytes including retained criterion wording. All scope/revision/result values are recorded claims.",
+ "properties": {
+ "actualScope": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "minItems": 0,
+ "type": "array"
+ },
+ "constraints": {
+ "maxLength": 2000,
+ "minLength": 0,
+ "type": "string"
+ },
+ "criteria": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "evidence": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "criterionText": {
+ "description": "Server-retained criterion wording when this observation was first recorded.",
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "reference": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "result": {
+ "enum": [
+ "passed",
+ "failed",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "sourceRevision": {
+ "maxLength": 160,
+ "minLength": 0,
+ "type": "string"
+ }
+ },
+ "required": [
+ "result",
+ "reference"
+ ],
+ "type": "object"
+ },
+ "maxItems": 8,
+ "minItems": 0,
+ "type": "array"
+ },
+ "id": {
+ "maxLength": 80,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9_-]+$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "active",
+ "cancelled"
+ ],
+ "type": "string"
+ },
+ "text": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "text",
+ "status",
+ "evidence"
+ ],
+ "type": "object"
+ },
+ "maxItems": 8,
+ "minItems": 1,
+ "type": "array"
+ },
+ "deployedRevision": {
+ "maxLength": 160,
+ "minLength": 0,
+ "type": "string"
+ },
+ "expectedScope": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "minItems": 0,
+ "type": "array"
+ },
+ "mission": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "maxLength": 70,
+ "minLength": 1,
+ "pattern": "^focus_[A-Za-z0-9_-]{1,64}$",
+ "type": "string"
+ },
+ "intent": {
+ "maxLength": 4000,
+ "minLength": 0,
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "nodeIds": {
+ "items": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 64,
+ "minItems": 0,
+ "type": "array"
+ }
+ },
+ "required": [
+ "name",
+ "nodeIds"
+ ],
+ "type": "object"
+ },
+ "protectedScope": {
+ "items": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "minItems": 0,
+ "type": "array"
+ },
+ "references": {
+ "additionalProperties": false,
+ "properties": {
+ "changeReviewId": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "sessionId": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "taskId": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [],
+ "type": "object"
+ },
+ "resourceObservations": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "coverage": {
+ "enum": [
+ "turn",
+ "cumulative",
+ "operation",
+ "increment"
+ ],
+ "type": "string"
+ },
+ "id": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "tokens",
+ "cost",
+ "retries",
+ "validation_effort",
+ "support_effort"
+ ],
+ "type": "string"
+ },
+ "reference": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "sessionId": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "source": {
+ "enum": [
+ "measured",
+ "estimated",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "taskId": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "turnId": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "unit": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ },
+ "value": {
+ "minimum": 0,
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "value",
+ "unit",
+ "source",
+ "reference"
+ ],
+ "type": "object"
+ },
+ "maxItems": 64,
+ "minItems": 0,
+ "type": "array"
+ },
+ "scopeExplanations": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "explanation": {
+ "maxLength": 1000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "path": {
+ "maxLength": 240,
+ "minLength": 1,
+ "type": "string"
+ },
+ "reference": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "path",
+ "explanation",
+ "reference"
+ ],
+ "type": "object"
+ },
+ "maxItems": 32,
+ "minItems": 0,
+ "type": "array"
+ },
+ "sourceRevision": {
+ "maxLength": 160,
+ "minLength": 0,
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "active",
+ "cancelled"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "criteria"
+ ],
+ "type": "object"
+ },
+ "projectId": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "reportId": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "sessionId": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "summary": {
+ "maxLength": 1000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "projectId",
+ "idempotencyKey",
+ "reportId",
+ "expectedVersion"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "operation",
+ "payload"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "operation": {
+ "const": "create_report_bug",
+ "description": "Select this exact operation; payload must match this branch.",
+ "type": "string"
+ },
+ "payload": {
+ "additionalProperties": false,
+ "properties": {
+ "executionId": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "description": "Caller-generated retry key. Reuse the same key and identical payload only to retry the same mutation; use a new key for a new action.",
+ "maxLength": 128,
+ "minLength": 16,
+ "pattern": "^[A-Za-z0-9_-]+$",
+ "type": "string"
+ },
+ "linkedNodeIds": {
+ "items": {
+ "maxLength": 500,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "notes": {
+ "maxLength": 2000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "projectId": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "reportId": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "sessionId": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "severity": {
+ "enum": [
+ "info",
+ "warning",
+ "high"
+ ],
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "projectId",
+ "idempotencyKey",
+ "title",
+ "notes"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "operation",
+ "payload"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "operation": {
+ "const": "create_finding",
+ "description": "Select this exact operation; payload must match this branch.",
+ "type": "string"
+ },
+ "payload": {
+ "additionalProperties": false,
+ "properties": {
+ "details": {
+ "additionalProperties": false,
+ "description": "Optional bounded metadata using only the listed fields, such as summary, status and referenceIds. Not arbitrary command arguments or source content.",
+ "properties": {
+ "referenceIds": {
+ "items": {
+ "maxLength": 500,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "maxItems": 100,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "status": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "summary": {
+ "maxLength": 240,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "executionId": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "description": "Caller-generated retry key. Reuse the same key and identical payload only to retry the same mutation; use a new key for a new action.",
+ "maxLength": 128,
+ "minLength": 16,
+ "pattern": "^[A-Za-z0-9_-]+$",
+ "type": "string"
+ },
+ "projectId": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "sessionId": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "projectId",
+ "idempotencyKey"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "operation",
+ "payload"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "operation": {
+ "const": "create_local_change_review",
+ "description": "Select this exact operation; payload must match this branch.",
+ "type": "string"
+ },
+ "payload": {
+ "additionalProperties": false,
+ "properties": {
+ "details": {
+ "additionalProperties": false,
+ "description": "Optional bounded metadata using only the listed fields, such as summary, status and referenceIds. Not arbitrary command arguments or source content.",
+ "properties": {
+ "referenceIds": {
+ "items": {
+ "maxLength": 500,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "maxItems": 100,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "status": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "summary": {
+ "maxLength": 240,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "executionId": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "description": "Caller-generated retry key. Reuse the same key and identical payload only to retry the same mutation; use a new key for a new action.",
+ "maxLength": 128,
+ "minLength": 16,
+ "pattern": "^[A-Za-z0-9_-]+$",
+ "type": "string"
+ },
+ "projectId": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "reviewId": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "sessionId": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "projectId",
+ "idempotencyKey"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "operation",
+ "payload"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "operation": {
+ "const": "promote_insight_to_finding",
+ "description": "Select this exact operation; payload must match this branch.",
+ "type": "string"
+ },
+ "payload": {
+ "additionalProperties": false,
+ "properties": {
+ "details": {
+ "additionalProperties": false,
+ "description": "Optional bounded metadata using only the listed fields, such as summary, status and referenceIds. Not arbitrary command arguments or source content.",
+ "properties": {
+ "referenceIds": {
+ "items": {
+ "maxLength": 500,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "maxItems": 100,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "status": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "summary": {
+ "maxLength": 240,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "executionId": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "findingId": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "description": "Caller-generated retry key. Reuse the same key and identical payload only to retry the same mutation; use a new key for a new action.",
+ "maxLength": 128,
+ "minLength": 16,
+ "pattern": "^[A-Za-z0-9_-]+$",
+ "type": "string"
+ },
+ "projectId": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "sessionId": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "projectId",
+ "findingId",
+ "idempotencyKey"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "operation",
+ "payload"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "operation": {
+ "const": "refresh_local_change_review",
+ "description": "Select this exact operation; payload must match this branch.",
+ "type": "string"
+ },
+ "payload": {
+ "additionalProperties": false,
+ "properties": {
+ "details": {
+ "additionalProperties": false,
+ "description": "Optional bounded metadata using only the listed fields, such as summary, status and referenceIds. Not arbitrary command arguments or source content.",
+ "properties": {
+ "referenceIds": {
+ "items": {
+ "maxLength": 500,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "maxItems": 100,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "status": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "summary": {
+ "maxLength": 240,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "executionId": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "expectedVersion": {
+ "description": "Current version of the target record from its latest read or mutation result. A stale value causes a version conflict; re-read before retrying.",
+ "minimum": 1,
+ "type": "integer"
+ },
+ "idempotencyKey": {
+ "description": "Caller-generated retry key. Reuse the same key and identical payload only to retry the same mutation; use a new key for a new action.",
+ "maxLength": 128,
+ "minLength": 16,
+ "pattern": "^[A-Za-z0-9_-]+$",
+ "type": "string"
+ },
+ "projectId": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "reviewId": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "sessionId": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "projectId",
+ "reviewId",
+ "idempotencyKey",
+ "expectedVersion"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "operation",
+ "payload"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "operation": {
+ "const": "save_investigation",
+ "description": "Select this exact operation; payload must match this branch.",
+ "type": "string"
+ },
+ "payload": {
+ "additionalProperties": false,
+ "properties": {
+ "details": {
+ "additionalProperties": false,
+ "description": "Optional bounded metadata using only the listed fields, such as summary, status and referenceIds. Not arbitrary command arguments or source content.",
+ "properties": {
+ "referenceIds": {
+ "items": {
+ "maxLength": 500,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "maxItems": 100,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "status": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "summary": {
+ "maxLength": 240,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "executionId": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "description": "Caller-generated retry key. Reuse the same key and identical payload only to retry the same mutation; use a new key for a new action.",
+ "maxLength": 128,
+ "minLength": 16,
+ "pattern": "^[A-Za-z0-9_-]+$",
+ "type": "string"
+ },
+ "investigationId": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "projectId": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "sessionId": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "projectId",
+ "idempotencyKey"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "operation",
+ "payload"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "operation": {
+ "const": "update_finding",
+ "description": "Select this exact operation; payload must match this branch.",
+ "type": "string"
+ },
+ "payload": {
+ "additionalProperties": false,
+ "properties": {
+ "details": {
+ "additionalProperties": false,
+ "description": "Optional bounded metadata using only the listed fields, such as summary, status and referenceIds. Not arbitrary command arguments or source content.",
+ "properties": {
+ "referenceIds": {
+ "items": {
+ "maxLength": 500,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "maxItems": 100,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "status": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "summary": {
+ "maxLength": 240,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "executionId": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "expectedVersion": {
+ "description": "Current version of the target record from its latest read or mutation result. A stale value causes a version conflict; re-read before retrying.",
+ "minimum": 1,
+ "type": "integer"
+ },
+ "findingId": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "description": "Caller-generated retry key. Reuse the same key and identical payload only to retry the same mutation; use a new key for a new action.",
+ "maxLength": 128,
+ "minLength": 16,
+ "pattern": "^[A-Za-z0-9_-]+$",
+ "type": "string"
+ },
+ "projectId": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ },
+ "sessionId": {
+ "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "projectId",
+ "findingId",
+ "idempotencyKey",
+ "expectedVersion"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "operation",
+ "payload"
+ ],
+ "type": "object"
+ }
+]