addedOutput schema / properties / sections
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "acceptance_evidence": {
+ "anyOf": [
+ {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "approved": {
+ "type": "boolean"
+ },
+ "criterionId": {
+ "type": "string"
+ },
+ "evidence": {
+ "enum": [
+ "automated",
+ "review"
+ ],
+ "type": "string"
+ },
+ "outputBytes": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "sha256": {
+ "type": "string"
+ },
+ "source": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "criterionId",
+ "evidence",
+ "approved",
+ "source"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "changed_files": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "diff": {
+ "type": "string"
+ },
+ "diff_stat": {
+ "type": "string"
+ },
+ "events": {
+ "anyOf": [
+ {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "data": {},
+ "seq": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "timestamp": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "seq",
+ "timestamp",
+ "type"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "interactions": {
+ "anyOf": [
+ {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "createdAt": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "permission",
+ "input"
+ ],
+ "type": "string"
+ },
+ "request": {
+ "additionalProperties": {},
+ "type": "object"
+ },
+ "resolvedAt": {
+ "type": "string"
+ },
+ "response": {
+ "additionalProperties": {},
+ "type": "object"
+ },
+ "status": {
+ "enum": [
+ "pending",
+ "resolved",
+ "cancelled"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "status",
+ "createdAt",
+ "request"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "risks": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "status": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "branch": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "commit_hash": {
+ "pattern": "^[0-9a-f]{40,64}$",
+ "type": "string"
+ },
+ "contract_hash": {
+ "pattern": "^[0-9a-f]{64}$",
+ "type": "string"
+ },
+ "effective_reasoning_effort": {
+ "enum": [
+ "minimal",
+ "low",
+ "medium",
+ "high",
+ "max"
+ ],
+ "type": "string"
+ },
+ "execution_timeout_seconds": {
+ "maximum": 14400,
+ "minimum": 60,
+ "type": "integer"
+ },
+ "integration_command": {
+ "maxLength": 1024,
+ "minLength": 1,
+ "type": "string"
+ },
+ "pause_reason_hash": {
+ "pattern": "^[0-9a-f]{64}$",
+ "type": "string"
+ },
+ "pause_revision": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "phase": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "reasonix_session_mode": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "reasonix_work_mode": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "repair_rounds": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "repository_id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "requested_reasoning_effort": {
+ "enum": [
+ "minimal",
+ "low",
+ "medium",
+ "high",
+ "max"
+ ],
+ "type": "string"
+ },
+ "review_revision": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "review_tree_hash": {
+ "pattern": "^[0-9a-f]{40}$",
+ "type": "string"
+ },
+ "session_id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "source_checkout_integrated": {
+ "const": false,
+ "type": "boolean"
+ },
+ "source_collision": {
+ "additionalProperties": false,
+ "properties": {
+ "baseCommit": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "checkpoint": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "committedPaths": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "detectedAt": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "dirtyPaths": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "overlappingPaths": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "sourceHead": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "checkpoint",
+ "baseCommit",
+ "dirtyPaths",
+ "committedPaths",
+ "overlappingPaths",
+ "unavailable",
+ "detectedAt"
+ ],
+ "type": "object"
+ },
+ "state": {
+ "enum": [
+ "provisioning",
+ "running",
+ "waiting_permission",
+ "waiting_input",
+ "paused",
+ "review_required",
+ "verifying",
+ "completed",
+ "commit_failed",
+ "failed",
+ "cancelled",
+ "closed"
+ ],
+ "type": "string"
+ },
+ "task_id": {
+ "$ref": "#/properties/task_id"
+ },
+ "updated_at": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "worker_lane": {
+ "enum": [
+ "fast",
+ "deep"
+ ],
+ "type": "string"
+ },
+ "worktree": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "task_id",
+ "state",
+ "phase",
+ "contract_hash",
+ "repository_id",
+ "branch",
+ "worktree",
+ "worker_lane",
+ "requested_reasoning_effort",
+ "effective_reasoning_effort",
+ "execution_timeout_seconds",
+ "source_checkout_integrated",
+ "repair_rounds",
+ "updated_at"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "summary": {
+ "type": "string"
+ },
+ "usage": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "cacheHitRatio": {
+ "anyOf": [
+ {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "cacheHitTokens": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "cacheMissTokens": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "completionTokens": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "currency": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "estimatedCost": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "promptTokens": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "reasoningTokens": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "usageSource": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "promptTokens",
+ "completionTokens",
+ "reasoningTokens",
+ "cacheHitTokens",
+ "cacheMissTokens",
+ "cacheHitRatio",
+ "estimatedCost",
+ "currency",
+ "usageSource"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "verification": {
+ "anyOf": [
+ {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "argv": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "cwd": {
+ "type": "string"
+ },
+ "exitCode": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "finishedAt": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "logPath": {
+ "type": "string"
+ },
+ "outputBytes": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "passed": {
+ "type": "boolean"
+ },
+ "proves": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "sha256": {
+ "type": "string"
+ },
+ "startedAt": {
+ "type": "string"
+ },
+ "timedOut": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "id",
+ "argv",
+ "cwd",
+ "startedAt",
+ "finishedAt",
+ "exitCode",
+ "timedOut",
+ "passed",
+ "proves",
+ "logPath",
+ "sha256",
+ "outputBytes"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ }
+ },
+ "type": "object"
+}