changedInput schema / properties / watches / additionalProperties / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "command": {
- "description": "A shell command, run in the goal's directory, that prints one line per current item (an issue number, a feed entry's id). Lines not seen before start a run; the first check only records what is there. Must exit 0",
- "minLength": 1,
- "type": "string"
- },
- "every_minutes": {
- "description": "How often to check (default 5). Each run it starts is a full model run: pick the longest interval the source allows (goal-watches skill, Fewer quiet runs)",
- "minimum": 1,
- "type": "integer"
- },
- "finally": {
- "additionalProperties": false,
- "description": "With steps: a call that always runs after them, even after a failure (e.g. close the tab)",
- "properties": {
- "input": {
- "additionalProperties": {},
- "type": "object"
- },
- "tool": {
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "tool"
- ],
- "type": "object"
- },
- "fires": {
- "description": "'new' (default): a line never seen before starts a run. 'change': for a state (a working tree, a health URL): a run starts when the output differs from the last check, with the lines that weren't in it ((none) when it became empty)",
- "enum": [
- "new",
- "change"
- ],
- "type": "string"
- },
- "ignore": {
- "description": "A regular expression: lines it matches are left out (for either kind): never a run, never marked seen, not read by status rules. null removes it",
- "type": [
- "string",
- "null"
- ]
- },
- "input": {
- "additionalProperties": {},
- "description": "The tool's arguments",
- "type": "object"
- },
- "match": {
- "description": "A regular expression over the tool's answer; each match (its first group) is one line. Left out: every \"id\" in a JSON answer. For a command: only the output lines it matches count (whole lines, before the line cap)",
- "type": "string"
- },
- "status": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "default": {
- "additionalProperties": false,
- "description": "When no rule matches",
- "properties": {
- "run": {
- "type": "boolean"
- },
- "status": {
- "maxLength": 40,
- "minLength": 1,
- "type": "string"
- },
- "tone": {
- "enum": [
- "ok",
- "attention",
- "problem"
- ],
- "type": "string"
- }
- },
- "required": [
- "status"
- ],
- "type": "object"
- },
- "rules": {
- "description": "The first rule matching any line wins",
- "items": {
- "additionalProperties": false,
- "properties": {
- "match": {
- "description": "A regular expression tested against each line",
- "minLength": 1,
- "type": "string"
- },
- "run": {
- "description": "true: the lines also start a run",
- "type": "boolean"
- },
- "status": {
- "description": "The status text this rule sets (never taken from the output)",
- "maxLength": 40,
- "minLength": 1,
- "type": "string"
- },
- "tone": {
- "enum": [
- "ok",
- "attention",
- "problem"
- ],
- "type": "string"
- }
- },
- "required": [
- "match",
- "status"
- ],
- "type": "object"
- },
- "maxItems": 10,
- "type": "array"
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Sets the goal's status (and tone) from each check's lines with no agent run: for a goal that only reports a state. A run starts only when the matching rule says run: true. Best with fires: 'change'"
- },
- "steps": {
- "description": "Instead of tool + input: up to 4 read-only calls in order (e.g. a browser navigate, then get_page_text with {{tabId}}); the last answer is read with match",
- "items": {
- "additionalProperties": false,
- "properties": {
- "expect": {
- "description": "A regular expression this step answer text must match; an answer that does not is a failed check, so a problem the tool answers as plain text is not read as \"nothing new\"",
- "type": "string"
- },
- "input": {
- "additionalProperties": {},
- "description": "May use {{name}} for a value an earlier step picked",
- "type": "object"
- },
- "pick": {
- "additionalProperties": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "regex": {
- "type": "string"
- }
- },
- "required": [
- "regex"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "json": {
- "type": "string"
- }
- },
- "required": [
- "json"
- ],
- "type": "object"
- }
- ]
- },
- "description": "Name to {regex: \"one group\"} or {json: \"a.b[0]\"} over this step answer text, for later inputs as {{name}}",
- "type": "object"
- },
- "retry": {
- "description": "Tries in all, 1 to 5: when this step errors, misses expect or a pick, wait about 2 s and call it again (a page still loading); only this step repeats, and the waits count toward the 30 s limit",
- "maximum": 5,
- "minimum": 1,
- "type": "integer"
- },
- "tool": {
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "tool"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "minItems": 1,
- "type": "array"
- },
- "tool": {
- "description": "Instead of a command: a connector or MCP tool (mcp__…) that only reads, called by the session that runs goals, e.g. a mail search",
- "minLength": 1,
- "type": "string"
- },
- "urgent": {
- "description": "true: this watch's news starts a run at once, even within the goal's min_watch_gap_minutes (for sources where minutes matter)",
- "type": "boolean"
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "properties": {
+ "command": {
+ "description": "A shell command, run in the goal's directory, that prints one line per current item (an issue number, a feed entry's id). Lines not seen before start a run; the first check only records what is there. Must exit 0",
+ "minLength": 1,
+ "type": "string"
+ },
+ "every_minutes": {
+ "description": "How often to check (default 5). Each run it starts is a full model run: pick the longest interval the source allows (goal-watches skill, Fewer quiet runs)",
+ "maximum": 9007199254740991,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "finally": {
+ "description": "With steps: a call that always runs after them, even after a failure (e.g. close the tab)",
+ "properties": {
+ "input": {
+ "additionalProperties": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "tool": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "tool"
+ ],
+ "type": "object"
+ },
+ "fires": {
+ "description": "'new' (default): a line never seen before starts a run. 'change': for a state (a working tree, a health URL): a run starts when the output differs from the last check, with the lines that weren't in it ((none) when it became empty)",
+ "enum": [
+ "new",
+ "change"
+ ],
+ "type": "string"
+ },
+ "ignore": {
+ "description": "A regular expression: lines it matches are left out (for either kind): never a run, never marked seen, not read by status rules. null removes it",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "input": {
+ "additionalProperties": {},
+ "description": "The tool's arguments",
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "match": {
+ "description": "A regular expression over the tool's answer; each match (its first group) is one line. Left out: every \"id\" in a JSON answer. For a command: only the output lines it matches count (whole lines, before the line cap)",
+ "type": "string"
+ },
+ "status": {
+ "anyOf": [
+ {
+ "properties": {
+ "default": {
+ "description": "When no rule matches",
+ "properties": {
+ "run": {
+ "type": "boolean"
+ },
+ "status": {
+ "maxLength": 40,
+ "minLength": 1,
+ "type": "string"
+ },
+ "tone": {
+ "enum": [
+ "ok",
+ "attention",
+ "problem"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "status"
+ ],
+ "type": "object"
+ },
+ "rules": {
+ "description": "The first rule matching any line wins",
+ "items": {
+ "properties": {
+ "match": {
+ "description": "A regular expression tested against each line",
+ "minLength": 1,
+ "type": "string"
+ },
+ "run": {
+ "description": "true: the lines also start a run",
+ "type": "boolean"
+ },
+ "status": {
+ "description": "The status text this rule sets (never taken from the output)",
+ "maxLength": 40,
+ "minLength": 1,
+ "type": "string"
+ },
+ "tone": {
+ "enum": [
+ "ok",
+ "attention",
+ "problem"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "match",
+ "status"
+ ],
+ "type": "object"
+ },
+ "maxItems": 10,
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Sets the goal's status (and tone) from each check's lines with no agent run: for a goal that only reports a state. A run starts only when the matching rule says run: true. Best with fires: 'change'"
+ },
+ "steps": {
+ "description": "Instead of tool + input: up to 4 read-only calls in order (e.g. a browser navigate, then get_page_text with {{tabId}}); the last answer is read with match",
+ "items": {
+ "properties": {
+ "expect": {
+ "description": "A regular expression this step answer text must match; an answer that does not is a failed check, so a problem the tool answers as plain text is not read as \"nothing new\"",
+ "type": "string"
+ },
+ "input": {
+ "additionalProperties": {},
+ "description": "May use {{name}} for a value an earlier step picked",
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "pick": {
+ "additionalProperties": {
+ "anyOf": [
+ {
+ "properties": {
+ "regex": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "regex"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "json": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "json"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "description": "Name to {regex: \"one group\"} or {json: \"a.b[0]\"} over this step answer text, for later inputs as {{name}}",
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "retry": {
+ "description": "Tries in all, 1 to 5: when this step errors, misses expect or a pick, wait about 2 s and call it again (a page still loading); only this step repeats, and the waits count toward the 30 s limit",
+ "maximum": 5,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "tool": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "tool"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 1,
+ "type": "array"
+ },
+ "tool": {
+ "description": "Instead of a command: a connector or MCP tool (mcp__…) that only reads, called by the session that runs goals, e.g. a mail search",
+ "minLength": 1,
+ "type": "string"
+ },
+ "urgent": {
+ "description": "true: this watch's news starts a run at once, even within the goal's min_watch_gap_minutes (for sources where minutes matter)",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]