changedOutput schema / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "activity_ref": {
- "maxLength": 4096,
- "minLength": 1,
- "type": "string"
- },
- "error_code": {
- "maxLength": 64,
- "type": "string"
- },
- "execution_diagnostic": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "maxLength": 64,
- "type": "string"
- },
- "evidence": {
- "additionalProperties": false,
- "properties": {
- "attempt_count": {
- "maximum": 100,
- "minimum": 1,
- "type": "integer"
- },
- "finish_reason": {
- "enum": [
- "max_output_tokens",
- "max_tokens",
- "length",
- "content_filter",
- "refusal",
- "unknown"
- ]
- },
- "max_output_tokens": {
- "maximum": 10000000,
- "minimum": 0,
- "type": "integer"
- },
- "reasoning_tokens": {
- "maximum": 10000000,
- "minimum": 0,
- "type": "integer"
- },
- "source": {
- "enum": [
- "structured_executor",
- "legacy_executor_message"
- ]
- },
- "total_output_tokens": {
- "maximum": 10000000,
- "minimum": 0,
- "type": "integer"
- },
- "visible_output_tokens": {
- "maximum": 10000000,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "source"
- ],
- "type": "object"
- },
- "field_path": {
- "items": {
- "maxLength": 64,
- "type": "string"
- },
- "maxItems": 4,
- "type": "array"
- },
- "fix_hint": {
- "maxLength": 300,
- "type": "string"
- },
- "message": {
- "maxLength": 200,
- "type": "string"
- },
- "node_type": {
- "maxLength": 64,
- "type": "string"
- },
- "step_id": {
- "maxLength": 128,
- "type": "string"
- }
- },
- "required": [
- "step_id",
- "node_type",
- "code",
- "field_path",
- "message",
- "fix_hint"
- ],
- "type": "object"
- },
- "kind": {
- "const": "review"
- },
- "retry": {
- "additionalProperties": false,
- "properties": {
- "attempt": {
- "maximum": 3,
- "minimum": 1,
- "type": "integer"
- },
- "maximum_attempts": {
- "const": 3
- },
- "reason": {
- "enum": [
- "review_processing_interrupted",
- "provider_result_processing_retry",
- "settlement_retry"
- ]
- },
- "retry_at": {
- "format": "date-time",
- "maxLength": 64,
- "type": "string"
- },
- "state": {
- "enum": [
- "scheduled",
- "retrying"
- ]
- }
- },
- "required": [
- "state",
- "attempt",
- "maximum_attempts",
- "retry_at",
- "reason"
- ],
- "type": "object"
- },
- "revision": {
- "maxLength": 64,
- "pattern": "^[0-9a-f]{64}$",
- "type": "string"
- },
- "section": {
- "const": "summary"
- },
- "state": {
- "enum": [
- "queued",
- "running",
- "blocked",
- "done",
- "failed",
- "cancelled"
- ]
- },
- "summary": {
- "additionalProperties": false,
- "properties": {
- "issues": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "category": {
- "enum": [
- "runtime_contract",
- "semantic_contract",
- "method",
- "safety",
- "research",
- "advisory"
- ]
- },
- "code": {
- "maxLength": 64,
- "type": "string"
- },
- "counterexample": {
- "maxLength": 1000,
- "type": "string"
- },
- "evidence_path": {
- "maxLength": 512,
- "type": "string"
- },
- "evidence_status": {
- "enum": [
- "source_verified",
- "unsupported"
- ]
- },
- "recommendation": {
- "maxLength": 4000,
- "type": "string"
- },
- "runtime_binding_status": {
- "const": "verified"
- },
- "severity": {
- "enum": [
- "info",
- "warning",
- "error"
- ]
- }
- },
- "required": [
- "code",
- "severity"
- ],
- "type": "object"
- },
- "maxItems": 50,
- "type": "array"
- },
- "review_cost": {
- "additionalProperties": false,
- "properties": {
- "basis": {
- "const": "utf8_byte_upper_bound"
- },
- "estimated_credits": {
- "maxLength": 64,
- "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
- "type": "string"
- },
- "input_token_bound": {
- "minimum": 0,
- "type": "integer"
- },
- "limit_credits": {
- "maxLength": 64,
- "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
- "type": "string"
- },
- "model": {
- "maxLength": 200,
- "type": "string"
- },
- "output_token_cap": {
- "minimum": 0,
- "type": "integer"
- },
- "prompt_bytes": {
- "minimum": 0,
- "type": "integer"
- },
- "provider": {
- "maxLength": 200,
- "type": "string"
- },
- "section_bytes": {
- "additionalProperties": false,
- "properties": {
- "acceptance_suite": {
- "minimum": 0,
- "type": "integer"
- },
- "input_contract": {
- "minimum": 0,
- "type": "integer"
- },
- "intent": {
- "minimum": 0,
- "type": "integer"
- },
- "output_contract": {
- "minimum": 0,
- "type": "integer"
- },
- "research_evidence": {
- "minimum": 0,
- "type": "integer"
- },
- "spec": {
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [],
- "type": "object"
- }
- },
- "required": [
- "estimated_credits",
- "limit_credits",
- "provider",
- "model",
- "basis",
- "input_token_bound",
- "output_token_cap",
- "prompt_bytes",
- "section_bytes"
- ],
- "type": "object"
- },
- "strengths": {
- "items": {
- "maxLength": 300,
- "type": "string"
- },
- "maxItems": 20,
- "type": "array"
- },
- "verdict": {
- "enum": [
- "pending",
- "pass",
- "revise"
- ]
- }
- },
- "required": [
- "verdict",
- "issues",
- "strengths"
- ],
- "type": "object"
- },
- "terminal": {
- "type": "boolean"
- },
- "truncation": {
- "additionalProperties": false,
- "properties": {
- "applied": {
- "const": true
- },
- "omitted_items": {
- "minimum": 0,
- "type": "integer"
- },
- "original_result_bytes": {
- "minimum": 1,
- "type": "integer"
- },
- "reason": {
- "const": "response_size_limit"
- },
- "truncated_values": {
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "applied",
- "reason",
- "omitted_items",
- "truncated_values",
- "original_result_bytes"
- ],
- "type": "object"
- }
- },
- "required": [
- "activity_ref",
- "kind",
- "state",
- "revision",
- "terminal",
- "section",
- "summary"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "activity_ref": {
- "maxLength": 4096,
- "minLength": 1,
- "type": "string"
- },
- "error_code": {
- "maxLength": 64,
- "type": "string"
- },
- "execution_diagnostic": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "maxLength": 64,
- "type": "string"
- },
- "evidence": {
- "additionalProperties": false,
- "properties": {
- "attempt_count": {
- "maximum": 100,
- "minimum": 1,
- "type": "integer"
- },
- "finish_reason": {
- "enum": [
- "max_output_tokens",
- "max_tokens",
- "length",
- "content_filter",
- "refusal",
- "unknown"
- ]
- },
- "max_output_tokens": {
- "maximum": 10000000,
- "minimum": 0,
- "type": "integer"
- },
- "reasoning_tokens": {
- "maximum": 10000000,
- "minimum": 0,
- "type": "integer"
- },
- "source": {
- "enum": [
- "structured_executor",
- "legacy_executor_message"
- ]
- },
- "total_output_tokens": {
- "maximum": 10000000,
- "minimum": 0,
- "type": "integer"
- },
- "visible_output_tokens": {
- "maximum": 10000000,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "source"
- ],
- "type": "object"
- },
- "field_path": {
- "items": {
- "maxLength": 64,
- "type": "string"
- },
- "maxItems": 4,
- "type": "array"
- },
- "fix_hint": {
- "maxLength": 300,
- "type": "string"
- },
- "message": {
- "maxLength": 200,
- "type": "string"
- },
- "node_type": {
- "maxLength": 64,
- "type": "string"
- },
- "step_id": {
- "maxLength": 128,
- "type": "string"
- }
- },
- "required": [
- "step_id",
- "node_type",
- "code",
- "field_path",
- "message",
- "fix_hint"
- ],
- "type": "object"
- },
- "kind": {
- "const": "acceptance_batch"
- },
- "retry": {
- "additionalProperties": false,
- "properties": {
- "attempt": {
- "maximum": 3,
- "minimum": 1,
- "type": "integer"
- },
- "maximum_attempts": {
- "const": 3
- },
- "reason": {
- "enum": [
- "review_processing_interrupted",
- "provider_result_processing_retry",
- "settlement_retry"
- ]
- },
- "retry_at": {
- "format": "date-time",
- "maxLength": 64,
- "type": "string"
- },
- "state": {
- "enum": [
- "scheduled",
- "retrying"
- ]
- }
- },
- "required": [
- "state",
- "attempt",
- "maximum_attempts",
- "retry_at",
- "reason"
- ],
- "type": "object"
- },
- "revision": {
- "maxLength": 64,
- "pattern": "^[0-9a-f]{64}$",
- "type": "string"
- },
- "section": {
- "const": "summary"
- },
- "state": {
- "enum": [
- "queued",
- "running",
- "blocked",
- "done",
- "failed",
- "cancelled"
- ]
- },
- "summary": {
- "additionalProperties": false,
- "properties": {
- "billing_anomalies": {
- "maximum": 50,
- "minimum": 0,
- "type": "integer"
- },
- "cancelled": {
- "maximum": 50,
- "minimum": 0,
- "type": "integer"
- },
- "case_count": {
- "maximum": 50,
- "minimum": 0,
- "type": "integer"
- },
- "failed": {
- "maximum": 50,
- "minimum": 0,
- "type": "integer"
- },
- "passed": {
- "maximum": 50,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "case_count"
- ],
- "type": "object"
- },
- "terminal": {
- "type": "boolean"
- },
- "truncation": {
- "additionalProperties": false,
- "properties": {
- "applied": {
- "const": true
- },
- "omitted_items": {
- "minimum": 0,
- "type": "integer"
- },
- "original_result_bytes": {
- "minimum": 1,
- "type": "integer"
- },
- "reason": {
- "const": "response_size_limit"
- },
- "truncated_values": {
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "applied",
- "reason",
- "omitted_items",
- "truncated_values",
- "original_result_bytes"
- ],
- "type": "object"
- }
- },
- "required": [
- "activity_ref",
- "kind",
- "state",
- "revision",
- "terminal",
- "section",
- "summary"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "activity_ref": {
- "maxLength": 4096,
- "minLength": 1,
- "type": "string"
- },
- "error_code": {
- "maxLength": 64,
- "type": "string"
- },
- "execution_diagnostic": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "maxLength": 64,
- "type": "string"
- },
- "evidence": {
- "additionalProperties": false,
- "properties": {
- "attempt_count": {
- "maximum": 100,
- "minimum": 1,
- "type": "integer"
- },
- "finish_reason": {
- "enum": [
- "max_output_tokens",
- "max_tokens",
- "length",
- "content_filter",
- "refusal",
- "unknown"
- ]
- },
- "max_output_tokens": {
- "maximum": 10000000,
- "minimum": 0,
- "type": "integer"
- },
- "reasoning_tokens": {
- "maximum": 10000000,
- "minimum": 0,
- "type": "integer"
- },
- "source": {
- "enum": [
- "structured_executor",
- "legacy_executor_message"
- ]
- },
- "total_output_tokens": {
- "maximum": 10000000,
- "minimum": 0,
- "type": "integer"
- },
- "visible_output_tokens": {
- "maximum": 10000000,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "source"
- ],
- "type": "object"
- },
- "field_path": {
- "items": {
- "maxLength": 64,
- "type": "string"
- },
- "maxItems": 4,
- "type": "array"
- },
- "fix_hint": {
- "maxLength": 300,
- "type": "string"
- },
- "message": {
- "maxLength": 200,
- "type": "string"
- },
- "node_type": {
- "maxLength": 64,
- "type": "string"
- },
- "step_id": {
- "maxLength": 128,
- "type": "string"
- }
- },
- "required": [
- "step_id",
- "node_type",
- "code",
- "field_path",
- "message",
- "fix_hint"
- ],
- "type": "object"
- },
- "kind": {
- "const": "acceptance_case"
- },
- "retry": {
- "additionalProperties": false,
- "properties": {
- "attempt": {
- "maximum": 3,
- "minimum": 1,
- "type": "integer"
- },
- "maximum_attempts": {
- "const": 3
- },
- "reason": {
- "enum": [
- "review_processing_interrupted",
- "provider_result_processing_retry",
- "settlement_retry"
- ]
- },
- "retry_at": {
- "format": "date-time",
- "maxLength": 64,
- "type": "string"
- },
- "state": {
- "enum": [
- "scheduled",
- "retrying"
- ]
- }
- },
- "required": [
- "state",
- "attempt",
- "maximum_attempts",
- "retry_at",
- "reason"
- ],
- "type": "object"
- },
- "revision": {
- "maxLength": 64,
- "pattern": "^[0-9a-f]{64}$",
- "type": "string"
- },
- "section": {
- "const": "summary"
- },
- "state": {
- "enum": [
- "queued",
- "running",
- "blocked",
- "done",
- "failed",
- "cancelled"
- ]
- },
- "summary": {
- "additionalProperties": false,
- "properties": {},
- "required": [],
- "type": "object"
- },
- "terminal": {
- "type": "boolean"
- },
- "truncation": {
- "additionalProperties": false,
- "properties": {
- "applied": {
- "const": true
- },
- "omitted_items": {
- "minimum": 0,
- "type": "integer"
- },
- "original_result_bytes": {
- "minimum": 1,
- "type": "integer"
- },
- "reason": {
- "const": "response_size_limit"
- },
- "truncated_values": {
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "applied",
- "reason",
- "omitted_items",
- "truncated_values",
- "original_result_bytes"
- ],
- "type": "object"
- }
- },
- "required": [
- "activity_ref",
- "kind",
- "state",
- "revision",
- "terminal",
- "section",
- "summary"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "activity_ref": {
- "maxLength": 4096,
- "minLength": 1,
- "type": "string"
- },
- "billing": {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "retry_after_seconds": {
- "const": 2
- },
- "state": {
- "const": "pending"
- }
- },
- "required": [
- "state",
- "retry_after_seconds"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "state": {
- "const": "unavailable"
- }
- },
- "required": [
- "state"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "charge_disposition": {
- "const": "platform_absorbed"
- },
- "provider_cost_status": {
- "const": "unknown"
- },
- "remaining_budget": {
- "maxLength": 64,
- "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
- "type": "string"
- },
- "settled_credits": {
- "maxLength": 64,
- "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
- "type": "string"
- },
- "state": {
- "const": "settled"
- }
- },
- "required": [
- "state",
- "settled_credits",
- "remaining_budget"
- ],
- "type": "object"
- }
- ]
- },
- "error_code": {
- "maxLength": 64,
- "type": "string"
- },
- "execution_diagnostic": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "maxLength": 64,
- "type": "string"
- },
- "evidence": {
- "additionalProperties": false,
- "properties": {
- "attempt_count": {
- "maximum": 100,
- "minimum": 1,
- "type": "integer"
- },
- "finish_reason": {
- "enum": [
- "max_output_tokens",
- "max_tokens",
- "length",
- "content_filter",
- "refusal",
- "unknown"
- ]
- },
- "max_output_tokens": {
- "maximum": 10000000,
- "minimum": 0,
- "type": "integer"
- },
- "reasoning_tokens": {
- "maximum": 10000000,
- "minimum": 0,
- "type": "integer"
- },
- "source": {
- "enum": [
- "structured_executor",
- "legacy_executor_message"
- ]
- },
- "total_output_tokens": {
- "maximum": 10000000,
- "minimum": 0,
- "type": "integer"
- },
- "visible_output_tokens": {
- "maximum": 10000000,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "source"
- ],
- "type": "object"
- },
- "field_path": {
- "items": {
- "maxLength": 64,
- "type": "string"
- },
- "maxItems": 4,
- "type": "array"
- },
- "fix_hint": {
- "maxLength": 300,
- "type": "string"
- },
- "message": {
- "maxLength": 200,
- "type": "string"
- },
- "node_type": {
- "maxLength": 64,
- "type": "string"
- },
- "step_id": {
- "maxLength": 128,
- "type": "string"
- }
- },
- "required": [
- "step_id",
- "node_type",
- "code",
- "field_path",
- "message",
- "fix_hint"
- ],
- "type": "object"
- },
- "kind": {
- "enum": [
- "review",
- "acceptance_batch",
- "acceptance_case"
- ]
- },
- "retry": {
- "additionalProperties": false,
- "properties": {
- "attempt": {
- "maximum": 3,
- "minimum": 1,
- "type": "integer"
- },
- "maximum_attempts": {
- "const": 3
- },
- "reason": {
- "enum": [
- "review_processing_interrupted",
- "provider_result_processing_retry",
- "settlement_retry"
- ]
- },
- "retry_at": {
- "format": "date-time",
- "maxLength": 64,
- "type": "string"
- },
- "state": {
- "enum": [
- "scheduled",
- "retrying"
- ]
- }
- },
- "required": [
- "state",
- "attempt",
- "maximum_attempts",
- "retry_at",
- "reason"
- ],
- "type": "object"
- },
- "revision": {
- "maxLength": 64,
- "pattern": "^[0-9a-f]{64}$",
- "type": "string"
- },
- "section": {
- "const": "billing"
- },
- "state": {
- "enum": [
- "queued",
- "running",
- "blocked",
- "done",
- "failed",
- "cancelled"
- ]
- },
- "terminal": {
- "type": "boolean"
- },
- "truncation": {
- "additionalProperties": false,
- "properties": {
- "applied": {
- "const": true
- },
- "omitted_items": {
- "minimum": 0,
- "type": "integer"
- },
- "original_result_bytes": {
- "minimum": 1,
- "type": "integer"
- },
- "reason": {
- "const": "response_size_limit"
- },
- "truncated_values": {
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "applied",
- "reason",
- "omitted_items",
- "truncated_values",
- "original_result_bytes"
- ],
- "type": "object"
- }
- },
- "required": [
- "activity_ref",
- "kind",
- "state",
- "revision",
- "terminal",
- "section",
- "billing"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "activity_ref": {
- "maxLength": 4096,
- "minLength": 1,
- "type": "string"
- },
- "error_code": {
- "maxLength": 64,
- "type": "string"
- },
- "execution_diagnostic": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "maxLength": 64,
- "type": "string"
- },
- "evidence": {
- "additionalProperties": false,
- "properties": {
- "attempt_count": {
- "maximum": 100,
- "minimum": 1,
- "type": "integer"
- },
- "finish_reason": {
- "enum": [
- "max_output_tokens",
- "max_tokens",
- "length",
- "content_filter",
- "refusal",
- "unknown"
- ]
- },
- "max_output_tokens": {
- "maximum": 10000000,
- "minimum": 0,
- "type": "integer"
- },
- "reasoning_tokens": {
- "maximum": 10000000,
- "minimum": 0,
- "type": "integer"
- },
- "source": {
- "enum": [
- "structured_executor",
- "legacy_executor_message"
- ]
- },
- "total_output_tokens": {
- "maximum": 10000000,
- "minimum": 0,
- "type": "integer"
- },
- "visible_output_tokens": {
- "maximum": 10000000,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "source"
- ],
- "type": "object"
- },
- "field_path": {
- "items": {
- "maxLength": 64,
- "type": "string"
- },
- "maxItems": 4,
- "type": "array"
- },
- "fix_hint": {
- "maxLength": 300,
- "type": "string"
- },
- "message": {
- "maxLength": 200,
- "type": "string"
- },
- "node_type": {
- "maxLength": 64,
- "type": "string"
- },
- "step_id": {
- "maxLength": 128,
- "type": "string"
- }
- },
- "required": [
- "step_id",
- "node_type",
- "code",
- "field_path",
- "message",
- "fix_hint"
- ],
- "type": "object"
- },
- "kind": {
- "enum": [
- "review",
- "acceptance_batch",
- "acceptance_case"
- ]
- },
- "nodes": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "billing": {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "retry_after_seconds": {
- "const": 2
- },
- "state": {
- "const": "pending"
- }
- },
- "required": [
- "state",
- "retry_after_seconds"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "state": {
- "const": "unavailable"
- }
- },
- "required": [
- "state"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "charge_disposition": {
- "const": "platform_absorbed"
- },
- "provider_cost_status": {
- "const": "unknown"
- },
- "remaining_budget": {
- "maxLength": 64,
- "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
- "type": "string"
- },
- "settled_credits": {
- "maxLength": 64,
- "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
- "type": "string"
- },
- "state": {
- "const": "settled"
- }
- },
- "required": [
- "state",
- "settled_credits",
- "remaining_budget"
- ],
- "type": "object"
- }
- ]
- },
- "case_id": {
- "maxLength": 64,
- "type": "string"
- },
- "error_code": {
- "maxLength": 64,
- "type": "string"
- },
- "execution_diagnostic": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "maxLength": 64,
- "type": "string"
- },
- "evidence": {
- "additionalProperties": false,
- "properties": {
- "attempt_count": {
- "maximum": 100,
- "minimum": 1,
- "type": "integer"
- },
- "finish_reason": {
- "enum": [
- "max_output_tokens",
- "max_tokens",
- "length",
- "content_filter",
- "refusal",
- "unknown"
- ]
- },
- "max_output_tokens": {
- "maximum": 10000000,
- "minimum": 0,
- "type": "integer"
- },
- "reasoning_tokens": {
- "maximum": 10000000,
- "minimum": 0,
- "type": "integer"
- },
- "source": {
- "enum": [
- "structured_executor",
- "legacy_executor_message"
- ]
- },
- "total_output_tokens": {
- "maximum": 10000000,
- "minimum": 0,
- "type": "integer"
- },
- "visible_output_tokens": {
- "maximum": 10000000,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "source"
- ],
- "type": "object"
- },
- "field_path": {
- "items": {
- "maxLength": 64,
- "type": "string"
- },
- "maxItems": 4,
- "type": "array"
- },
- "fix_hint": {
- "maxLength": 300,
- "type": "string"
- },
- "message": {
- "maxLength": 200,
- "type": "string"
- },
- "node_type": {
- "maxLength": 64,
- "type": "string"
- },
- "step_id": {
- "maxLength": 128,
- "type": "string"
- }
- },
- "required": [
- "step_id",
- "node_type",
- "code",
- "field_path",
- "message",
- "fix_hint"
- ],
- "type": "object"
- },
- "state": {
- "enum": [
- "queued",
- "running",
- "blocked",
- "done",
- "failed",
- "cancelled"
- ]
- }
- },
- "required": [
- "case_id",
- "state",
- "billing"
- ],
- "type": "object"
- },
- "maxItems": 50,
- "type": "array"
- },
- "retry": {
- "additionalProperties": false,
- "properties": {
- "attempt": {
- "maximum": 3,
- "minimum": 1,
- "type": "integer"
- },
- "maximum_attempts": {
- "const": 3
- },
- "reason": {
- "enum": [
- "review_processing_interrupted",
- "provider_result_processing_retry",
- "settlement_retry"
- ]
- },
- "retry_at": {
- "format": "date-time",
- "maxLength": 64,
- "type": "string"
- },
- "state": {
- "enum": [
- "scheduled",
- "retrying"
- ]
- }
- },
- "required": [
- "state",
- "attempt",
- "maximum_attempts",
- "retry_at",
- "reason"
- ],
- "type": "object"
- },
- "revision": {
- "maxLength": 64,
- "pattern": "^[0-9a-f]{64}$",
- "type": "string"
- },
- "section": {
- "const": "nodes"
- },
- "state": {
- "enum": [
- "queued",
- "running",
- "blocked",
- "done",
- "failed",
- "cancelled"
- ]
- },
- "terminal": {
- "type": "boolean"
- },
- "truncation": {
- "additionalProperties": false,
- "properties": {
- "applied": {
- "const": true
- },
- "omitted_items": {
- "minimum": 0,
- "type": "integer"
- },
- "original_result_bytes": {
- "minimum": 1,
- "type": "integer"
- },
- "reason": {
- "const": "response_size_limit"
- },
- "truncated_values": {
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "applied",
- "reason",
- "omitted_items",
- "truncated_values",
- "original_result_bytes"
- ],
- "type": "object"
- }
- },
- "required": [
- "activity_ref",
- "kind",
- "state",
- "revision",
- "terminal",
- "section",
- "nodes"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "activity_ref": {
- "maxLength": 4096,
- "minLength": 1,
- "type": "string"
- },
- "coverage": {
- "additionalProperties": false,
- "properties": {
- "qualified": {
- "type": "boolean"
- },
- "required_case_ids": {
- "items": {
- "maxLength": 64,
- "type": "string"
- },
- "maxItems": 50,
- "type": "array"
- },
- "selected_case_ids": {
- "items": {
- "maxLength": 64,
- "type": "string"
- },
- "maxItems": 50,
- "type": "array"
- }
- },
- "required": [
- "selected_case_ids",
- "required_case_ids",
- "qualified"
- ],
- "type": "object"
- },
- "error_code": {
- "maxLength": 64,
- "type": "string"
- },
- "execution_diagnostic": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "maxLength": 64,
- "type": "string"
- },
- "evidence": {
- "additionalProperties": false,
- "properties": {
- "attempt_count": {
- "maximum": 100,
- "minimum": 1,
- "type": "integer"
- },
- "finish_reason": {
- "enum": [
- "max_output_tokens",
- "max_tokens",
- "length",
- "content_filter",
- "refusal",
- "unknown"
- ]
- },
- "max_output_tokens": {
- "maximum": 10000000,
- "minimum": 0,
- "type": "integer"
- },
- "reasoning_tokens": {
- "maximum": 10000000,
- "minimum": 0,
- "type": "integer"
- },
- "source": {
- "enum": [
- "structured_executor",
- "legacy_executor_message"
- ]
- },
- "total_output_tokens": {
- "maximum": 10000000,
- "minimum": 0,
- "type": "integer"
- },
- "visible_output_tokens": {
- "maximum": 10000000,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "source"
- ],
- "type": "object"
- },
- "field_path": {
- "items": {
- "maxLength": 64,
- "type": "string"
- },
- "maxItems": 4,
- "type": "array"
- },
- "fix_hint": {
- "maxLength": 300,
- "type": "string"
- },
- "message": {
- "maxLength": 200,
- "type": "string"
- },
- "node_type": {
- "maxLength": 64,
- "type": "string"
- },
- "step_id": {
- "maxLength": 128,
- "type": "string"
- }
- },
- "required": [
- "step_id",
- "node_type",
- "code",
- "field_path",
- "message",
- "fix_hint"
- ],
- "type": "object"
- },
- "kind": {
- "enum": [
- "review",
- "acceptance_batch",
- "acceptance_case"
- ]
- },
- "retry": {
- "additionalProperties": false,
- "properties": {
- "attempt": {
- "maximum": 3,
- "minimum": 1,
- "type": "integer"
- },
- "maximum_attempts": {
- "const": 3
- },
- "reason": {
- "enum": [
- "review_processing_interrupted",
- "provider_result_processing_retry",
- "settlement_retry"
- ]
- },
- "retry_at": {
- "format": "date-time",
- "maxLength": 64,
- "type": "string"
- },
- "state": {
- "enum": [
- "scheduled",
- "retrying"
- ]
- }
- },
- "required": [
- "state",
- "attempt",
- "maximum_attempts",
- "retry_at",
- "reason"
- ],
- "type": "object"
- },
- "revision": {
- "maxLength": 64,
- "pattern": "^[0-9a-f]{64}$",
- "type": "string"
- },
- "section": {
- "const": "coverage"
- },
- "state": {
- "enum": [
- "queued",
- "running",
- "blocked",
- "done",
- "failed",
- "cancelled"
- ]
- },
- "terminal": {
- "type": "boolean"
- },
- "truncation": {
- "additionalProperties": false,
- "properties": {
- "applied": {
- "const": true
- },
- "omitted_items": {
- "minimum": 0,
- "type": "integer"
- },
- "original_result_bytes": {
- "minimum": 1,
- "type": "integer"
- },
- "reason": {
- "const": "response_size_limit"
- },
- "truncated_values": {
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "applied",
- "reason",
- "omitted_items",
- "truncated_values",
- "original_result_bytes"
- ],
- "type": "object"
- }
- },
- "required": [
- "activity_ref",
- "kind",
- "state",
- "revision",
- "terminal",
- "section",
- "coverage"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "activity_ref": {
- "maxLength": 4096,
- "minLength": 1,
- "type": "string"
- },
- "cases": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "assertions": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "assertion_id": {
- "maxLength": 64,
- "type": "string"
- },
- "code": {
- "maxLength": 64,
- "type": "string"
- },
- "diagnostic": {
- "additionalProperties": false,
- "properties": {
- "actual_missing": {
- "type": "boolean"
- },
- "actual_preview": {
- "maxLength": 256,
- "type": "string"
- },
- "availability": {
- "enum": [
- "available",
- "unavailable"
- ]
- },
- "expected_preview": {
- "maxLength": 256,
- "type": "string"
- },
- "operator": {
- "maxLength": 64,
- "type": "string"
- },
- "paired_actual_missing": {
- "type": "boolean"
- },
- "paired_actual_preview": {
- "maxLength": 256,
- "type": "string"
- },
- "path": {
- "maxLength": 512,
- "type": "string"
- },
- "truncated": {
- "type": "boolean"
- },
- "type": {
- "maxLength": 64,
- "type": "string"
- }
- },
- "required": [
- "availability"
- ],
- "type": "object"
- },
- "passed": {
- "type": "boolean"
- }
- },
- "required": [
- "assertion_id",
- "passed",
- "code"
- ],
- "type": "object"
- },
- "maxItems": 50,
- "type": "array"
- },
- "case_id": {
- "maxLength": 64,
- "type": "string"
- },
- "error_code": {
- "maxLength": 64,
- "type": "string"
- },
- "execution_diagnostic": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "maxLength": 64,
- "type": "string"
- },
- "evidence": {
- "additionalProperties": false,
- "properties": {
- "attempt_count": {
- "maximum": 100,
- "minimum": 1,
- "type": "integer"
- },
- "finish_reason": {
- "enum": [
- "max_output_tokens",
- "max_tokens",
- "length",
- "content_filter",
- "refusal",
- "unknown"
- ]
- },
- "max_output_tokens": {
- "maximum": 10000000,
- "minimum": 0,
- "type": "integer"
- },
- "reasoning_tokens": {
- "maximum": 10000000,
- "minimum": 0,
- "type": "integer"
- },
- "source": {
- "enum": [
- "structured_executor",
- "legacy_executor_message"
- ]
- },
- "total_output_tokens": {
- "maximum": 10000000,
- "minimum": 0,
- "type": "integer"
- },
- "visible_output_tokens": {
- "maximum": 10000000,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "source"
- ],
- "type": "object"
- },
- "field_path": {
- "items": {
- "maxLength": 64,
- "type": "string"
- },
- "maxItems": 4,
- "type": "array"
- },
- "fix_hint": {
- "maxLength": 300,
- "type": "string"
- },
- "message": {
- "maxLength": 200,
- "type": "string"
- },
- "node_type": {
- "maxLength": 64,
- "type": "string"
- },
- "step_id": {
- "maxLength": 128,
- "type": "string"
- }
- },
- "required": [
- "step_id",
- "node_type",
- "code",
- "field_path",
- "message",
- "fix_hint"
- ],
- "type": "object"
- },
- "state": {
- "enum": [
- "queued",
- "running",
- "blocked",
- "done",
- "failed",
- "cancelled"
- ]
- }
- },
- "required": [
- "case_id",
- "state",
- "assertions"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "type": "array"
- },
- "error_code": {
- "maxLength": 64,
- "type": "string"
- },
- "execution_diagnostic": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "maxLength": 64,
- "type": "string"
- },
- "evidence": {
- "additionalProperties": false,
- "properties": {
- "attempt_count": {
- "maximum": 100,
- "minimum": 1,
- "type": "integer"
- },
- "finish_reason": {
- "enum": [
- "max_output_tokens",
- "max_tokens",
- "length",
- "content_filter",
- "refusal",
- "unknown"
- ]
- },
- "max_output_tokens": {
- "maximum": 10000000,
- "minimum": 0,
- "type": "integer"
- },
- "reasoning_tokens": {
- "maximum": 10000000,
- "minimum": 0,
- "type": "integer"
- },
- "source": {
- "enum": [
- "structured_executor",
- "legacy_executor_message"
- ]
- },
- "total_output_tokens": {
- "maximum": 10000000,
- "minimum": 0,
- "type": "integer"
- },
- "visible_output_tokens": {
- "maximum": 10000000,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "source"
- ],
- "type": "object"
- },
- "field_path": {
- "items": {
- "maxLength": 64,
- "type": "string"
- },
- "maxItems": 4,
- "type": "array"
- },
- "fix_hint": {
- "maxLength": 300,
- "type": "string"
- },
- "message": {
- "maxLength": 200,
- "type": "string"
- },
- "node_type": {
- "maxLength": 64,
- "type": "string"
- },
- "step_id": {
- "maxLength": 128,
- "type": "string"
- }
- },
- "required": [
- "step_id",
- "node_type",
- "code",
- "field_path",
- "message",
- "fix_hint"
- ],
- "type": "object"
- },
- "kind": {
- "enum": [
- "review",
- "acceptance_batch",
- "acceptance_case"
- ]
- },
- "next_cursor": {
- "maxLength": 32,
- "type": [
- "string",
- "null"
- ]
- },
- "retry": {
- "additionalProperties": false,
- "properties": {
- "attempt": {
- "maximum": 3,
- "minimum": 1,
- "type": "integer"
- },
- "maximum_attempts": {
- "const": 3
- },
- "reason": {
- "enum": [
- "review_processing_interrupted",
- "provider_result_processing_retry",
- "settlement_retry"
- ]
- },
- "retry_at": {
- "format": "date-time",
- "maxLength": 64,
- "type": "string"
- },
- "state": {
- "enum": [
- "scheduled",
- "retrying"
- ]
- }
- },
- "required": [
- "state",
- "attempt",
- "maximum_attempts",
- "retry_at",
- "reason"
- ],
- "type": "object"
- },
- "revision": {
- "maxLength": 64,
- "pattern": "^[0-9a-f]{64}$",
- "type": "string"
- },
- "section": {
- "const": "assertions"
- },
- "state": {
- "enum": [
- "queued",
- "running",
- "blocked",
- "done",
- "failed",
- "cancelled"
- ]
- },
- "terminal": {
- "type": "boolean"
- },
- "truncation": {
- "additionalProperties": false,
- "properties": {
- "applied": {
- "const": true
- },
- "omitted_items": {
- "minimum": 0,
- "type": "integer"
- },
- "original_result_bytes": {
- "minimum": 1,
- "type": "integer"
- },
- "reason": {
- "const": "response_size_limit"
- },
- "truncated_values": {
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "applied",
- "reason",
- "omitted_items",
- "truncated_values",
- "original_result_bytes"
- ],
- "type": "object"
- }
- },
- "required": [
- "activity_ref",
- "kind",
- "state",
- "revision",
- "terminal",
- "section",
- "cases",
- "next_cursor"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "case_id": {
- "maxLength": 64,
- "minLength": 1,
- "type": "string"
- },
- "error": {
- "enum": [
- "not_found",
- "invalid_reference",
- "invalid_params",
- "revision_conflict",
- "idempotency_conflict",
- "document_too_large",
- "payload_too_large",
- "chunk_sequence_invalid",
- "chunk_digest_mismatch",
- "chunk_expired",
- "suite_duplicate_case_id",
- "suite_unresolved_pair",
- "suite_schema_invalid",
- "suite_missing_categories",
- "suite_weak_normal_oracle",
- "suite_too_large",
- "unknown_case_id",
- "duplicate_case_id",
- "incomplete_case_selection",
- "unsupported_node_kind",
- "research_required",
- "review_required",
- "acceptance_required",
- "qualification_stale",
- "budget_not_approved",
- "budget_exhausted",
- "budget_superseded",
- "budget_capability_consumed",
- "budget_capability_expired",
- "acceptance_case_cost_exceeded",
- "authoring_budget_exceeded",
- "authoring_grant_not_active",
- "insufficient_credits",
- "billing_anomaly",
- "activity_stalled",
- "activity_in_flight",
- "handoff_approval_required",
- "handoff_expired",
- "handoff_not_pending",
- "handoff_stale",
- "feature_unavailable",
- "resource_unavailable",
- "resource_binding_required",
- "resource_requirement_not_found",
- "activity_not_cancellable",
- "quota_exceeded",
- "rate_limited",
- "already_published",
- "safety_locked",
- "build_terminal",
- "commit_capability_expired",
- "account_unavailable",
- "limit_unavailable"
- ]
- },
- "estimated_credits": {
- "maxLength": 64,
- "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
- "type": "string"
- },
- "field": {
- "maxLength": 64,
- "type": "string"
- },
- "hint": {
- "maxLength": 240,
- "type": "string"
- },
- "issue": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "maxLength": 64,
- "type": "string"
- },
- "field": {
- "maxLength": 64,
- "type": "string"
- },
- "operator": {
- "maxLength": 64,
- "type": "string"
- },
- "path": {
- "maxLength": 512,
- "type": "string"
- },
- "type": {
- "maxLength": 64,
- "type": "string"
- }
- },
- "required": [
- "code",
- "path"
- ],
- "type": "object"
- },
- "limit_credits": {
- "maxLength": 64,
- "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
- "type": "string"
- },
- "missing_categories": {
- "items": {
- "maxLength": 64,
- "type": "string"
- },
- "maxItems": 10,
- "type": "array",
- "uniqueItems": true
- },
- "repair_hint": {
- "maxLength": 500,
- "type": "string"
- },
- "retry_after_seconds": {
- "maximum": 86400,
- "minimum": 1,
- "type": "integer"
- },
- "review_cost": {
- "additionalProperties": false,
- "properties": {
- "basis": {
- "const": "utf8_byte_upper_bound"
- },
- "estimated_credits": {
- "maxLength": 64,
- "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
- "type": "string"
- },
- "input_token_bound": {
- "minimum": 0,
- "type": "integer"
- },
- "limit_credits": {
- "maxLength": 64,
- "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
- "type": "string"
- },
- "model": {
- "maxLength": 200,
- "type": "string"
- },
- "output_token_cap": {
- "minimum": 0,
- "type": "integer"
- },
- "prompt_bytes": {
- "minimum": 0,
- "type": "integer"
- },
- "provider": {
- "maxLength": 200,
- "type": "string"
- },
- "section_bytes": {
- "additionalProperties": false,
- "properties": {
- "acceptance_suite": {
- "minimum": 0,
- "type": "integer"
- },
- "input_contract": {
- "minimum": 0,
- "type": "integer"
- },
- "intent": {
- "minimum": 0,
- "type": "integer"
- },
- "output_contract": {
- "minimum": 0,
- "type": "integer"
- },
- "research_evidence": {
- "minimum": 0,
- "type": "integer"
- },
- "spec": {
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [],
- "type": "object"
- }
- },
- "required": [
- "estimated_credits",
- "limit_credits",
- "provider",
- "model",
- "basis",
- "input_token_bound",
- "output_token_cap",
- "prompt_bytes",
- "section_bytes"
- ],
- "type": "object"
- },
- "truncation": {
- "additionalProperties": false,
- "properties": {
- "applied": {
- "const": true
- },
- "omitted_items": {
- "minimum": 0,
- "type": "integer"
- },
- "original_result_bytes": {
- "minimum": 1,
- "type": "integer"
- },
- "reason": {
- "const": "response_size_limit"
- },
- "truncated_values": {
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "applied",
- "reason",
- "omitted_items",
- "truncated_values",
- "original_result_bytes"
- ],
- "type": "object"
- }
- },
- "required": [
- "error"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "activity_ref": {
+ "maxLength": 4096,
+ "minLength": 1,
+ "type": "string"
+ },
+ "error_code": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "execution_diagnostic": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "evidence": {
+ "additionalProperties": false,
+ "properties": {
+ "attempt_count": {
+ "maximum": 100,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "finish_reason": {
+ "enum": [
+ "max_output_tokens",
+ "max_tokens",
+ "length",
+ "content_filter",
+ "refusal",
+ "unknown"
+ ]
+ },
+ "max_output_tokens": {
+ "maximum": 10000000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "reasoning_tokens": {
+ "maximum": 10000000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "source": {
+ "enum": [
+ "structured_executor",
+ "legacy_executor_message"
+ ]
+ },
+ "total_output_tokens": {
+ "maximum": 10000000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "visible_output_tokens": {
+ "maximum": 10000000,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "source"
+ ],
+ "type": "object"
+ },
+ "field_path": {
+ "items": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "fix_hint": {
+ "maxLength": 300,
+ "type": "string"
+ },
+ "message": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "node_type": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "step_id": {
+ "maxLength": 128,
+ "type": "string"
+ }
+ },
+ "required": [
+ "step_id",
+ "node_type",
+ "code",
+ "field_path",
+ "message",
+ "fix_hint"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "const": "review"
+ },
+ "retry": {
+ "additionalProperties": false,
+ "properties": {
+ "attempt": {
+ "maximum": 3,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "maximum_attempts": {
+ "const": 3
+ },
+ "reason": {
+ "enum": [
+ "review_processing_interrupted",
+ "provider_result_processing_retry",
+ "settlement_retry"
+ ]
+ },
+ "retry_at": {
+ "format": "date-time",
+ "maxLength": 64,
+ "type": "string"
+ },
+ "state": {
+ "enum": [
+ "scheduled",
+ "retrying"
+ ]
+ }
+ },
+ "required": [
+ "state",
+ "attempt",
+ "maximum_attempts",
+ "retry_at",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "revision": {
+ "maxLength": 64,
+ "pattern": "^[0-9a-f]{64}$",
+ "type": "string"
+ },
+ "section": {
+ "const": "summary"
+ },
+ "state": {
+ "enum": [
+ "queued",
+ "running",
+ "blocked",
+ "done",
+ "failed",
+ "cancelled"
+ ]
+ },
+ "summary": {
+ "additionalProperties": false,
+ "properties": {
+ "issues": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "category": {
+ "enum": [
+ "runtime_contract",
+ "semantic_contract",
+ "method",
+ "safety",
+ "research",
+ "advisory"
+ ]
+ },
+ "code": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "counterexample": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "evidence_path": {
+ "maxLength": 512,
+ "type": "string"
+ },
+ "evidence_status": {
+ "enum": [
+ "source_verified",
+ "unsupported"
+ ]
+ },
+ "recommendation": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "runtime_binding_status": {
+ "const": "verified"
+ },
+ "severity": {
+ "enum": [
+ "info",
+ "warning",
+ "error"
+ ]
+ }
+ },
+ "required": [
+ "code",
+ "severity"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "review_cost": {
+ "additionalProperties": false,
+ "properties": {
+ "basis": {
+ "const": "utf8_byte_upper_bound"
+ },
+ "estimated_credits": {
+ "maxLength": 64,
+ "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
+ "type": "string"
+ },
+ "input_token_bound": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "limit_credits": {
+ "maxLength": 64,
+ "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
+ "type": "string"
+ },
+ "model": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "output_token_cap": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "prompt_bytes": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "provider": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "section_bytes": {
+ "additionalProperties": false,
+ "properties": {
+ "acceptance_suite": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "input_contract": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "intent": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "output_contract": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "research_evidence": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "spec": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [],
+ "type": "object"
+ }
+ },
+ "required": [
+ "estimated_credits",
+ "limit_credits",
+ "provider",
+ "model",
+ "basis",
+ "input_token_bound",
+ "output_token_cap",
+ "prompt_bytes",
+ "section_bytes"
+ ],
+ "type": "object"
+ },
+ "strengths": {
+ "items": {
+ "maxLength": 300,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "verdict": {
+ "enum": [
+ "pending",
+ "pass",
+ "revise"
+ ]
+ }
+ },
+ "required": [
+ "verdict",
+ "issues",
+ "strengths"
+ ],
+ "type": "object"
+ },
+ "terminal": {
+ "type": "boolean"
+ },
+ "truncation": {
+ "additionalProperties": false,
+ "properties": {
+ "applied": {
+ "const": true
+ },
+ "omitted_items": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "original_result_bytes": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "reason": {
+ "const": "response_size_limit"
+ },
+ "truncated_values": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "applied",
+ "reason",
+ "omitted_items",
+ "truncated_values",
+ "original_result_bytes"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "activity_ref",
+ "kind",
+ "state",
+ "revision",
+ "terminal",
+ "section",
+ "summary"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "activity_ref": {
+ "maxLength": 4096,
+ "minLength": 1,
+ "type": "string"
+ },
+ "error_code": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "execution_diagnostic": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "evidence": {
+ "additionalProperties": false,
+ "properties": {
+ "attempt_count": {
+ "maximum": 100,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "finish_reason": {
+ "enum": [
+ "max_output_tokens",
+ "max_tokens",
+ "length",
+ "content_filter",
+ "refusal",
+ "unknown"
+ ]
+ },
+ "max_output_tokens": {
+ "maximum": 10000000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "reasoning_tokens": {
+ "maximum": 10000000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "source": {
+ "enum": [
+ "structured_executor",
+ "legacy_executor_message"
+ ]
+ },
+ "total_output_tokens": {
+ "maximum": 10000000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "visible_output_tokens": {
+ "maximum": 10000000,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "source"
+ ],
+ "type": "object"
+ },
+ "field_path": {
+ "items": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "fix_hint": {
+ "maxLength": 300,
+ "type": "string"
+ },
+ "message": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "node_type": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "step_id": {
+ "maxLength": 128,
+ "type": "string"
+ }
+ },
+ "required": [
+ "step_id",
+ "node_type",
+ "code",
+ "field_path",
+ "message",
+ "fix_hint"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "const": "acceptance_batch"
+ },
+ "retry": {
+ "additionalProperties": false,
+ "properties": {
+ "attempt": {
+ "maximum": 3,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "maximum_attempts": {
+ "const": 3
+ },
+ "reason": {
+ "enum": [
+ "review_processing_interrupted",
+ "provider_result_processing_retry",
+ "settlement_retry"
+ ]
+ },
+ "retry_at": {
+ "format": "date-time",
+ "maxLength": 64,
+ "type": "string"
+ },
+ "state": {
+ "enum": [
+ "scheduled",
+ "retrying"
+ ]
+ }
+ },
+ "required": [
+ "state",
+ "attempt",
+ "maximum_attempts",
+ "retry_at",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "revision": {
+ "maxLength": 64,
+ "pattern": "^[0-9a-f]{64}$",
+ "type": "string"
+ },
+ "section": {
+ "const": "summary"
+ },
+ "state": {
+ "enum": [
+ "queued",
+ "running",
+ "blocked",
+ "done",
+ "failed",
+ "cancelled"
+ ]
+ },
+ "summary": {
+ "additionalProperties": false,
+ "properties": {
+ "billing_anomalies": {
+ "maximum": 50,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "cancelled": {
+ "maximum": 50,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "case_count": {
+ "maximum": 50,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "failed": {
+ "maximum": 50,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "passed": {
+ "maximum": 50,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "case_count"
+ ],
+ "type": "object"
+ },
+ "terminal": {
+ "type": "boolean"
+ },
+ "truncation": {
+ "additionalProperties": false,
+ "properties": {
+ "applied": {
+ "const": true
+ },
+ "omitted_items": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "original_result_bytes": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "reason": {
+ "const": "response_size_limit"
+ },
+ "truncated_values": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "applied",
+ "reason",
+ "omitted_items",
+ "truncated_values",
+ "original_result_bytes"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "activity_ref",
+ "kind",
+ "state",
+ "revision",
+ "terminal",
+ "section",
+ "summary"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "activity_ref": {
+ "maxLength": 4096,
+ "minLength": 1,
+ "type": "string"
+ },
+ "error_code": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "execution_diagnostic": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "evidence": {
+ "additionalProperties": false,
+ "properties": {
+ "attempt_count": {
+ "maximum": 100,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "finish_reason": {
+ "enum": [
+ "max_output_tokens",
+ "max_tokens",
+ "length",
+ "content_filter",
+ "refusal",
+ "unknown"
+ ]
+ },
+ "max_output_tokens": {
+ "maximum": 10000000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "reasoning_tokens": {
+ "maximum": 10000000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "source": {
+ "enum": [
+ "structured_executor",
+ "legacy_executor_message"
+ ]
+ },
+ "total_output_tokens": {
+ "maximum": 10000000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "visible_output_tokens": {
+ "maximum": 10000000,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "source"
+ ],
+ "type": "object"
+ },
+ "field_path": {
+ "items": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "fix_hint": {
+ "maxLength": 300,
+ "type": "string"
+ },
+ "message": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "node_type": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "step_id": {
+ "maxLength": 128,
+ "type": "string"
+ }
+ },
+ "required": [
+ "step_id",
+ "node_type",
+ "code",
+ "field_path",
+ "message",
+ "fix_hint"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "const": "acceptance_case"
+ },
+ "retry": {
+ "additionalProperties": false,
+ "properties": {
+ "attempt": {
+ "maximum": 3,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "maximum_attempts": {
+ "const": 3
+ },
+ "reason": {
+ "enum": [
+ "review_processing_interrupted",
+ "provider_result_processing_retry",
+ "settlement_retry"
+ ]
+ },
+ "retry_at": {
+ "format": "date-time",
+ "maxLength": 64,
+ "type": "string"
+ },
+ "state": {
+ "enum": [
+ "scheduled",
+ "retrying"
+ ]
+ }
+ },
+ "required": [
+ "state",
+ "attempt",
+ "maximum_attempts",
+ "retry_at",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "revision": {
+ "maxLength": 64,
+ "pattern": "^[0-9a-f]{64}$",
+ "type": "string"
+ },
+ "section": {
+ "const": "summary"
+ },
+ "state": {
+ "enum": [
+ "queued",
+ "running",
+ "blocked",
+ "done",
+ "failed",
+ "cancelled"
+ ]
+ },
+ "summary": {
+ "additionalProperties": false,
+ "properties": {},
+ "required": [],
+ "type": "object"
+ },
+ "terminal": {
+ "type": "boolean"
+ },
+ "truncation": {
+ "additionalProperties": false,
+ "properties": {
+ "applied": {
+ "const": true
+ },
+ "omitted_items": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "original_result_bytes": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "reason": {
+ "const": "response_size_limit"
+ },
+ "truncated_values": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "applied",
+ "reason",
+ "omitted_items",
+ "truncated_values",
+ "original_result_bytes"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "activity_ref",
+ "kind",
+ "state",
+ "revision",
+ "terminal",
+ "section",
+ "summary"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "activity_ref": {
+ "maxLength": 4096,
+ "minLength": 1,
+ "type": "string"
+ },
+ "billing": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "retry_after_seconds": {
+ "const": 2
+ },
+ "state": {
+ "const": "pending"
+ }
+ },
+ "required": [
+ "state",
+ "retry_after_seconds"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "state": {
+ "const": "unavailable"
+ }
+ },
+ "required": [
+ "state"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "charge_disposition": {
+ "const": "platform_absorbed"
+ },
+ "provider_cost_status": {
+ "const": "unknown"
+ },
+ "remaining_budget": {
+ "maxLength": 64,
+ "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
+ "type": "string"
+ },
+ "settled_credits": {
+ "maxLength": 64,
+ "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
+ "type": "string"
+ },
+ "state": {
+ "const": "settled"
+ }
+ },
+ "required": [
+ "state",
+ "settled_credits",
+ "remaining_budget"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "error_code": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "execution_diagnostic": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "evidence": {
+ "additionalProperties": false,
+ "properties": {
+ "attempt_count": {
+ "maximum": 100,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "finish_reason": {
+ "enum": [
+ "max_output_tokens",
+ "max_tokens",
+ "length",
+ "content_filter",
+ "refusal",
+ "unknown"
+ ]
+ },
+ "max_output_tokens": {
+ "maximum": 10000000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "reasoning_tokens": {
+ "maximum": 10000000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "source": {
+ "enum": [
+ "structured_executor",
+ "legacy_executor_message"
+ ]
+ },
+ "total_output_tokens": {
+ "maximum": 10000000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "visible_output_tokens": {
+ "maximum": 10000000,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "source"
+ ],
+ "type": "object"
+ },
+ "field_path": {
+ "items": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "fix_hint": {
+ "maxLength": 300,
+ "type": "string"
+ },
+ "message": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "node_type": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "step_id": {
+ "maxLength": 128,
+ "type": "string"
+ }
+ },
+ "required": [
+ "step_id",
+ "node_type",
+ "code",
+ "field_path",
+ "message",
+ "fix_hint"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "enum": [
+ "review",
+ "acceptance_batch",
+ "acceptance_case"
+ ]
+ },
+ "retry": {
+ "additionalProperties": false,
+ "properties": {
+ "attempt": {
+ "maximum": 3,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "maximum_attempts": {
+ "const": 3
+ },
+ "reason": {
+ "enum": [
+ "review_processing_interrupted",
+ "provider_result_processing_retry",
+ "settlement_retry"
+ ]
+ },
+ "retry_at": {
+ "format": "date-time",
+ "maxLength": 64,
+ "type": "string"
+ },
+ "state": {
+ "enum": [
+ "scheduled",
+ "retrying"
+ ]
+ }
+ },
+ "required": [
+ "state",
+ "attempt",
+ "maximum_attempts",
+ "retry_at",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "revision": {
+ "maxLength": 64,
+ "pattern": "^[0-9a-f]{64}$",
+ "type": "string"
+ },
+ "section": {
+ "const": "billing"
+ },
+ "state": {
+ "enum": [
+ "queued",
+ "running",
+ "blocked",
+ "done",
+ "failed",
+ "cancelled"
+ ]
+ },
+ "terminal": {
+ "type": "boolean"
+ },
+ "truncation": {
+ "additionalProperties": false,
+ "properties": {
+ "applied": {
+ "const": true
+ },
+ "omitted_items": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "original_result_bytes": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "reason": {
+ "const": "response_size_limit"
+ },
+ "truncated_values": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "applied",
+ "reason",
+ "omitted_items",
+ "truncated_values",
+ "original_result_bytes"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "activity_ref",
+ "kind",
+ "state",
+ "revision",
+ "terminal",
+ "section",
+ "billing"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "activity_ref": {
+ "maxLength": 4096,
+ "minLength": 1,
+ "type": "string"
+ },
+ "error_code": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "execution_diagnostic": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "evidence": {
+ "additionalProperties": false,
+ "properties": {
+ "attempt_count": {
+ "maximum": 100,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "finish_reason": {
+ "enum": [
+ "max_output_tokens",
+ "max_tokens",
+ "length",
+ "content_filter",
+ "refusal",
+ "unknown"
+ ]
+ },
+ "max_output_tokens": {
+ "maximum": 10000000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "reasoning_tokens": {
+ "maximum": 10000000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "source": {
+ "enum": [
+ "structured_executor",
+ "legacy_executor_message"
+ ]
+ },
+ "total_output_tokens": {
+ "maximum": 10000000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "visible_output_tokens": {
+ "maximum": 10000000,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "source"
+ ],
+ "type": "object"
+ },
+ "field_path": {
+ "items": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "fix_hint": {
+ "maxLength": 300,
+ "type": "string"
+ },
+ "message": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "node_type": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "step_id": {
+ "maxLength": 128,
+ "type": "string"
+ }
+ },
+ "required": [
+ "step_id",
+ "node_type",
+ "code",
+ "field_path",
+ "message",
+ "fix_hint"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "enum": [
+ "review",
+ "acceptance_batch",
+ "acceptance_case"
+ ]
+ },
+ "nodes": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "billing": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "retry_after_seconds": {
+ "const": 2
+ },
+ "state": {
+ "const": "pending"
+ }
+ },
+ "required": [
+ "state",
+ "retry_after_seconds"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "state": {
+ "const": "unavailable"
+ }
+ },
+ "required": [
+ "state"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "charge_disposition": {
+ "const": "platform_absorbed"
+ },
+ "provider_cost_status": {
+ "const": "unknown"
+ },
+ "remaining_budget": {
+ "maxLength": 64,
+ "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
+ "type": "string"
+ },
+ "settled_credits": {
+ "maxLength": 64,
+ "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
+ "type": "string"
+ },
+ "state": {
+ "const": "settled"
+ }
+ },
+ "required": [
+ "state",
+ "settled_credits",
+ "remaining_budget"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "case_id": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "error_code": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "execution_diagnostic": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "evidence": {
+ "additionalProperties": false,
+ "properties": {
+ "attempt_count": {
+ "maximum": 100,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "finish_reason": {
+ "enum": [
+ "max_output_tokens",
+ "max_tokens",
+ "length",
+ "content_filter",
+ "refusal",
+ "unknown"
+ ]
+ },
+ "max_output_tokens": {
+ "maximum": 10000000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "reasoning_tokens": {
+ "maximum": 10000000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "source": {
+ "enum": [
+ "structured_executor",
+ "legacy_executor_message"
+ ]
+ },
+ "total_output_tokens": {
+ "maximum": 10000000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "visible_output_tokens": {
+ "maximum": 10000000,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "source"
+ ],
+ "type": "object"
+ },
+ "field_path": {
+ "items": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "fix_hint": {
+ "maxLength": 300,
+ "type": "string"
+ },
+ "message": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "node_type": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "step_id": {
+ "maxLength": 128,
+ "type": "string"
+ }
+ },
+ "required": [
+ "step_id",
+ "node_type",
+ "code",
+ "field_path",
+ "message",
+ "fix_hint"
+ ],
+ "type": "object"
+ },
+ "state": {
+ "enum": [
+ "queued",
+ "running",
+ "blocked",
+ "done",
+ "failed",
+ "cancelled"
+ ]
+ }
+ },
+ "required": [
+ "case_id",
+ "state",
+ "billing"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "retry": {
+ "additionalProperties": false,
+ "properties": {
+ "attempt": {
+ "maximum": 3,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "maximum_attempts": {
+ "const": 3
+ },
+ "reason": {
+ "enum": [
+ "review_processing_interrupted",
+ "provider_result_processing_retry",
+ "settlement_retry"
+ ]
+ },
+ "retry_at": {
+ "format": "date-time",
+ "maxLength": 64,
+ "type": "string"
+ },
+ "state": {
+ "enum": [
+ "scheduled",
+ "retrying"
+ ]
+ }
+ },
+ "required": [
+ "state",
+ "attempt",
+ "maximum_attempts",
+ "retry_at",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "revision": {
+ "maxLength": 64,
+ "pattern": "^[0-9a-f]{64}$",
+ "type": "string"
+ },
+ "section": {
+ "const": "nodes"
+ },
+ "state": {
+ "enum": [
+ "queued",
+ "running",
+ "blocked",
+ "done",
+ "failed",
+ "cancelled"
+ ]
+ },
+ "terminal": {
+ "type": "boolean"
+ },
+ "truncation": {
+ "additionalProperties": false,
+ "properties": {
+ "applied": {
+ "const": true
+ },
+ "omitted_items": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "original_result_bytes": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "reason": {
+ "const": "response_size_limit"
+ },
+ "truncated_values": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "applied",
+ "reason",
+ "omitted_items",
+ "truncated_values",
+ "original_result_bytes"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "activity_ref",
+ "kind",
+ "state",
+ "revision",
+ "terminal",
+ "section",
+ "nodes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "activity_ref": {
+ "maxLength": 4096,
+ "minLength": 1,
+ "type": "string"
+ },
+ "coverage": {
+ "additionalProperties": false,
+ "properties": {
+ "qualified": {
+ "type": "boolean"
+ },
+ "required_case_ids": {
+ "items": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "selected_case_ids": {
+ "items": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "maxItems": 50,
+ "type": "array"
+ }
+ },
+ "required": [
+ "selected_case_ids",
+ "required_case_ids",
+ "qualified"
+ ],
+ "type": "object"
+ },
+ "error_code": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "execution_diagnostic": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "evidence": {
+ "additionalProperties": false,
+ "properties": {
+ "attempt_count": {
+ "maximum": 100,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "finish_reason": {
+ "enum": [
+ "max_output_tokens",
+ "max_tokens",
+ "length",
+ "content_filter",
+ "refusal",
+ "unknown"
+ ]
+ },
+ "max_output_tokens": {
+ "maximum": 10000000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "reasoning_tokens": {
+ "maximum": 10000000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "source": {
+ "enum": [
+ "structured_executor",
+ "legacy_executor_message"
+ ]
+ },
+ "total_output_tokens": {
+ "maximum": 10000000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "visible_output_tokens": {
+ "maximum": 10000000,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "source"
+ ],
+ "type": "object"
+ },
+ "field_path": {
+ "items": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "fix_hint": {
+ "maxLength": 300,
+ "type": "string"
+ },
+ "message": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "node_type": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "step_id": {
+ "maxLength": 128,
+ "type": "string"
+ }
+ },
+ "required": [
+ "step_id",
+ "node_type",
+ "code",
+ "field_path",
+ "message",
+ "fix_hint"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "enum": [
+ "review",
+ "acceptance_batch",
+ "acceptance_case"
+ ]
+ },
+ "retry": {
+ "additionalProperties": false,
+ "properties": {
+ "attempt": {
+ "maximum": 3,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "maximum_attempts": {
+ "const": 3
+ },
+ "reason": {
+ "enum": [
+ "review_processing_interrupted",
+ "provider_result_processing_retry",
+ "settlement_retry"
+ ]
+ },
+ "retry_at": {
+ "format": "date-time",
+ "maxLength": 64,
+ "type": "string"
+ },
+ "state": {
+ "enum": [
+ "scheduled",
+ "retrying"
+ ]
+ }
+ },
+ "required": [
+ "state",
+ "attempt",
+ "maximum_attempts",
+ "retry_at",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "revision": {
+ "maxLength": 64,
+ "pattern": "^[0-9a-f]{64}$",
+ "type": "string"
+ },
+ "section": {
+ "const": "coverage"
+ },
+ "state": {
+ "enum": [
+ "queued",
+ "running",
+ "blocked",
+ "done",
+ "failed",
+ "cancelled"
+ ]
+ },
+ "terminal": {
+ "type": "boolean"
+ },
+ "truncation": {
+ "additionalProperties": false,
+ "properties": {
+ "applied": {
+ "const": true
+ },
+ "omitted_items": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "original_result_bytes": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "reason": {
+ "const": "response_size_limit"
+ },
+ "truncated_values": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "applied",
+ "reason",
+ "omitted_items",
+ "truncated_values",
+ "original_result_bytes"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "activity_ref",
+ "kind",
+ "state",
+ "revision",
+ "terminal",
+ "section",
+ "coverage"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "activity_ref": {
+ "maxLength": 4096,
+ "minLength": 1,
+ "type": "string"
+ },
+ "cases": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "assertions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "assertion_id": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "code": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "diagnostic": {
+ "additionalProperties": false,
+ "properties": {
+ "actual_missing": {
+ "type": "boolean"
+ },
+ "actual_preview": {
+ "maxLength": 256,
+ "type": "string"
+ },
+ "availability": {
+ "enum": [
+ "available",
+ "unavailable"
+ ]
+ },
+ "expected_preview": {
+ "maxLength": 256,
+ "type": "string"
+ },
+ "operator": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "paired_actual_missing": {
+ "type": "boolean"
+ },
+ "paired_actual_preview": {
+ "maxLength": 256,
+ "type": "string"
+ },
+ "path": {
+ "maxLength": 512,
+ "type": "string"
+ },
+ "truncated": {
+ "type": "boolean"
+ },
+ "type": {
+ "maxLength": 64,
+ "type": "string"
+ }
+ },
+ "required": [
+ "availability"
+ ],
+ "type": "object"
+ },
+ "passed": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "assertion_id",
+ "passed",
+ "code"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "case_id": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "error_code": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "execution_diagnostic": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "evidence": {
+ "additionalProperties": false,
+ "properties": {
+ "attempt_count": {
+ "maximum": 100,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "finish_reason": {
+ "enum": [
+ "max_output_tokens",
+ "max_tokens",
+ "length",
+ "content_filter",
+ "refusal",
+ "unknown"
+ ]
+ },
+ "max_output_tokens": {
+ "maximum": 10000000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "reasoning_tokens": {
+ "maximum": 10000000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "source": {
+ "enum": [
+ "structured_executor",
+ "legacy_executor_message"
+ ]
+ },
+ "total_output_tokens": {
+ "maximum": 10000000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "visible_output_tokens": {
+ "maximum": 10000000,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "source"
+ ],
+ "type": "object"
+ },
+ "field_path": {
+ "items": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "fix_hint": {
+ "maxLength": 300,
+ "type": "string"
+ },
+ "message": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "node_type": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "step_id": {
+ "maxLength": 128,
+ "type": "string"
+ }
+ },
+ "required": [
+ "step_id",
+ "node_type",
+ "code",
+ "field_path",
+ "message",
+ "fix_hint"
+ ],
+ "type": "object"
+ },
+ "state": {
+ "enum": [
+ "queued",
+ "running",
+ "blocked",
+ "done",
+ "failed",
+ "cancelled"
+ ]
+ }
+ },
+ "required": [
+ "case_id",
+ "state",
+ "assertions"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "error_code": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "execution_diagnostic": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "evidence": {
+ "additionalProperties": false,
+ "properties": {
+ "attempt_count": {
+ "maximum": 100,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "finish_reason": {
+ "enum": [
+ "max_output_tokens",
+ "max_tokens",
+ "length",
+ "content_filter",
+ "refusal",
+ "unknown"
+ ]
+ },
+ "max_output_tokens": {
+ "maximum": 10000000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "reasoning_tokens": {
+ "maximum": 10000000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "source": {
+ "enum": [
+ "structured_executor",
+ "legacy_executor_message"
+ ]
+ },
+ "total_output_tokens": {
+ "maximum": 10000000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "visible_output_tokens": {
+ "maximum": 10000000,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "source"
+ ],
+ "type": "object"
+ },
+ "field_path": {
+ "items": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "fix_hint": {
+ "maxLength": 300,
+ "type": "string"
+ },
+ "message": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "node_type": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "step_id": {
+ "maxLength": 128,
+ "type": "string"
+ }
+ },
+ "required": [
+ "step_id",
+ "node_type",
+ "code",
+ "field_path",
+ "message",
+ "fix_hint"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "enum": [
+ "review",
+ "acceptance_batch",
+ "acceptance_case"
+ ]
+ },
+ "next_cursor": {
+ "maxLength": 32,
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "retry": {
+ "additionalProperties": false,
+ "properties": {
+ "attempt": {
+ "maximum": 3,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "maximum_attempts": {
+ "const": 3
+ },
+ "reason": {
+ "enum": [
+ "review_processing_interrupted",
+ "provider_result_processing_retry",
+ "settlement_retry"
+ ]
+ },
+ "retry_at": {
+ "format": "date-time",
+ "maxLength": 64,
+ "type": "string"
+ },
+ "state": {
+ "enum": [
+ "scheduled",
+ "retrying"
+ ]
+ }
+ },
+ "required": [
+ "state",
+ "attempt",
+ "maximum_attempts",
+ "retry_at",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "revision": {
+ "maxLength": 64,
+ "pattern": "^[0-9a-f]{64}$",
+ "type": "string"
+ },
+ "section": {
+ "const": "assertions"
+ },
+ "state": {
+ "enum": [
+ "queued",
+ "running",
+ "blocked",
+ "done",
+ "failed",
+ "cancelled"
+ ]
+ },
+ "terminal": {
+ "type": "boolean"
+ },
+ "truncation": {
+ "additionalProperties": false,
+ "properties": {
+ "applied": {
+ "const": true
+ },
+ "omitted_items": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "original_result_bytes": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "reason": {
+ "const": "response_size_limit"
+ },
+ "truncated_values": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "applied",
+ "reason",
+ "omitted_items",
+ "truncated_values",
+ "original_result_bytes"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "activity_ref",
+ "kind",
+ "state",
+ "revision",
+ "terminal",
+ "section",
+ "cases",
+ "next_cursor"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "case_id": {
+ "maxLength": 64,
+ "minLength": 1,
+ "type": "string"
+ },
+ "error": {
+ "enum": [
+ "not_found",
+ "invalid_reference",
+ "invalid_params",
+ "revision_conflict",
+ "idempotency_conflict",
+ "document_too_large",
+ "payload_too_large",
+ "chunk_sequence_invalid",
+ "chunk_digest_mismatch",
+ "chunk_expired",
+ "invalid_cursor",
+ "suite_duplicate_case_id",
+ "suite_unresolved_pair",
+ "suite_schema_invalid",
+ "suite_missing_categories",
+ "suite_weak_normal_oracle",
+ "suite_too_large",
+ "unknown_case_id",
+ "duplicate_case_id",
+ "incomplete_case_selection",
+ "unsupported_node_kind",
+ "research_required",
+ "review_required",
+ "acceptance_required",
+ "qualification_stale",
+ "budget_not_approved",
+ "budget_exhausted",
+ "budget_superseded",
+ "budget_capability_consumed",
+ "budget_capability_expired",
+ "acceptance_case_cost_exceeded",
+ "authoring_budget_exceeded",
+ "authoring_grant_not_active",
+ "insufficient_credits",
+ "billing_anomaly",
+ "activity_stalled",
+ "activity_in_flight",
+ "handoff_approval_required",
+ "handoff_expired",
+ "handoff_not_pending",
+ "handoff_stale",
+ "handoff_disclosure_incomplete",
+ "feature_unavailable",
+ "resource_unavailable",
+ "resource_binding_required",
+ "resource_requirement_not_found",
+ "activity_not_cancellable",
+ "quota_exceeded",
+ "rate_limited",
+ "already_published",
+ "safety_locked",
+ "build_terminal",
+ "commit_capability_expired",
+ "account_unavailable",
+ "limit_unavailable"
+ ]
+ },
+ "estimated_credits": {
+ "maxLength": 64,
+ "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
+ "type": "string"
+ },
+ "field": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "hint": {
+ "maxLength": 240,
+ "type": "string"
+ },
+ "issue": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "field": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "operator": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "path": {
+ "maxLength": 512,
+ "type": "string"
+ },
+ "type": {
+ "maxLength": 64,
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "path"
+ ],
+ "type": "object"
+ },
+ "limit_credits": {
+ "maxLength": 64,
+ "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
+ "type": "string"
+ },
+ "missing_categories": {
+ "items": {
+ "maxLength": 64,
+ "type": "string"
+ },
+ "maxItems": 10,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "repair_hint": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "retry_after_seconds": {
+ "maximum": 86400,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "review_cost": {
+ "additionalProperties": false,
+ "properties": {
+ "basis": {
+ "const": "utf8_byte_upper_bound"
+ },
+ "estimated_credits": {
+ "maxLength": 64,
+ "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
+ "type": "string"
+ },
+ "input_token_bound": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "limit_credits": {
+ "maxLength": 64,
+ "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
+ "type": "string"
+ },
+ "model": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "output_token_cap": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "prompt_bytes": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "provider": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "section_bytes": {
+ "additionalProperties": false,
+ "properties": {
+ "acceptance_suite": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "input_contract": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "intent": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "output_contract": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "research_evidence": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "spec": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [],
+ "type": "object"
+ }
+ },
+ "required": [
+ "estimated_credits",
+ "limit_credits",
+ "provider",
+ "model",
+ "basis",
+ "input_token_bound",
+ "output_token_cap",
+ "prompt_bytes",
+ "section_bytes"
+ ],
+ "type": "object"
+ },
+ "truncation": {
+ "additionalProperties": false,
+ "properties": {
+ "applied": {
+ "const": true
+ },
+ "omitted_items": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "original_result_bytes": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "reason": {
+ "const": "response_size_limit"
+ },
+ "truncated_values": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "applied",
+ "reason",
+ "omitted_items",
+ "truncated_values",
+ "original_result_bytes"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ }
+]