changedOutput schema / properties / goal / anyOf
Previous value: -[
- {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "createdAt": {
- "minimum": 0,
- "type": "number"
- },
- "objective": {
- "minLength": 1,
- "type": "string"
- },
- "status": {
- "enum": [
- "active",
- "paused",
- "blocked",
- "usageLimited",
- "budgetLimited",
- "complete"
- ],
- "type": "string"
- },
- "threadId": {
- "minLength": 1,
- "type": "string"
- },
- "timeUsedSeconds": {
- "minimum": 0,
- "type": "number"
- },
- "tokenBudget": {
- "anyOf": [
- {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "tokensUsed": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "updatedAt": {
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "threadId",
- "objective",
- "status",
- "tokenBudget",
- "tokensUsed",
- "timeUsedSeconds",
- "createdAt",
- "updatedAt"
- ],
- "type": "object"
- },
- {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "codex-cli",
- "type": "string"
- },
- "native": {
- "additionalProperties": false,
- "properties": {
- "createdAt": {
- "minimum": 0,
- "type": "number"
- },
- "objective": {
- "minLength": 1,
- "type": "string"
- },
- "status": {
- "enum": [
- "active",
- "paused",
- "blocked",
- "usageLimited",
- "budgetLimited",
- "complete"
- ],
- "type": "string"
- },
- "threadId": {
- "minLength": 1,
- "type": "string"
- },
- "timeUsedSeconds": {
- "minimum": 0,
- "type": "number"
- },
- "tokenBudget": {
- "anyOf": [
- {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "tokensUsed": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "updatedAt": {
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "threadId",
- "objective",
- "status",
- "tokenBudget",
- "tokensUsed",
- "timeUsedSeconds",
- "createdAt",
- "updatedAt"
- ],
- "type": "object"
- }
- },
- "required": [
- "kind",
- "native"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "claude-code",
- "type": "string"
- },
- "native": {
- "additionalProperties": false,
- "properties": {
- "condition": {
- "minLength": 1,
- "type": "string"
- },
- "durationMs": {
- "minimum": 0,
- "type": "number"
- },
- "iterations": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "met": {
- "const": false,
- "type": "boolean"
- },
- "reason": {
- "type": "string"
- },
- "sentinel": {
- "type": "boolean"
- },
- "tokens": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "type": {
- "const": "goal_status",
- "type": "string"
- }
- },
- "required": [
- "type",
- "condition",
- "met"
- ],
- "type": "object"
- },
- "phase": {
- "const": "active",
- "type": "string"
- },
- "reported_turns": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "kind",
- "phase",
- "native"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "current_status": {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "elapsed_display": {
- "maxLength": 64,
- "pattern": "^(?:\\d+s|\\d+m[0-5]\\ds|\\d+h[0-5]\\dm)$",
- "type": "string"
- },
- "phase": {
- "enum": [
- "Idle",
- "Planning",
- "Executing"
- ],
- "type": "string"
- },
- "source": {
- "const": "/goal status",
- "type": "string"
- },
- "status": {
- "enum": [
- "Active",
- "UserPaused"
- ],
- "type": "string"
- },
- "tokens_used": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "source",
- "status",
- "phase",
- "tokens_used",
- "elapsed_display"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "budget_display": {
- "maxLength": 128,
- "minLength": 1,
- "type": "string"
- },
- "elapsed_display": {
- "maxLength": 64,
- "pattern": "^(?:\\d+s|\\d+m[0-5]\\ds|\\d+h[0-5]\\dm)$",
- "type": "string"
- },
- "phase": {
- "type": "null"
- },
- "phase_display": {
- "anyOf": [
- {
- "maxLength": 64,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "source": {
- "const": "goal detail",
- "type": "string"
- },
- "status": {
- "enum": [
- "Active",
- "Paused"
- ],
- "type": "string"
- },
- "status_display": {
- "maxLength": 128,
- "minLength": 1,
- "type": "string"
- },
- "tokens_used": {
- "type": "null"
- }
- },
- "required": [
- "source",
- "status",
- "phase",
- "tokens_used",
- "status_display",
- "phase_display",
- "budget_display",
- "elapsed_display"
- ],
- "type": "object"
- }
- ]
- },
- "kind": {
- "const": "grok-cli",
- "type": "string"
- },
- "native": {
- "additionalProperties": false,
- "properties": {
- "classifier_runs_attempted": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "classifier_stall_count": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "consecutive_not_achieved": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "created_at": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- "current_subagent_id": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "current_subagent_role": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "elapsed_ms": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "evaluator_blocked_streak": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "goal_id": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "history": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "detail": {
- "type": "string"
- },
- "event": {
- "type": "string"
- },
- "timestamp": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- }
- },
- "required": [
- "timestamp",
- "event"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "last_session_tokens_seen": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "last_strategist_fired_at": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "objective": {
- "minLength": 1,
- "type": "string"
- },
- "parent_tokens_spent": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "phase": {
- "enum": [
- "Idle",
- "Planning",
- "Executing"
- ],
- "type": "string"
- },
- "rounds_since_verify": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "status": {
- "enum": [
- "active",
- "user_paused"
- ],
- "type": "string"
- },
- "strategist_cap_bonus": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "token_baseline": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "token_budget": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "tokens_used_high_water": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "total_verify_rounds": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "total_worker_rounds": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "verifier_id": {
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "goal_id",
- "objective",
- "status",
- "phase",
- "token_budget",
- "elapsed_ms",
- "created_at",
- "current_subagent_id",
- "current_subagent_role",
- "total_worker_rounds",
- "total_verify_rounds",
- "token_baseline",
- "tokens_used_high_water",
- "parent_tokens_spent",
- "last_session_tokens_seen",
- "history",
- "evaluator_blocked_streak",
- "verifier_id",
- "classifier_runs_attempted",
- "rounds_since_verify",
- "classifier_stall_count",
- "consecutive_not_achieved",
- "last_strategist_fired_at",
- "strategist_cap_bonus"
- ],
- "type": "object"
- }
- },
- "required": [
- "kind",
- "native",
- "current_status"
- ],
- "type": "object"
- }
- ]
- }
- ]
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "createdAt": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "objective": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "active",
+ "paused",
+ "blocked",
+ "usageLimited",
+ "budgetLimited",
+ "complete"
+ ],
+ "type": "string"
+ },
+ "threadId": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "timeUsedSeconds": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "tokenBudget": {
+ "anyOf": [
+ {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "tokensUsed": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "updatedAt": {
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "threadId",
+ "objective",
+ "status",
+ "tokenBudget",
+ "tokensUsed",
+ "timeUsedSeconds",
+ "createdAt",
+ "updatedAt"
+ ],
+ "type": "object"
+ },
+ {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "codex-cli",
+ "type": "string"
+ },
+ "native": {
+ "additionalProperties": false,
+ "properties": {
+ "createdAt": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "objective": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "active",
+ "paused",
+ "blocked",
+ "usageLimited",
+ "budgetLimited",
+ "complete"
+ ],
+ "type": "string"
+ },
+ "threadId": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "timeUsedSeconds": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "tokenBudget": {
+ "anyOf": [
+ {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "tokensUsed": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "updatedAt": {
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "threadId",
+ "objective",
+ "status",
+ "tokenBudget",
+ "tokensUsed",
+ "timeUsedSeconds",
+ "createdAt",
+ "updatedAt"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "kind",
+ "native"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "claude-code",
+ "type": "string"
+ },
+ "native": {
+ "additionalProperties": false,
+ "properties": {
+ "condition": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "durationMs": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "iterations": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "met": {
+ "const": false,
+ "type": "boolean"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "sentinel": {
+ "type": "boolean"
+ },
+ "tokens": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "type": {
+ "const": "goal_status",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "condition",
+ "met"
+ ],
+ "type": "object"
+ },
+ "phase": {
+ "const": "active",
+ "type": "string"
+ },
+ "reported_turns": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "kind",
+ "phase",
+ "native"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "current_status": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "elapsed_display": {
+ "maxLength": 64,
+ "pattern": "^(?:\\d+s|\\d+m[0-5]\\ds|\\d+h[0-5]\\dm)$",
+ "type": "string"
+ },
+ "phase": {
+ "enum": [
+ "Idle",
+ "Planning",
+ "Executing"
+ ],
+ "type": "string"
+ },
+ "source": {
+ "const": "/goal status",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "Active",
+ "UserPaused"
+ ],
+ "type": "string"
+ },
+ "tokens_used": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "source",
+ "status",
+ "phase",
+ "tokens_used",
+ "elapsed_display"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "budget_display": {
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "elapsed_display": {
+ "maxLength": 64,
+ "pattern": "^(?:\\d+s|\\d+m[0-5]\\ds|\\d+h[0-5]\\dm)$",
+ "type": "string"
+ },
+ "phase": {
+ "type": "null"
+ },
+ "phase_display": {
+ "anyOf": [
+ {
+ "maxLength": 64,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "source": {
+ "const": "goal detail",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "Active",
+ "Paused"
+ ],
+ "type": "string"
+ },
+ "status_display": {
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "tokens_used": {
+ "type": "null"
+ }
+ },
+ "required": [
+ "source",
+ "status",
+ "phase",
+ "tokens_used",
+ "status_display",
+ "phase_display",
+ "budget_display",
+ "elapsed_display"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "kind": {
+ "const": "grok-cli",
+ "type": "string"
+ },
+ "native": {
+ "additionalProperties": false,
+ "properties": {
+ "classifier_runs_attempted": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "classifier_stall_count": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "consecutive_not_achieved": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "created_at": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "current_subagent_id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "current_subagent_role": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "elapsed_ms": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "evaluator_blocked_streak": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "goal_id": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "history": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "detail": {
+ "type": "string"
+ },
+ "event": {
+ "type": "string"
+ },
+ "timestamp": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "timestamp",
+ "event"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "last_session_tokens_seen": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "last_strategist_fired_at": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "objective": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "parent_tokens_spent": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "phase": {
+ "enum": [
+ "Idle",
+ "Planning",
+ "Executing"
+ ],
+ "type": "string"
+ },
+ "rounds_since_verify": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "status": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "strategist_cap_bonus": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "token_baseline": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "token_budget": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "tokens_used_high_water": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "total_verify_rounds": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "total_worker_rounds": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "verifier_id": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "goal_id",
+ "objective",
+ "status",
+ "phase",
+ "token_budget",
+ "elapsed_ms",
+ "created_at",
+ "current_subagent_id",
+ "current_subagent_role",
+ "total_worker_rounds",
+ "total_verify_rounds",
+ "token_baseline",
+ "tokens_used_high_water",
+ "parent_tokens_spent",
+ "last_session_tokens_seen",
+ "history",
+ "evaluator_blocked_streak",
+ "verifier_id",
+ "classifier_runs_attempted",
+ "rounds_since_verify",
+ "classifier_stall_count",
+ "consecutive_not_achieved",
+ "last_strategist_fired_at",
+ "strategist_cap_bonus"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "kind",
+ "native"
+ ],
+ "type": "object"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+]