changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "assumptions": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "diff": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "findings": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "evidence": {
- "type": "string"
- },
- "file": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "line": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "line_end": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "recommendation": {
- "type": "string"
- },
- "risk": {
- "type": "string"
- },
- "severity": {
- "enum": [
- "critical",
- "high",
- "medium",
- "low",
- "nit"
- ],
- "type": "string"
- },
- "title": {
- "type": "string"
- }
- },
- "required": [
- "severity",
- "title",
- "evidence",
- "risk",
- "recommendation"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "meta": {
- "additionalProperties": false,
- "properties": {
- "base": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "command_exit_code": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "commit": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "compat_warnings": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "context_summary": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "files_changed": {
- "type": "integer"
- },
- "lines_added": {
- "type": "integer"
- },
- "lines_removed": {
- "type": "integer"
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "cwd": {
- "type": "string"
- },
- "elapsed_ms": {
- "type": "integer"
- },
- "fingerprint": {
- "type": "string"
- },
- "isolation": {
- "enum": [
- "inherit",
- "ignore-config",
- "ignore-rules"
- ],
- "type": "string"
- },
- "job_id": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "model": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "paths": {
- "anyOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ]
- },
- "rate_limit": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "age_seconds": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "as_of": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "home_unverified": {
- "type": "boolean"
- },
- "is_stale": {
- "type": "boolean"
- },
- "limiting_window": {
- "anyOf": [
- {
- "enum": [
- "primary",
- "secondary"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "note": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "plan_type": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "primary": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "remaining_percent": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "reset_passed": {
- "type": "boolean"
- },
- "resets_at": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "seconds_until_reset": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "used_percent": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "window_minutes": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "secondary": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "remaining_percent": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "reset_passed": {
- "type": "boolean"
- },
- "resets_at": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "seconds_until_reset": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "used_percent": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "window_minutes": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "source": {
- "enum": [
- "current_run",
- "plugin_cache"
- ],
- "type": "string"
- },
- "status": {
- "enum": [
- "available",
- "limited",
- "exhausted",
- "unknown"
- ],
- "type": "string"
- }
- },
- "required": [
- "status"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "redacted_paths": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "request_id": {
- "type": "string"
- },
- "sandbox": {
- "enum": [
- "read-only",
- "workspace-write",
- "danger-full-access"
- ],
- "type": "string"
- },
- "scope": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "security_warnings": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "session_id": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "tier": {
- "enum": [
- "consult",
- "propose",
- "apply"
- ],
- "type": "string"
- },
- "timeout_seconds": {
- "type": "integer"
- },
- "truncated": {
- "type": "boolean"
- },
- "truncation_hint": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "usage": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "cached_input_tokens": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "input_tokens": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "output_tokens": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "total_tokens": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "workspace_source": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "workspace_warning": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "cwd",
- "tier",
- "sandbox",
- "isolation",
- "timeout_seconds",
- "elapsed_ms"
- ],
- "type": "object"
- },
- "next_steps": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "ok": {
- "const": true,
- "type": "boolean"
- },
- "questions": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "raw_response": {
- "additionalProperties": false,
- "properties": {
- "model": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "session_id": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "text": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "type": "object"
- },
- "summary": {
- "type": "string"
- },
- "tool": {
- "const": "codex_delegate",
- "type": "string"
- }
- },
- "required": [
- "summary",
- "meta"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "assumptions": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "findings": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "evidence": {
- "type": "string"
- },
- "file": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "line": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "line_end": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "recommendation": {
- "type": "string"
- },
- "risk": {
- "type": "string"
- },
- "severity": {
- "enum": [
- "critical",
- "high",
- "medium",
- "low",
- "nit"
- ],
- "type": "string"
- },
- "title": {
- "type": "string"
- }
- },
- "required": [
- "severity",
- "title",
- "evidence",
- "risk",
- "recommendation"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "meta": {
- "additionalProperties": false,
- "properties": {
- "base": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "command_exit_code": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "commit": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "compat_warnings": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "context_summary": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "files_changed": {
- "type": "integer"
- },
- "lines_added": {
- "type": "integer"
- },
- "lines_removed": {
- "type": "integer"
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "cwd": {
- "type": "string"
- },
- "elapsed_ms": {
- "type": "integer"
- },
- "fingerprint": {
- "type": "string"
- },
- "isolation": {
- "enum": [
- "inherit",
- "ignore-config",
- "ignore-rules"
- ],
- "type": "string"
- },
- "job_id": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "model": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "paths": {
- "anyOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ]
- },
- "rate_limit": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "age_seconds": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "as_of": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "home_unverified": {
- "type": "boolean"
- },
- "is_stale": {
- "type": "boolean"
- },
- "limiting_window": {
- "anyOf": [
- {
- "enum": [
- "primary",
- "secondary"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "note": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "plan_type": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "primary": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "remaining_percent": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "reset_passed": {
- "type": "boolean"
- },
- "resets_at": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "seconds_until_reset": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "used_percent": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "window_minutes": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "secondary": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "remaining_percent": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "reset_passed": {
- "type": "boolean"
- },
- "resets_at": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "seconds_until_reset": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "used_percent": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "window_minutes": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "source": {
- "enum": [
- "current_run",
- "plugin_cache"
- ],
- "type": "string"
- },
- "status": {
- "enum": [
- "available",
- "limited",
- "exhausted",
- "unknown"
- ],
- "type": "string"
- }
- },
- "required": [
- "status"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "redacted_paths": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "request_id": {
- "type": "string"
- },
- "sandbox": {
- "enum": [
- "read-only",
- "workspace-write",
- "danger-full-access"
- ],
- "type": "string"
- },
- "scope": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "security_warnings": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "session_id": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "tier": {
- "enum": [
- "consult",
- "propose",
- "apply"
- ],
- "type": "string"
- },
- "timeout_seconds": {
- "type": "integer"
- },
- "truncated": {
- "type": "boolean"
- },
- "truncation_hint": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "usage": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "cached_input_tokens": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "input_tokens": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "output_tokens": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "total_tokens": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "workspace_source": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "workspace_warning": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "cwd",
- "tier",
- "sandbox",
- "isolation",
- "timeout_seconds",
- "elapsed_ms"
- ],
- "type": "object"
- },
- "next_steps": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "ok": {
- "const": true,
- "type": "boolean"
- },
- "questions": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "raw_response": {
- "additionalProperties": false,
- "properties": {
- "model": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "session_id": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "text": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "type": "object"
- },
- "summary": {
- "type": "string"
- },
- "tool": {
- "const": "codex_consult",
- "type": "string"
- }
- },
- "required": [
- "summary",
- "meta"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "assumptions": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "confidence": {
- "enum": [
- "low",
- "medium",
- "high"
- ],
- "type": "string"
- },
- "findings": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "evidence": {
- "type": "string"
- },
- "file": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "line": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "line_end": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "recommendation": {
- "type": "string"
- },
- "risk": {
- "type": "string"
- },
- "severity": {
- "enum": [
- "critical",
- "high",
- "medium",
- "low",
- "nit"
- ],
- "type": "string"
- },
- "title": {
- "type": "string"
- }
- },
- "required": [
- "severity",
- "title",
- "evidence",
- "risk",
- "recommendation"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "meta": {
- "additionalProperties": false,
- "properties": {
- "base": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "command_exit_code": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "commit": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "compat_warnings": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "context_summary": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "files_changed": {
- "type": "integer"
- },
- "lines_added": {
- "type": "integer"
- },
- "lines_removed": {
- "type": "integer"
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "cwd": {
- "type": "string"
- },
- "elapsed_ms": {
- "type": "integer"
- },
- "fingerprint": {
- "type": "string"
- },
- "isolation": {
- "enum": [
- "inherit",
- "ignore-config",
- "ignore-rules"
- ],
- "type": "string"
- },
- "job_id": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "model": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "paths": {
- "anyOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ]
- },
- "rate_limit": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "age_seconds": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "as_of": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "home_unverified": {
- "type": "boolean"
- },
- "is_stale": {
- "type": "boolean"
- },
- "limiting_window": {
- "anyOf": [
- {
- "enum": [
- "primary",
- "secondary"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "note": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "plan_type": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "primary": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "remaining_percent": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "reset_passed": {
- "type": "boolean"
- },
- "resets_at": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "seconds_until_reset": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "used_percent": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "window_minutes": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "secondary": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "remaining_percent": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "reset_passed": {
- "type": "boolean"
- },
- "resets_at": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "seconds_until_reset": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "used_percent": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "window_minutes": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "source": {
- "enum": [
- "current_run",
- "plugin_cache"
- ],
- "type": "string"
- },
- "status": {
- "enum": [
- "available",
- "limited",
- "exhausted",
- "unknown"
- ],
- "type": "string"
- }
- },
- "required": [
- "status"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "redacted_paths": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "request_id": {
- "type": "string"
- },
- "sandbox": {
- "enum": [
- "read-only",
- "workspace-write",
- "danger-full-access"
- ],
- "type": "string"
- },
- "scope": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "security_warnings": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "session_id": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "tier": {
- "enum": [
- "consult",
- "propose",
- "apply"
- ],
- "type": "string"
- },
- "timeout_seconds": {
- "type": "integer"
- },
- "truncated": {
- "type": "boolean"
- },
- "truncation_hint": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "usage": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "cached_input_tokens": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "input_tokens": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "output_tokens": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "total_tokens": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "workspace_source": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "workspace_warning": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "cwd",
- "tier",
- "sandbox",
- "isolation",
- "timeout_seconds",
- "elapsed_ms"
- ],
- "type": "object"
- },
- "next_steps": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "ok": {
- "const": true,
- "type": "boolean"
- },
- "questions": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "raw_response": {
- "additionalProperties": false,
- "properties": {
- "model": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "session_id": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "text": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "type": "object"
- },
- "summary": {
- "type": "string"
- },
- "tool": {
- "const": "codex_review_changes",
- "type": "string"
- },
- "verdict": {
- "enum": [
- "pass",
- "concerns",
- "fail",
- "unknown"
- ],
- "type": "string"
- }
- },
- "required": [
- "summary",
- "meta"
- ],
- "type": "object"
- },
- {
- "properties": {
- "error": {
- "description": "Populated error envelope; full schema at resource codex://error-envelope",
- "type": "object"
- },
- "meta": {
- "type": "object"
- },
- "ok": {
- "const": false
- }
- },
- "required": [
- "ok",
- "error",
- "meta"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "ok": {
+ "const": true
+ },
+ "tool": {
+ "description": "Originating tool; the payload matches that tool's advertised outputSchema success branch — branch on this field.",
+ "enum": [
+ "codex_consult",
+ "codex_review_changes",
+ "codex_delegate"
+ ]
+ }
+ },
+ "required": [
+ "ok",
+ "tool"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "error": {
+ "description": "Populated error envelope; full schema at resource codex://error-envelope",
+ "type": "object"
+ },
+ "meta": {
+ "type": "object"
+ },
+ "ok": {
+ "const": false
+ }
+ },
+ "required": [
+ "ok",
+ "error",
+ "meta"
+ ],
+ "type": "object"
+ }
+]