Skip to main content
Glama

Get task definition

definition_get
Read-onlyIdempotent

Read one task definition whole: its type, purpose, doer, routine and, for a cleanup definition, its limits (cleanup), review (whether it is required, the reviewer, and who turned it off and when), whether it is archived, its revision for definition_update, its page in the dashboard, its current instructions with their version number, who saved them, when, and the why an agent stated, and its corrections in force, oldest first, each with who recorded it, the why and where it came from. version, a number from 1 to instructionsVersion, reads that saved version instead. numbers: true adds its last 8 weeks, each from Monday 00:00 UTC, the current week first: tasks of its type done (records of work not counted), review rounds decided and sent back, corrections recorded on it, and the median review wait; an archived definition reads them too. Name it by its id, or by its type with workspaceId. A definition you cannot read is UNAVAILABLE. A definition too large for one tool reply returns lossless base64 JSON chunks: call again with the same arguments, nextOffset as offset and sha256. A definition that changed between chunks refuses the continuation with CHANGED_DURING_READ: read it again from the start, with no offset or sha256. A chunked definition's open instructions update (instructionsUpdate), and with numbers: true its numbers, ride beside its first part, outside the chunks, so work done meanwhile does not refuse the continuation.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "definition": "<definition>"
    },
    "name": "definition_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
whyNoOptional, accepted and not recorded by this operation. If you send one, one sentence on the goal this change serves. At most 300 characters.
offsetNoWhere the chunk starts: the previous chunk's nextOffset.
sha256NoThe chunks' sha256, required with a nonzero offset.
numbersNotrue adds numbers: its last 8 weeks, the current week first, each starting Monday 00:00 UTC and named by that day, with how many tasks of its type were done (records of work not counted), how many review rounds were decided (approved or sent back) and sent back, how many corrections were recorded on it, and the median review wait in milliseconds (null with no review that week). Counted when read; an archived definition reads them too. Omit (or false) for none.
versionNoOne saved version of its instructions, by number: versions run from 1 to the definition's instructionsVersion. Omit for the current one.
definitionYesThe definition: its id (definition_create and definition_list return it), or its type when workspaceId is sent. An id is an id with or without workspaceId.
workspaceIdNoWith a type as definition: the workspace (its id or its slug).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / why / description
      Previous value: -"Optional, accepted and not recorded by this operation. If you send one, one sentence on what the person is trying to accomplish. At most 300 characters."New value: +"Optional, accepted and not recorded by this operation. If you send one, one sentence on the goal this change serves. At most 300 characters."
  2. Changed1 schema field changed
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "definition": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "archived": {
      -            "description": "true: archived. An archived definition keeps its type and applies to no task.",
      -            "type": "boolean"
      -          },
      -          "archivedAt": {
      -            "anyOf": [
      -              {
      -                "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))$",
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "corrections": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "inForce": {
      -                "description": "Its corrections in force, oldest first, whole: every pickup of a task of the type carries them after the instructions; where two disagree, the later stands.",
      -                "items": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "by": {
      -                      "additionalProperties": false,
      -                      "description": "Whose it is: the person, and the agent when an agent's key recorded it.",
      -                      "properties": {
      -                        "account": {
      -                          "additionalProperties": false,
      -                          "properties": {
      -                            "alias": {
      -                              "anyOf": [
      -                                {
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ]
      -                            },
      -                            "former": {
      -                              "const": true,
      -                              "type": "boolean"
      -                            },
      -                            "id": {
      -                              "type": "string"
      -                            }
      -                          },
      -                          "required": [
      -                            "id",
      -                            "alias"
      -                          ],
      -                          "type": "object"
      -                        },
      -                        "agent": {
      -                          "anyOf": [
      -                            {
      -                              "additionalProperties": false,
      -                              "properties": {
      -                                "harness": {
      -                                  "anyOf": [
      -                                    {
      -                                      "type": "string"
      -                                    },
      -                                    {
      -                                      "type": "null"
      -                                    }
      -                                  ]
      -                                },
      -                                "id": {
      -                                  "anyOf": [
      -                                    {
      -                                      "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"
      -                                    },
      -                                    {
      -                                      "type": "null"
      -                                    }
      -                                  ]
      -                                },
      -                                "name": {
      -                                  "anyOf": [
      -                                    {
      -                                      "type": "string"
      -                                    },
      -                                    {
      -                                      "type": "null"
      -                                    }
      -                                  ]
      -                                }
      -                              },
      -                              "required": [
      -                                "id",
      -                                "name",
      -                                "harness"
      -                              ],
      -                              "type": "object"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ]
      -                        },
      -                        "isCaller": {
      -                          "type": "boolean"
      -                        },
      -                        "mine": {
      -                          "type": "boolean"
      -                        }
      -                      },
      -                      "required": [
      -                        "account",
      -                        "agent",
      -                        "mine",
      -                        "isCaller"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "createdAt": {
      -                      "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))$",
      -                      "type": "string"
      -                    },
      -                    "id": {
      -                      "description": "The correction's id: correction_retire takes it.",
      -                      "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"
      -                    },
      -                    "retired": {
      -                      "anyOf": [
      -                        {
      -                          "additionalProperties": false,
      -                          "properties": {
      -                            "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))$",
      -                              "type": "string"
      -                            },
      -                            "by": {
      -                              "additionalProperties": false,
      -                              "properties": {
      -                                "account": {
      -                                  "additionalProperties": false,
      -                                  "properties": {
      -                                    "alias": {
      -                                      "anyOf": [
      -                                        {
      -                                          "type": "string"
      -                                        },
      -                                        {
      -                                          "type": "null"
      -                                        }
      -                                      ]
      -                                    },
      -                                    "former": {
      -                                      "const": true,
      -                                      "type": "boolean"
      -                                    },
      -                                    "id": {
      -                                      "type": "string"
      -                                    }
      -                                  },
      -                                  "required": [
      -                                    "id",
      -                                    "alias"
      -                                  ],
      -                                  "type": "object"
      -                                },
      -                                "agent": {
      -                                  "anyOf": [
      -                                    {
      -                                      "additionalProperties": false,
      -                                      "properties": {
      -                                        "harness": {
      -                                          "anyOf": [
      -                                            {
      -                                              "type": "string"
      -                                            },
      -                                            {
      -                                              "type": "null"
      -                                            }
      -                                          ]
      -                                        },
      -                                        "id": {
      -                                          "anyOf": [
      -                                            {
      -                                              "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"
      -                                            },
      -                                            {
      -                                              "type": "null"
      -                                            }
      -                                          ]
      -                                        },
      -                                        "name": {
      -                                          "anyOf": [
      -                                            {
      -                                              "type": "string"
      -                                            },
      -                                            {
      -                                              "type": "null"
      -                                            }
      -                                          ]
      -                                        }
      -                                      },
      -                                      "required": [
      -                                        "id",
      -                                        "name",
      -                                        "harness"
      -                                      ],
      -                                      "type": "object"
      -                                    },
      -                                    {
      -                                      "type": "null"
      -                                    }
      -                                  ]
      -                                },
      -                                "isCaller": {
      -                                  "type": "boolean"
      -                                },
      -                                "mine": {
      -                                  "type": "boolean"
      -                                }
      -                              },
      -                              "required": [
      -                                "account",
      -                                "agent",
      -                                "mine",
      -                                "isCaller"
      -                              ],
      -                              "type": "object"
      -                            },
      -                            "includedIn": {
      -                              "anyOf": [
      -                                {
      -                                  "exclusiveMinimum": 0,
      -                                  "maximum": 9007199254740991,
      -                                  "type": "integer"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ],
      -                              "description": "The instructions version it was included in; null when it was retired by hand."
      -                            }
      -                          },
      -                          "required": [
      -                            "at",
      -                            "by",
      -                            "includedIn"
      -                          ],
      -                          "type": "object"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "null: in force, carried by every pickup of the type. Otherwise when it was retired, by whom, and the version that absorbed it."
      -                    },
      -                    "source": {
      -                      "anyOf": [
      -                        {
      -                          "additionalProperties": false,
      -                          "properties": {
      -                            "round": {
      -                              "anyOf": [
      -                                {
      -                                  "exclusiveMinimum": 0,
      -                                  "maximum": 9007199254740991,
      -                                  "type": "integer"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ],
      -                              "description": "The review round of that task it came from; null when none, or once gone."
      -                            },
      -                            "task": {
      -                              "anyOf": [
      -                                {
      -                                  "additionalProperties": false,
      -                                  "properties": {
      -                                    "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"
      -                                    },
      -                                    "title": {
      -                                      "type": "string"
      -                                    }
      -                                  },
      -                                  "required": [
      -                                    "id",
      -                                    "title"
      -                                  ],
      -                                  "type": "object"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ],
      -                              "description": "The task it came up on; null once that task is gone."
      -                            }
      -                          },
      -                          "required": [
      -                            "task",
      -                            "round"
      -                          ],
      -                          "type": "object"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "Where it came from; null when it came from no task (said in chat)."
      -                    },
      -                    "text": {
      -                      "description": "The correction, in the words it was recorded with.",
      -                      "type": "string"
      -                    },
      -                    "why": {
      -                      "anyOf": [
      -                        {
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "The why the agent that recorded it stated; null for a person's own."
      -                    }
      -                  },
      -                  "required": [
      -                    "id",
      -                    "text",
      -                    "by",
      -                    "why",
      -                    "source",
      -                    "createdAt",
      -                    "retired"
      -                  ],
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              "limit": {
      -                "description": "The most corrections it holds in force.",
      -                "exclusiveMinimum": 0,
      -                "maximum": 9007199254740991,
      -                "type": "integer"
      -              }
      -            },
      -            "required": [
      -              "inForce",
      -              "limit"
      -            ],
      -            "type": "object"
      -          },
      -          "createdAt": {
      -            "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))$",
      -            "type": "string"
      -          },
      -          "createdBy": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "account": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "alias": {
      -                    "anyOf": [
      -                      {
      -                        "type": "string"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "former": {
      -                    "const": true,
      -                    "type": "boolean"
      -                  },
      -                  "id": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "id",
      -                  "alias"
      -                ],
      -                "type": "object"
      -              },
      -              "agent": {
      -                "anyOf": [
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "harness": {
      -                        "anyOf": [
      -                          {
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ]
      -                      },
      -                      "id": {
      -                        "anyOf": [
      -                          {
      -                            "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"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ]
      -                      },
      -                      "name": {
      -                        "anyOf": [
      -                          {
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ]
      -                      }
      -                    },
      -                    "required": [
      -                      "id",
      -                      "name",
      -                      "harness"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "isCaller": {
      -                "type": "boolean"
      -              },
      -              "mine": {
      -                "type": "boolean"
      -              }
      -            },
      -            "required": [
      -              "account",
      -              "agent",
      -              "mine",
      -              "isCaller"
      -            ],
      -            "type": "object"
      -          },
      -          "doer": {
      -            "anyOf": [
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "account": {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "alias": {
      -                        "anyOf": [
      -                          {
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ]
      -                      },
      -                      "former": {
      -                        "const": true,
      -                        "type": "boolean"
      -                      },
      -                      "id": {
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "id",
      -                      "alias"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "agent": {
      -                    "anyOf": [
      -                      {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "harness": {
      -                            "anyOf": [
      -                              {
      -                                "type": "string"
      -                              },
      -                              {
      -                                "type": "null"
      -                              }
      -                            ]
      -                          },
      -                          "id": {
      -                            "anyOf": [
      -                              {
      -                                "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"
      -                              },
      -                              {
      -                                "type": "null"
      -                              }
      -                            ]
      -                          },
      -                          "name": {
      -                            "anyOf": [
      -                              {
      -                                "type": "string"
      -                              },
      -                              {
      -                                "type": "null"
      -                              }
      -                            ]
      -                          }
      -                        },
      -                        "required": [
      -                          "id",
      -                          "name",
      -                          "harness"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "isCaller": {
      -                    "type": "boolean"
      -                  },
      -                  "mine": {
      -                    "type": "boolean"
      -                  }
      -                },
      -                "required": [
      -                  "account",
      -                  "agent",
      -                  "mine",
      -                  "isCaller"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Who does tasks of this type; null: nobody named."
      -          },
      -          "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"
      -          },
      -          "instructions": {
      -            "anyOf": [
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "savedAt": {
      -                    "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))$",
      -                    "type": "string"
      -                  },
      -                  "savedBy": {
      -                    "additionalProperties": false,
      -                    "description": "Who saved this version: a person, or a person's agent.",
      -                    "properties": {
      -                      "account": {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "alias": {
      -                            "anyOf": [
      -                              {
      -                                "type": "string"
      -                              },
      -                              {
      -                                "type": "null"
      -                              }
      -                            ]
      -                          },
      -                          "former": {
      -                            "const": true,
      -                            "type": "boolean"
      -                          },
      -                          "id": {
      -                            "type": "string"
      -                          }
      -                        },
      -                        "required": [
      -                          "id",
      -                          "alias"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      "agent": {
      -                        "anyOf": [
      -                          {
      -                            "additionalProperties": false,
      -                            "properties": {
      -                              "harness": {
      -                                "anyOf": [
      -                                  {
      -                                    "type": "string"
      -                                  },
      -                                  {
      -                                    "type": "null"
      -                                  }
      -                                ]
      -                              },
      -                              "id": {
      -                                "anyOf": [
      -                                  {
      -                                    "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"
      -                                  },
      -                                  {
      -                                    "type": "null"
      -                                  }
      -                                ]
      -                              },
      -                              "name": {
      -                                "anyOf": [
      -                                  {
      -                                    "type": "string"
      -                                  },
      -                                  {
      -                                    "type": "null"
      -                                  }
      -                                ]
      -                              }
      -                            },
      -                            "required": [
      -                              "id",
      -                              "name",
      -                              "harness"
      -                            ],
      -                            "type": "object"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ]
      -                      },
      -                      "isCaller": {
      -                        "type": "boolean"
      -                      },
      -                      "mine": {
      -                        "type": "boolean"
      -                      }
      -                    },
      -                    "required": [
      -                      "account",
      -                      "agent",
      -                      "mine",
      -                      "isCaller"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "text": {
      -                    "description": "The instructions, markdown, saved whole; may be empty.",
      -                    "type": "string"
      -                  },
      -                  "version": {
      -                    "exclusiveMinimum": 0,
      -                    "maximum": 9007199254740991,
      -                    "type": "integer"
      -                  },
      -                  "why": {
      -                    "anyOf": [
      -                      {
      -                        "type": "string"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ],
      -                    "description": "The why the agent that saved it stated; null for a person's save."
      -                  }
      -                },
      -                "required": [
      -                  "version",
      -                  "text",
      -                  "savedBy",
      -                  "savedAt",
      -                  "why"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "The current instructions, or the version read by number; null: none saved."
      -          },
      -          "instructionsUpdate": {
      -            "anyOf": [
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "state": {
      -                    "description": "drafting: Tokenrip is drafting a change to the instructions that works the corrections in; ready: the draft waits on a person.",
      -                    "enum": [
      -                      "drafting",
      -                      "ready"
      -                    ],
      -                    "type": "string"
      -                  },
      -                  "taskId": {
      -                    "anyOf": [
      -                      {
      -                        "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"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ],
      -                    "description": "The task that puts the draft before a person; null while it is drafted."
      -                  }
      -                },
      -                "required": [
      -                  "state",
      -                  "taskId"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Its open instructions update, or null: updated instructions that work its corrections in, which Tokenrip drafts by itself once enough corrections gather, or when a person asks on the dashboard, and a person accepts. While one is open none is drafted again."
      -          },
      -          "instructionsVersion": {
      -            "anyOf": [
      -              {
      -                "exclusiveMinimum": 0,
      -                "maximum": 9007199254740991,
      -                "type": "integer"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "The current version of its instructions; versions run from 1 to it. null: none saved."
      -          },
      -          "numbers": {
      -            "description": "Present only when asked for (numbers: true): its last 8 weeks, the current week first.",
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "correctionsAdded": {
      -                  "description": "Corrections recorded on the definition in the week, including those since retired or included in new instructions.",
      -                  "maximum": 9007199254740991,
      -                  "minimum": 0,
      -                  "type": "integer"
      -                },
      -                "done": {
      -                  "description": "Tasks of the type finished Done in the week; a record of work is not counted.",
      -                  "maximum": 9007199254740991,
      -                  "minimum": 0,
      -                  "type": "integer"
      -                },
      -                "reviewWaitMs": {
      -                  "anyOf": [
      -                    {
      -                      "minimum": 0,
      -                      "type": "number"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "The median time from a submission to its decision over the week's reviewed rounds, in milliseconds; null: none was reviewed."
      -                },
      -                "reviewed": {
      -                  "description": "Review rounds on tasks of the type decided in the week, approved or sent back.",
      -                  "maximum": 9007199254740991,
      -                  "minimum": 0,
      -                  "type": "integer"
      -                },
      -                "sentBack": {
      -                  "description": "Of those, the rounds sent back.",
      -                  "maximum": 9007199254740991,
      -                  "minimum": 0,
      -                  "type": "integer"
      -                },
      -                "week": {
      -                  "description": "The week's first day, a Monday, in UTC: the week runs from its 00:00 UTC for seven days.",
      -                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "week",
      -                "done",
      -                "reviewed",
      -                "sentBack",
      -                "correctionsAdded",
      -                "reviewWaitMs"
      -              ],
      -              "type": "object"
      -            },
      -            "maxItems": 8,
      -            "minItems": 8,
      -            "type": "array"
      -          },
      -          "page": {
      -            "description": "The definition's page in the dashboard, where a person reads and edits it.",
      -            "type": "string"
      -          },
      -          "purpose": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "One line on what the type is for; null: none."
      -          },
      -          "review": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "offAt": {
      -                "anyOf": [
      -                  {
      -                    "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))$",
      -                    "type": "string"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ],
      -                "description": "When review was turned off; null while it is required."
      -              },
      -              "offBy": {
      -                "anyOf": [
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "account": {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "alias": {
      -                            "anyOf": [
      -                              {
      -                                "type": "string"
      -                              },
      -                              {
      -                                "type": "null"
      -                              }
      -                            ]
      -                          },
      -                          "former": {
      -                            "const": true,
      -                            "type": "boolean"
      -                          },
      -                          "id": {
      -                            "type": "string"
      -                          }
      -                        },
      -                        "required": [
      -                          "id",
      -                          "alias"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      "agent": {
      -                        "anyOf": [
      -                          {
      -                            "additionalProperties": false,
      -                            "properties": {
      -                              "harness": {
      -                                "anyOf": [
      -                                  {
      -                                    "type": "string"
      -                                  },
      -                                  {
      -                                    "type": "null"
      -                                  }
      -                                ]
      -                              },
      -                              "id": {
      -                                "anyOf": [
      -                                  {
      -                                    "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"
      -                                  },
      -                                  {
      -                                    "type": "null"
      -                                  }
      -                                ]
      -                              },
      -                              "name": {
      -                                "anyOf": [
      -                                  {
      -                                    "type": "string"
      -                                  },
      -                                  {
      -                                    "type": "null"
      -                                  }
      -                                ]
      -                              }
      -                            },
      -                            "required": [
      -                              "id",
      -                              "name",
      -                              "harness"
      -                            ],
      -                            "type": "object"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ]
      -                      },
      -                      "isCaller": {
      -                        "type": "boolean"
      -                      },
      -                      "mine": {
      -                        "type": "boolean"
      -                      }
      -                    },
      -                    "required": [
      -                      "account",
      -                      "agent",
      -                      "mine",
      -                      "isCaller"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ],
      -                "description": "The workspace admin who turned review off; null while it is required."
      -              },
      -              "required": {
      -                "description": "true: a person reviews this type's work before it is finished.",
      -                "type": "boolean"
      -              },
      -              "reviewer": {
      -                "anyOf": [
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "account": {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "alias": {
      -                            "anyOf": [
      -                              {
      -                                "type": "string"
      -                              },
      -                              {
      -                                "type": "null"
      -                              }
      -                            ]
      -                          },
      -                          "former": {
      -                            "const": true,
      -                            "type": "boolean"
      -                          },
      -                          "id": {
      -                            "type": "string"
      -                          }
      -                        },
      -                        "required": [
      -                          "id",
      -                          "alias"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      "agent": {
      -                        "anyOf": [
      -                          {
      -                            "additionalProperties": false,
      -                            "properties": {
      -                              "harness": {
      -                                "anyOf": [
      -                                  {
      -                                    "type": "string"
      -                                  },
      -                                  {
      -                                    "type": "null"
      -                                  }
      -                                ]
      -                              },
      -                              "id": {
      -                                "anyOf": [
      -                                  {
      -                                    "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"
      -                                  },
      -                                  {
      -                                    "type": "null"
      -                                  }
      -                                ]
      -                              },
      -                              "name": {
      -                                "anyOf": [
      -                                  {
      -                                    "type": "string"
      -                                  },
      -                                  {
      -                                    "type": "null"
      -                                  }
      -                                ]
      -                              }
      -                            },
      -                            "required": [
      -                              "id",
      -                              "name",
      -                              "harness"
      -                            ],
      -                            "type": "object"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ]
      -                      },
      -                      "isCaller": {
      -                        "type": "boolean"
      -                      },
      -                      "mine": {
      -                        "type": "boolean"
      -                      }
      -                    },
      -                    "required": [
      -                      "account",
      -                      "agent",
      -                      "mine",
      -                      "isCaller"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ],
      -                "description": "The person who reviews it; null while required: any person who can edit tasks here. Always null when not required."
      -              }
      -            },
      -            "required": [
      -              "required",
      -              "reviewer",
      -              "offBy",
      -              "offAt"
      -            ],
      -            "type": "object"
      -          },
      -          "revision": {
      -            "description": "Its revision: definition_update takes it as expectedRevision.",
      -            "exclusiveMinimum": 0,
      -            "maximum": 9007199254740991,
      -            "type": "integer"
      -          },
      -          "type": {
      -            "description": "The task type it defines: a task of this type in the workspace is one of its tasks.",
      -            "type": "string"
      -          },
      -          "updatedAt": {
      -            "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))$",
      -            "type": "string"
      -          },
      -          "workspaceId": {
      -            "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"
      -          }
      -        },
      -        "required": [
      -          "id",
      -          "workspaceId",
      -          "type",
      -          "purpose",
      -          "doer",
      -          "review",
      -          "archived",
      -          "archivedAt",
      -          "revision",
      -          "instructionsVersion",
      -          "instructions",
      -          "createdBy",
      -          "createdAt",
      -          "updatedAt",
      -          "corrections",
      -          "page",
      -          "instructionsUpdate"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "definition"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "content": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "complete": {
      -            "type": "boolean"
      -          },
      -          "content": {
      -            "maxLength": 32000,
      -            "type": "string"
      -          },
      -          "encoding": {
      -            "const": "base64",
      -            "type": "string"
      -          },
      -          "nextOffset": {
      -            "anyOf": [
      -              {
      -                "maximum": 9007199254740991,
      -                "minimum": -9007199254740991,
      -                "type": "integer"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "offset": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "sha256": {
      -            "pattern": "^[a-f0-9]{64}$",
      -            "type": "string"
      -          },
      -          "totalBytes": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "encoding",
      -          "content",
      -          "offset",
      -          "nextOffset",
      -          "totalBytes",
      -          "sha256",
      -          "complete"
      -        ],
      -        "type": "object"
      -      },
      -      "definitionId": {
      -        "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"
      -      },
      -      "instructionsUpdate": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "state": {
      -                "description": "drafting: Tokenrip is drafting a change to the instructions that works the corrections in; ready: the draft waits on a person.",
      -                "enum": [
      -                  "drafting",
      -                  "ready"
      -                ],
      -                "type": "string"
      -              },
      -              "taskId": {
      -                "anyOf": [
      -                  {
      -                    "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"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ],
      -                "description": "The task that puts the draft before a person; null while it is drafted."
      -              }
      -            },
      -            "required": [
      -              "state",
      -              "taskId"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Present only on the first part: its open instructions update, or null. Never in the chunks: an instructions update's state moves on its own, which the chunks' sha256 must not."
      -      },
      -      "numbers": {
      -        "description": "Present only on the first part, when asked for (numbers: true): its last 8 weeks, the current week first. Never in the chunks: they move with any task of the type, which the chunks' sha256 must not.",
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "correctionsAdded": {
      -              "description": "Corrections recorded on the definition in the week, including those since retired or included in new instructions.",
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "done": {
      -              "description": "Tasks of the type finished Done in the week; a record of work is not counted.",
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "reviewWaitMs": {
      -              "anyOf": [
      -                {
      -                  "minimum": 0,
      -                  "type": "number"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "The median time from a submission to its decision over the week's reviewed rounds, in milliseconds; null: none was reviewed."
      -            },
      -            "reviewed": {
      -              "description": "Review rounds on tasks of the type decided in the week, approved or sent back.",
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "sentBack": {
      -              "description": "Of those, the rounds sent back.",
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "week": {
      -              "description": "The week's first day, a Monday, in UTC: the week runs from its 00:00 UTC for seven days.",
      -              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "week",
      -            "done",
      -            "reviewed",
      -            "sentBack",
      -            "correctionsAdded",
      -            "reviewWaitMs"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 8,
      -        "minItems": 8,
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "definitionId",
      -      "content"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "definition": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "archived": {
      +            "description": "true: archived. An archived definition keeps its type and applies to no task.",
      +            "type": "boolean"
      +          },
      +          "archivedAt": {
      +            "anyOf": [
      +              {
      +                "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))$",
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "cleanup": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "maxImportance": {
      +                    "description": "The highest importance a file may be rated and be considered: none (files rated None), low (Low or None), medium (Medium or lower) or high (any).",
      +                    "enum": [
      +                      "high",
      +                      "medium",
      +                      "low",
      +                      "none"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "unchangedDays": {
      +                    "description": "Only files that have not changed for at least this many whole days; 0: no limit on it.",
      +                    "maximum": 3650,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "unreadDays": {
      +                    "description": "Only files nobody has read for at least this many whole days; 0: no limit on it.",
      +                    "maximum": 3650,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  }
      +                },
      +                "required": [
      +                  "maxImportance",
      +                  "unreadDays",
      +                  "unchangedDays"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "The files Tokenrip considers when it suggests files to clean up, applied exactly before its model sees a file, so a list names only files that meet them: on a definition whose routine is suggest_cleanup (whoever its doer is), null on every other. definition_update changes them with cleanup."
      +          },
      +          "corrections": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "inForce": {
      +                "description": "Its corrections in force, oldest first, whole: every pickup of a task of the type carries them after the instructions; where two disagree, the later stands.",
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "by": {
      +                      "additionalProperties": false,
      +                      "description": "Whose it is: the person, and the agent when an agent's key recorded it.",
      +                      "properties": {
      +                        "account": {
      +                          "additionalProperties": false,
      +                          "properties": {
      +                            "alias": {
      +                              "anyOf": [
      +                                {
      +                                  "type": "string"
      +                                },
      +                                {
      +                                  "type": "null"
      +                                }
      +                              ]
      +                            },
      +                            "former": {
      +                              "const": true,
      +                              "type": "boolean"
      +                            },
      +                            "id": {
      +                              "type": "string"
      +                            }
      +                          },
      +                          "required": [
      +                            "id",
      +                            "alias"
      +                          ],
      +                          "type": "object"
      +                        },
      +                        "agent": {
      +                          "anyOf": [
      +                            {
      +                              "additionalProperties": false,
      +                              "properties": {
      +                                "harness": {
      +                                  "anyOf": [
      +                                    {
      +                                      "type": "string"
      +                                    },
      +                                    {
      +                                      "type": "null"
      +                                    }
      +                                  ]
      +                                },
      +                                "id": {
      +                                  "anyOf": [
      +                                    {
      +                                      "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"
      +                                    },
      +                                    {
      +                                      "type": "null"
      +                                    }
      +                                  ]
      +                                },
      +                                "name": {
      +                                  "anyOf": [
      +                                    {
      +                                      "type": "string"
      +                                    },
      +                                    {
      +                                      "type": "null"
      +                                    }
      +                                  ]
      +                                }
      +                              },
      +                              "required": [
      +                                "id",
      +                                "name",
      +                                "harness"
      +                              ],
      +                              "type": "object"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        },
      +                        "isCaller": {
      +                          "type": "boolean"
      +                        },
      +                        "mine": {
      +                          "type": "boolean"
      +                        },
      +                        "tokenrip": {
      +                          "const": true,
      +                          "description": "Present only when true: this is Tokenrip itself, doing a task definition's routine. It is a member of no workspace and never you.",
      +                          "type": "boolean"
      +                        }
      +                      },
      +                      "required": [
      +                        "account",
      +                        "agent",
      +                        "mine",
      +                        "isCaller"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "createdAt": {
      +                      "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))$",
      +                      "type": "string"
      +                    },
      +                    "id": {
      +                      "description": "The correction's id: correction_retire takes it.",
      +                      "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"
      +                    },
      +                    "retired": {
      +                      "anyOf": [
      +                        {
      +                          "additionalProperties": false,
      +                          "properties": {
      +                            "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))$",
      +                              "type": "string"
      +                            },
      +                            "by": {
      +                              "additionalProperties": false,
      +                              "properties": {
      +                                "account": {
      +                                  "additionalProperties": false,
      +                                  "properties": {
      +                                    "alias": {
      +                                      "anyOf": [
      +                                        {
      +                                          "type": "string"
      +                                        },
      +                                        {
      +                                          "type": "null"
      +                                        }
      +                                      ]
      +                                    },
      +                                    "former": {
      +                                      "const": true,
      +                                      "type": "boolean"
      +                                    },
      +                                    "id": {
      +                                      "type": "string"
      +                                    }
      +                                  },
      +                                  "required": [
      +                                    "id",
      +                                    "alias"
      +                                  ],
      +                                  "type": "object"
      +                                },
      +                                "agent": {
      +                                  "anyOf": [
      +                                    {
      +                                      "additionalProperties": false,
      +                                      "properties": {
      +                                        "harness": {
      +                                          "anyOf": [
      +                                            {
      +                                              "type": "string"
      +                                            },
      +                                            {
      +                                              "type": "null"
      +                                            }
      +                                          ]
      +                                        },
      +                                        "id": {
      +                                          "anyOf": [
      +                                            {
      +                                              "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"
      +                                            },
      +                                            {
      +                                              "type": "null"
      +                                            }
      +                                          ]
      +                                        },
      +                                        "name": {
      +                                          "anyOf": [
      +                                            {
      +                                              "type": "string"
      +                                            },
      +                                            {
      +                                              "type": "null"
      +                                            }
      +                                          ]
      +                                        }
      +                                      },
      +                                      "required": [
      +                                        "id",
      +                                        "name",
      +                                        "harness"
      +                                      ],
      +                                      "type": "object"
      +                                    },
      +                                    {
      +                                      "type": "null"
      +                                    }
      +                                  ]
      +                                },
      +                                "isCaller": {
      +                                  "type": "boolean"
      +                                },
      +                                "mine": {
      +                                  "type": "boolean"
      +                                },
      +                                "tokenrip": {
      +                                  "const": true,
      +                                  "description": "Present only when true: this is Tokenrip itself, doing a task definition's routine. It is a member of no workspace and never you.",
      +                                  "type": "boolean"
      +                                }
      +                              },
      +                              "required": [
      +                                "account",
      +                                "agent",
      +                                "mine",
      +                                "isCaller"
      +                              ],
      +                              "type": "object"
      +                            },
      +                            "includedIn": {
      +                              "anyOf": [
      +                                {
      +                                  "exclusiveMinimum": 0,
      +                                  "maximum": 9007199254740991,
      +                                  "type": "integer"
      +                                },
      +                                {
      +                                  "type": "null"
      +                                }
      +                              ],
      +                              "description": "The instructions version it was included in; null when it was retired by hand."
      +                            }
      +                          },
      +                          "required": [
      +                            "at",
      +                            "by",
      +                            "includedIn"
      +                          ],
      +                          "type": "object"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "null: in force, carried by every pickup of the type. Otherwise when it was retired, by whom, and the version that absorbed it."
      +                    },
      +                    "source": {
      +                      "anyOf": [
      +                        {
      +                          "additionalProperties": false,
      +                          "properties": {
      +                            "round": {
      +                              "anyOf": [
      +                                {
      +                                  "exclusiveMinimum": 0,
      +                                  "maximum": 9007199254740991,
      +                                  "type": "integer"
      +                                },
      +                                {
      +                                  "type": "null"
      +                                }
      +                              ],
      +                              "description": "The review round of that task it came from; null when none, or once gone."
      +                            },
      +                            "task": {
      +                              "anyOf": [
      +                                {
      +                                  "additionalProperties": false,
      +                                  "properties": {
      +                                    "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"
      +                                    },
      +                                    "title": {
      +                                      "type": "string"
      +                                    }
      +                                  },
      +                                  "required": [
      +                                    "id",
      +                                    "title"
      +                                  ],
      +                                  "type": "object"
      +                                },
      +                                {
      +                                  "type": "null"
      +                                }
      +                              ],
      +                              "description": "The task it came up on; null once that task is gone."
      +                            }
      +                          },
      +                          "required": [
      +                            "task",
      +                            "round"
      +                          ],
      +                          "type": "object"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "Where it came from; null when it came from no task (said in chat)."
      +                    },
      +                    "text": {
      +                      "description": "The correction, in the words it was recorded with.",
      +                      "type": "string"
      +                    },
      +                    "why": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "The why the agent that recorded it stated; null for a person's own."
      +                    }
      +                  },
      +                  "required": [
      +                    "id",
      +                    "text",
      +                    "by",
      +                    "why",
      +                    "source",
      +                    "createdAt",
      +                    "retired"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "limit": {
      +                "description": "The most corrections it holds in force.",
      +                "exclusiveMinimum": 0,
      +                "maximum": 9007199254740991,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "inForce",
      +              "limit"
      +            ],
      +            "type": "object"
      +          },
      +          "createdAt": {
      +            "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))$",
      +            "type": "string"
      +          },
      +          "createdBy": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "account": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "alias": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "former": {
      +                    "const": true,
      +                    "type": "boolean"
      +                  },
      +                  "id": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "id",
      +                  "alias"
      +                ],
      +                "type": "object"
      +              },
      +              "agent": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "harness": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ]
      +                      },
      +                      "id": {
      +                        "anyOf": [
      +                          {
      +                            "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"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ]
      +                      },
      +                      "name": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ]
      +                      }
      +                    },
      +                    "required": [
      +                      "id",
      +                      "name",
      +                      "harness"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "isCaller": {
      +                "type": "boolean"
      +              },
      +              "mine": {
      +                "type": "boolean"
      +              },
      +              "tokenrip": {
      +                "const": true,
      +                "description": "Present only when true: this is Tokenrip itself, doing a task definition's routine. It is a member of no workspace and never you.",
      +                "type": "boolean"
      +              }
      +            },
      +            "required": [
      +              "account",
      +              "agent",
      +              "mine",
      +              "isCaller"
      +            ],
      +            "type": "object"
      +          },
      +          "doer": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "account": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "alias": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ]
      +                      },
      +                      "former": {
      +                        "const": true,
      +                        "type": "boolean"
      +                      },
      +                      "id": {
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "id",
      +                      "alias"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "agent": {
      +                    "anyOf": [
      +                      {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "harness": {
      +                            "anyOf": [
      +                              {
      +                                "type": "string"
      +                              },
      +                              {
      +                                "type": "null"
      +                              }
      +                            ]
      +                          },
      +                          "id": {
      +                            "anyOf": [
      +                              {
      +                                "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"
      +                              },
      +                              {
      +                                "type": "null"
      +                              }
      +                            ]
      +                          },
      +                          "name": {
      +                            "anyOf": [
      +                              {
      +                                "type": "string"
      +                              },
      +                              {
      +                                "type": "null"
      +                              }
      +                            ]
      +                          }
      +                        },
      +                        "required": [
      +                          "id",
      +                          "name",
      +                          "harness"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "isCaller": {
      +                    "type": "boolean"
      +                  },
      +                  "mine": {
      +                    "type": "boolean"
      +                  },
      +                  "tokenrip": {
      +                    "const": true,
      +                    "description": "Present only when true: this is Tokenrip itself, doing a task definition's routine. It is a member of no workspace and never you.",
      +                    "type": "boolean"
      +                  }
      +                },
      +                "required": [
      +                  "account",
      +                  "agent",
      +                  "mine",
      +                  "isCaller"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Who does tasks of this type; null: nobody named. Tokenrip itself (tokenrip: true) only where routine is set."
      +          },
      +          "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"
      +          },
      +          "instructions": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "savedAt": {
      +                    "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))$",
      +                    "type": "string"
      +                  },
      +                  "savedBy": {
      +                    "additionalProperties": false,
      +                    "description": "Who saved this version: a person, or a person's agent.",
      +                    "properties": {
      +                      "account": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "alias": {
      +                            "anyOf": [
      +                              {
      +                                "type": "string"
      +                              },
      +                              {
      +                                "type": "null"
      +                              }
      +                            ]
      +                          },
      +                          "former": {
      +                            "const": true,
      +                            "type": "boolean"
      +                          },
      +                          "id": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "id",
      +                          "alias"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "agent": {
      +                        "anyOf": [
      +                          {
      +                            "additionalProperties": false,
      +                            "properties": {
      +                              "harness": {
      +                                "anyOf": [
      +                                  {
      +                                    "type": "string"
      +                                  },
      +                                  {
      +                                    "type": "null"
      +                                  }
      +                                ]
      +                              },
      +                              "id": {
      +                                "anyOf": [
      +                                  {
      +                                    "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"
      +                                  },
      +                                  {
      +                                    "type": "null"
      +                                  }
      +                                ]
      +                              },
      +                              "name": {
      +                                "anyOf": [
      +                                  {
      +                                    "type": "string"
      +                                  },
      +                                  {
      +                                    "type": "null"
      +                                  }
      +                                ]
      +                              }
      +                            },
      +                            "required": [
      +                              "id",
      +                              "name",
      +                              "harness"
      +                            ],
      +                            "type": "object"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ]
      +                      },
      +                      "isCaller": {
      +                        "type": "boolean"
      +                      },
      +                      "mine": {
      +                        "type": "boolean"
      +                      },
      +                      "tokenrip": {
      +                        "const": true,
      +                        "description": "Present only when true: this is Tokenrip itself, doing a task definition's routine. It is a member of no workspace and never you.",
      +                        "type": "boolean"
      +                      }
      +                    },
      +                    "required": [
      +                      "account",
      +                      "agent",
      +                      "mine",
      +                      "isCaller"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "text": {
      +                    "description": "The instructions, markdown, saved whole; may be empty.",
      +                    "type": "string"
      +                  },
      +                  "version": {
      +                    "exclusiveMinimum": 0,
      +                    "maximum": 9007199254740991,
      +                    "type": "integer"
      +                  },
      +                  "why": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "description": "The why the agent that saved it stated; null for a person's save."
      +                  }
      +                },
      +                "required": [
      +                  "version",
      +                  "text",
      +                  "savedBy",
      +                  "savedAt",
      +                  "why"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "The current instructions, or the version read by number; null: none saved."
      +          },
      +          "instructionsUpdate": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "state": {
      +                    "description": "drafting: Tokenrip is drafting a change to the instructions that works the corrections in; ready: the draft waits on a person.",
      +                    "enum": [
      +                      "drafting",
      +                      "ready"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "taskId": {
      +                    "anyOf": [
      +                      {
      +                        "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"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "description": "The task that puts the draft before a person; null while it is drafted."
      +                  }
      +                },
      +                "required": [
      +                  "state",
      +                  "taskId"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Its open instructions update, or null: updated instructions that work its corrections in, which Tokenrip drafts by itself once enough corrections gather, or when a person asks on the dashboard, and a person accepts. While one is open none is drafted again."
      +          },
      +          "instructionsVersion": {
      +            "anyOf": [
      +              {
      +                "exclusiveMinimum": 0,
      +                "maximum": 9007199254740991,
      +                "type": "integer"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "The current version of its instructions; versions run from 1 to it. null: none saved."
      +          },
      +          "madeFrom": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "addOn": {
      +                    "description": "The add-on's id.",
      +                    "type": "string"
      +                  },
      +                  "version": {
      +                    "description": "The add-on's version it was made from.",
      +                    "exclusiveMinimum": 0,
      +                    "maximum": 9007199254740991,
      +                    "type": "integer"
      +                  }
      +                },
      +                "required": [
      +                  "addOn",
      +                  "version"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "The add-on and version this definition was made from; null: made by hand. Never changed."
      +          },
      +          "numbers": {
      +            "description": "Present only when asked for (numbers: true): its last 8 weeks, the current week first.",
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "correctionsAdded": {
      +                  "description": "Corrections recorded on the definition in the week, including those since retired or included in new instructions.",
      +                  "maximum": 9007199254740991,
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                "done": {
      +                  "description": "Tasks of the type finished Done in the week; a record of work is not counted.",
      +                  "maximum": 9007199254740991,
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                "reviewWaitMs": {
      +                  "anyOf": [
      +                    {
      +                      "minimum": 0,
      +                      "type": "number"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "The median time from a submission to its decision over the week's reviewed rounds, in milliseconds; null: none was reviewed."
      +                },
      +                "reviewed": {
      +                  "description": "Review rounds on tasks of the type decided in the week, approved or sent back.",
      +                  "maximum": 9007199254740991,
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                "sentBack": {
      +                  "description": "Of those, the rounds sent back.",
      +                  "maximum": 9007199254740991,
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                "week": {
      +                  "description": "The week's first day, a Monday, in UTC: the week runs from its 00:00 UTC for seven days.",
      +                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "week",
      +                "done",
      +                "reviewed",
      +                "sentBack",
      +                "correctionsAdded",
      +                "reviewWaitMs"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 8,
      +            "minItems": 8,
      +            "type": "array"
      +          },
      +          "page": {
      +            "description": "The definition's page in the dashboard, where a person reads and edits it.",
      +            "type": "string"
      +          },
      +          "purpose": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "One line on what the type is for; null: none."
      +          },
      +          "review": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "offAt": {
      +                "anyOf": [
      +                  {
      +                    "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))$",
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "description": "When review was turned off; null while it is required."
      +              },
      +              "offBy": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "account": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "alias": {
      +                            "anyOf": [
      +                              {
      +                                "type": "string"
      +                              },
      +                              {
      +                                "type": "null"
      +                              }
      +                            ]
      +                          },
      +                          "former": {
      +                            "const": true,
      +                            "type": "boolean"
      +                          },
      +                          "id": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "id",
      +                          "alias"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "agent": {
      +                        "anyOf": [
      +                          {
      +                            "additionalProperties": false,
      +                            "properties": {
      +                              "harness": {
      +                                "anyOf": [
      +                                  {
      +                                    "type": "string"
      +                                  },
      +                                  {
      +                                    "type": "null"
      +                                  }
      +                                ]
      +                              },
      +                              "id": {
      +                                "anyOf": [
      +                                  {
      +                                    "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"
      +                                  },
      +                                  {
      +                                    "type": "null"
      +                                  }
      +                                ]
      +                              },
      +                              "name": {
      +                                "anyOf": [
      +                                  {
      +                                    "type": "string"
      +                                  },
      +                                  {
      +                                    "type": "null"
      +                                  }
      +                                ]
      +                              }
      +                            },
      +                            "required": [
      +                              "id",
      +                              "name",
      +                              "harness"
      +                            ],
      +                            "type": "object"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ]
      +                      },
      +                      "isCaller": {
      +                        "type": "boolean"
      +                      },
      +                      "mine": {
      +                        "type": "boolean"
      +                      },
      +                      "tokenrip": {
      +                        "const": true,
      +                        "description": "Present only when true: this is Tokenrip itself, doing a task definition's routine. It is a member of no workspace and never you.",
      +                        "type": "boolean"
      +                      }
      +                    },
      +                    "required": [
      +                      "account",
      +                      "agent",
      +                      "mine",
      +                      "isCaller"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "description": "The workspace admin who turned review off; null while it is required."
      +              },
      +              "required": {
      +                "description": "true: a person reviews this type's work before it is finished.",
      +                "type": "boolean"
      +              },
      +              "reviewer": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "account": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "alias": {
      +                            "anyOf": [
      +                              {
      +                                "type": "string"
      +                              },
      +                              {
      +                                "type": "null"
      +                              }
      +                            ]
      +                          },
      +                          "former": {
      +                            "const": true,
      +                            "type": "boolean"
      +                          },
      +                          "id": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "id",
      +                          "alias"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "agent": {
      +                        "anyOf": [
      +                          {
      +                            "additionalProperties": false,
      +                            "properties": {
      +                              "harness": {
      +                                "anyOf": [
      +                                  {
      +                                    "type": "string"
      +                                  },
      +                                  {
      +                                    "type": "null"
      +                                  }
      +                                ]
      +                              },
      +                              "id": {
      +                                "anyOf": [
      +                                  {
      +                                    "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"
      +                                  },
      +                                  {
      +                                    "type": "null"
      +                                  }
      +                                ]
      +                              },
      +                              "name": {
      +                                "anyOf": [
      +                                  {
      +                                    "type": "string"
      +                                  },
      +                                  {
      +                                    "type": "null"
      +                                  }
      +                                ]
      +                              }
      +                            },
      +                            "required": [
      +                              "id",
      +                              "name",
      +                              "harness"
      +                            ],
      +                            "type": "object"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ]
      +                      },
      +                      "isCaller": {
      +                        "type": "boolean"
      +                      },
      +                      "mine": {
      +                        "type": "boolean"
      +                      },
      +                      "tokenrip": {
      +                        "const": true,
      +                        "description": "Present only when true: this is Tokenrip itself, doing a task definition's routine. It is a member of no workspace and never you.",
      +                        "type": "boolean"
      +                      }
      +                    },
      +                    "required": [
      +                      "account",
      +                      "agent",
      +                      "mine",
      +                      "isCaller"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "description": "The person who reviews it; null while required: any person who can edit tasks here. Always null when not required."
      +              }
      +            },
      +            "required": [
      +              "required",
      +              "reviewer",
      +              "offBy",
      +              "offAt"
      +            ],
      +            "type": "object"
      +          },
      +          "revision": {
      +            "description": "Its revision: definition_update takes it as expectedRevision.",
      +            "exclusiveMinimum": 0,
      +            "maximum": 9007199254740991,
      +            "type": "integer"
      +          },
      +          "routine": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "kind": {
      +                    "description": "proposes: it hands its result in for a person to decide; carries_out: it acts only on what a person approved.",
      +                    "enum": [
      +                      "proposes",
      +                      "carries_out"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "name": {
      +                    "description": "Which routine: suggest_cleanup (reads the workspace's files and submits the files it suggests removing for a person to review) or trash_approved (moves the files of an approved cleanup list to the trash).",
      +                    "enum": [
      +                      "suggest_cleanup",
      +                      "trash_approved"
      +                    ],
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "name",
      +                  "kind"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "The work Tokenrip does for this type while Tokenrip is its doer; null: none. Set when an add-on added the definition, and never changed."
      +          },
      +          "type": {
      +            "description": "The task type it defines: a task of this type in the workspace is one of its tasks.",
      +            "type": "string"
      +          },
      +          "updatedAt": {
      +            "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))$",
      +            "type": "string"
      +          },
      +          "workspaceId": {
      +            "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"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "workspaceId",
      +          "type",
      +          "purpose",
      +          "doer",
      +          "routine",
      +          "madeFrom",
      +          "cleanup",
      +          "review",
      +          "archived",
      +          "archivedAt",
      +          "revision",
      +          "instructionsVersion",
      +          "instructions",
      +          "createdBy",
      +          "createdAt",
      +          "updatedAt",
      +          "corrections",
      +          "page",
      +          "instructionsUpdate"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "definition"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "content": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "complete": {
      +            "type": "boolean"
      +          },
      +          "content": {
      +            "maxLength": 32000,
      +            "type": "string"
      +          },
      +          "encoding": {
      +            "const": "base64",
      +            "type": "string"
      +          },
      +          "nextOffset": {
      +            "anyOf": [
      +              {
      +                "maximum": 9007199254740991,
      +                "minimum": -9007199254740991,
      +                "type": "integer"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "offset": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "sha256": {
      +            "pattern": "^[a-f0-9]{64}$",
      +            "type": "string"
      +          },
      +          "totalBytes": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "encoding",
      +          "content",
      +          "offset",
      +          "nextOffset",
      +          "totalBytes",
      +          "sha256",
      +          "complete"
      +        ],
      +        "type": "object"
      +      },
      +      "definitionId": {
      +        "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"
      +      },
      +      "instructionsUpdate": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "state": {
      +                "description": "drafting: Tokenrip is drafting a change to the instructions that works the corrections in; ready: the draft waits on a person.",
      +                "enum": [
      +                  "drafting",
      +                  "ready"
      +                ],
      +                "type": "string"
      +              },
      +              "taskId": {
      +                "anyOf": [
      +                  {
      +                    "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"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "description": "The task that puts the draft before a person; null while it is drafted."
      +              }
      +            },
      +            "required": [
      +              "state",
      +              "taskId"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Present only on the first part: its open instructions update, or null. Never in the chunks: an instructions update's state moves on its own, which the chunks' sha256 must not."
      +      },
      +      "numbers": {
      +        "description": "Present only on the first part, when asked for (numbers: true): its last 8 weeks, the current week first. Never in the chunks: they move with any task of the type, which the chunks' sha256 must not.",
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "correctionsAdded": {
      +              "description": "Corrections recorded on the definition in the week, including those since retired or included in new instructions.",
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "done": {
      +              "description": "Tasks of the type finished Done in the week; a record of work is not counted.",
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "reviewWaitMs": {
      +              "anyOf": [
      +                {
      +                  "minimum": 0,
      +                  "type": "number"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "The median time from a submission to its decision over the week's reviewed rounds, in milliseconds; null: none was reviewed."
      +            },
      +            "reviewed": {
      +              "description": "Review rounds on tasks of the type decided in the week, approved or sent back.",
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "sentBack": {
      +              "description": "Of those, the rounds sent back.",
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "week": {
      +              "description": "The week's first day, a Monday, in UTC: the week runs from its 00:00 UTC for seven days.",
      +              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "week",
      +            "done",
      +            "reviewed",
      +            "sentBack",
      +            "correctionsAdded",
      +            "reviewWaitMs"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 8,
      +        "minItems": 8,
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "definitionId",
      +      "content"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. Added

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Well beyond the readOnly/idempotent annotations, it discloses the UNAVAILABLE outcome, the lossless base64 chunking protocol, the CHANGED_DURING_READ refusal and its recovery (re-read from the start with no offset or sha256), and that pending instructionsUpdate and numbers ride beside the first chunk so they never break continuation. The one gap is that archived definitions still reading numbers is stated, but nothing about scope/permission failures beyond UNAVAILABLE.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose is front-loaded, but the body is a long, densely nested run-on that mixes return fields, pagination protocol, and error handling in one breath. The numbers behavior is restated almost verbatim from the schema description, which is duplicated effort rather than added value. It could be split into short labeled sentences without losing content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter read tool with a full output schema and rich annotations, the description covers the remaining unknowns an agent would need: identifier forms, version selection, optional numbers aggregation, chunked retrieval, staleness refusal, and the archived-definition case. Nothing required to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 100% schema coverage the baseline is 3, but the description adds real meaning: version is bounded by the definition's instructionsVersion and selects a saved snapshot, definition accepts an id or a type plus workspaceId, and offset/sha256 form a linked continuation where sha256 is only valid with a nonzero offset. It does not explain the offset default or the exact nextOffset handoff mechanics in more detail than the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb+resource ("Read one task definition whole") and then enumerates exactly what is returned: type, purpose, doer, routine, cleanup limits, review state, archive flag, revision, dashboard page, instructions with version, corrections. It is unambiguous against siblings such as definition_list (single vs list) and it explicitly ties its revision field to definition_update.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete invocation guidance: name the definition by id, or by type together with workspaceId, and use version to read a saved snapshot instead of the current one. It also tells the agent how to resume chunked reads. It stops short of an explicit statement about when to prefer definition_list or task_get instead, so it is strong but not a full routing rule.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.