changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": true,
+ "properties": {
+ "ai_instructions": {
+ "description": "What to do with this task, written for the agent.",
+ "type": "string"
+ },
+ "error": {
+ "additionalProperties": true,
+ "description": "Present only when ok is false.",
+ "properties": {
+ "code": {
+ "description": "Stable machine-readable failure code, for example insufficient_scope, workspace_id_required, rate_limited, not_found, or upstream_error. Branch on this, not on message text.",
+ "type": "string"
+ },
+ "detail": {
+ "description": "Optional structured context for the failure, for example { missing_scopes: [...] } on insufficient_scope."
+ },
+ "message": {
+ "description": "Human-readable explanation of the failure.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object"
+ },
+ "human_message": {
+ "description": "One-line summary of the result, safe to relay to the user verbatim.",
+ "type": "string"
+ },
+ "local_runtime": {
+ "additionalProperties": true,
+ "description": "Present on tools that carry the local-runtime upgrade reminder.",
+ "properties": {
+ "cta": {
+ "description": "Upgrade line to surface to the user when local Pathrule (Studio or CLI) would serve them better than Remote MCP.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "cta"
+ ],
+ "type": "object"
+ },
+ "local_runtime_required": {
+ "anyOf": [
+ {},
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Non-null when the task needs local source inspection that Remote MCP cannot do. Do not claim it was applied in that case."
+ },
+ "ok": {
+ "description": "true when the call succeeded. false when it did not, in which case `error` carries the reason and the success fields are absent.",
+ "type": "boolean"
+ },
+ "proposed_patch": {
+ "anyOf": [
+ {},
+ {
+ "type": "null"
+ }
+ ],
+ "description": "A pre-drafted patch when one exists, otherwise null."
+ },
+ "refresh_id": {
+ "description": "The refresh task now claimed by this client.",
+ "type": "string"
+ },
+ "signal": {
+ "description": "Why the item was flagged stale: { formulaId, humanReason, detectedAt, rawSignals }."
+ },
+ "status": {
+ "description": "Task status after the claim.",
+ "type": "string"
+ },
+ "subject": {
+ "additionalProperties": true,
+ "description": "The memory or rule this task proposes to update.",
+ "properties": {
+ "body": {
+ "description": "Current body of the subject, before any patch.",
+ "type": "string"
+ },
+ "id": {
+ "description": "UUID of the memory or rule.",
+ "type": "string"
+ },
+ "node_path": {
+ "description": "Workspace-relative path the subject lives at.",
+ "type": "string"
+ },
+ "title": {
+ "description": "Current title or name of the subject.",
+ "type": "string"
+ },
+ "type": {
+ "description": "What is being refreshed: memory or rule.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "id",
+ "title",
+ "node_path",
+ "body"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "ok"
+ ],
+ "type": "object"
+}