# Tool input schemas

Exact generated input schemas for the documented tools.

```json
{
  "access_code_reveal": {
    "properties": {
      "name": {
        "pattern": "^[a-z0-9][a-z0-9._-]{0,63}$",
        "type": "string"
      },
      "zone": {
        "type": "string"
      }
    },
    "required": [
      "zone"
    ],
    "type": "object"
  },
  "access_code_set": {
    "properties": {
      "label": {
        "maxLength": 120,
        "type": "string"
      },
      "name": {
        "pattern": "^[a-z0-9][a-z0-9._-]{0,63}$",
        "type": "string"
      },
      "value": {
        "maxLength": 256,
        "type": [
          "string",
          "null"
        ]
      },
      "zone": {
        "type": "string"
      }
    },
    "required": [
      "zone",
      "name",
      "value"
    ],
    "type": "object"
  },
  "acquire_user_token_v1": {
    "properties": {
      "assertion": {
        "type": "object"
      },
      "exchange_credential": {
        "type": "string"
      }
    },
    "required": [
      "assertion",
      "exchange_credential"
    ],
    "type": "object"
  },
  "act": {
    "properties": {
      "action": {
        "type": "string"
      },
      "action_id": {
        "type": "string"
      },
      "answer": {
        "description": "queue.answer only. On a card carrying a proposal_id, a JSON object: {\"decision\": \"approve\"}, {\"decision\": \"reject\", \"reason\": \"...\"} or {\"decision\": \"edit\", \"changes\": [{\"path\": ..., \"content\": ...}]} (edit may only amend paths the proposal already contains). A human approval request answered from a chat app also needs \"human_confirmation\": {\"reply\": \"<the person's exact words>\", \"content_hash\": \"<from get_approval_request>\"}: show the person the changes, ask, and send only what they typed; never supply it yourself. On a card carrying a qb_id, a JSON object {\"chosen\": \"<one of the card's options>\"}. A batch-bound qb_id accepts these exact envelopes: {\"chosen\":\"approve\",\"rows\":[{\"row\":\"r1\",\"decision\":\"exclude\",\"reason\":\"non-empty <=500\"},{\"row\":\"r2\",\"decision\":\"confirm\"},{\"row\":\"r3\",\"decision\":\"correct\",\"path\":\"one existing proposal file\",\"field\":\"^[a-z][a-z0-9_]{0,63}$\",\"value\":\"JSON scalar or list of JSON scalars\"}]} or {\"chosen\":\"reject\",\"reason\":\"non-empty <=500\"}. For both of those, the option strings the card advertises go INSIDE the envelope \u2014 a bare option word like approve is NOT the argument and is refused as invalid_argument. Any other queue item takes free text. If an authorized approval targets a task proposal whose claim holder or generation changed, task proposal stale returns recovery reconcile_then_repropose: reconcile task and review-queue state, then submit a new proposal under the current claim. Never replay the old approval.",
        "type": "string"
      },
      "app_id": {
        "type": "string"
      },
      "capability": {
        "type": "string"
      },
      "case_id": {
        "type": "string"
      },
      "config": {
        "type": "object"
      },
      "conn_type": {
        "type": "string"
      },
      "connection_name": {
        "type": "string"
      },
      "control_message": {
        "description": "mind_* only. The peer's EXACT signed control object as received out of band (all thirteen fields, signature included). Verified against the pinned peer identity key before anything is written.",
        "type": "object"
      },
      "descriptor_receipt_id": {
        "description": "mind_invite only. One-use receipt returned by invite lookup status.",
        "type": "string"
      },
      "expected_descriptor_digest": {
        "description": "mind_invite/mind_reconfirm only, and REQUIRED on them. The peer's descriptor_digest as YOU resolved it from the Host directory, over a channel independent of the one that supplied peer_descriptor. Nothing computes it from that descriptor on your behalf: supplying both from the same message reduces the check to a checksum. Omitting it refuses the call rather than proceeding with a self-computed value.",
        "type": "string"
      },
      "expected_generation": {
        "type": "integer"
      },
      "idempotency_key": {
        "type": "string"
      },
      "invite_token": {
        "description": "mind_invite_lookup only. One-use Host invite token; never include it in item_id or other fields.",
        "type": "string"
      },
      "item_id": {
        "type": "string"
      },
      "label": {
        "type": "string"
      },
      "peer_descriptor": {
        "description": "mind_invite/mind_reconfirm only. The peer's exact fifteen-field signed mind_descriptor object, supplied out of band.",
        "type": "object"
      },
      "peer_descriptor_signature": {
        "type": "string"
      },
      "replace_local": {
        "type": "boolean"
      },
      "secret": {
        "type": "string"
      },
      "trigger": {
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "every": {
                "type": "string"
              }
            },
            "required": [
              "every"
            ]
          },
          {
            "additionalProperties": false,
            "properties": {
              "daily_at": {
                "type": "string"
              }
            },
            "required": [
              "daily_at"
            ]
          },
          {
            "additionalProperties": false,
            "properties": {
              "feed_event": {
                "type": "string"
              }
            },
            "required": [
              "feed_event"
            ]
          }
        ],
        "type": "object"
      },
      "waive_replay": {
        "type": "string"
      }
    },
    "required": [
      "action",
      "item_id"
    ],
    "type": "object"
  },
  "apply_permission_preset": {
    "properties": {
      "preset": {
        "enum": [
          "open_team",
          "locked_down"
        ],
        "type": "string"
      }
    },
    "required": [
      "preset"
    ],
    "type": "object"
  },
  "ask": {
    "properties": {
      "options": {
        "items": {
          "type": "string"
        },
        "type": "array"
      },
      "qb_id": {
        "type": "string"
      },
      "question": {
        "type": "string"
      },
      "zone": {
        "type": "string"
      }
    },
    "required": [
      "zone",
      "qb_id",
      "question",
      "options"
    ],
    "type": "object"
  },
  "assign_access_profile": {
    "properties": {
      "profile_id": {
        "type": [
          "string",
          "null"
        ]
      },
      "subject": {
        "type": "string"
      }
    },
    "required": [
      "subject"
    ],
    "type": "object"
  },
  "automation_compose": {
    "properties": {
      "description": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "steps": {
        "items": {
          "properties": {
            "action_id": {
              "type": "string"
            },
            "app_id": {
              "type": "string"
            },
            "args": {
              "type": "object"
            }
          },
          "required": [
            "app_id",
            "action_id",
            "args"
          ],
          "type": "object"
        },
        "type": "array"
      },
      "supersedes": {
        "type": "string"
      },
      "trigger": {
        "type": "object"
      }
    },
    "required": [
      "name",
      "description",
      "trigger",
      "steps"
    ],
    "type": "object"
  },
  "backup_connect_poll": {
    "properties": {},
    "required": [],
    "type": "object"
  },
  "backup_connect_start": {
    "properties": {
      "repository": {
        "type": "string"
      }
    },
    "required": [
      "repository"
    ],
    "type": "object"
  },
  "backup_decline": {
    "properties": {},
    "required": [],
    "type": "object"
  },
  "backup_status": {
    "properties": {},
    "required": [],
    "type": "object"
  },
  "broker_call": {
    "additionalProperties": false,
    "properties": {
      "request": {
        "type": "object"
      }
    },
    "required": [
      "request"
    ],
    "type": "object"
  },
  "check_write": {
    "properties": {
      "changes": {
        "items": {
          "oneOf": [
            {
              "not": {
                "required": [
                  "op"
                ]
              },
              "properties": {
                "content": {
                  "type": "string"
                },
                "path": {
                  "type": "string"
                }
              },
              "required": [
                "path",
                "content"
              ],
              "type": "object"
            },
            {
              "properties": {
                "base_sha": {
                  "description": "Memory operations require read.memory.revision as base_sha (base_required if missing; stale-base if changed). Ordinary replacements with a stale or omitted base are held for review.",
                  "type": "string"
                },
                "content": {
                  "type": "string"
                },
                "op": {
                  "enum": [
                    "create",
                    "replace",
                    "upsert"
                  ],
                  "type": "string"
                },
                "path": {
                  "type": "string"
                }
              },
              "required": [
                "path",
                "op",
                "content"
              ],
              "type": "object"
            },
            {
              "properties": {
                "anchor": {
                  "type": "string"
                },
                "base_sha": {
                  "description": "Reject if the supplied base changed (stale-base). Memory edits require read.memory.revision as base_sha (base_required if missing).",
                  "type": "string"
                },
                "content": {
                  "type": "string"
                },
                "mode": {
                  "enum": [
                    "replace_section",
                    "append_to_section",
                    "insert_after_heading",
                    "delete_section"
                  ],
                  "type": "string"
                },
                "op": {
                  "enum": [
                    "edit"
                  ],
                  "type": "string"
                },
                "path": {
                  "type": "string"
                }
              },
              "required": [
                "path",
                "op",
                "content",
                "anchor",
                "mode"
              ],
              "type": "object"
            },
            {
              "properties": {
                "base_sha": {
                  "description": "Reject if the supplied base changed (stale-base). Memory operations require read.memory.revision as base_sha (base_required if missing).",
                  "type": "string"
                },
                "content": {
                  "type": "string"
                },
                "op": {
                  "enum": [
                    "append"
                  ],
                  "type": "string"
                },
                "path": {
                  "type": "string"
                }
              },
              "required": [
                "path",
                "op",
                "content"
              ],
              "type": "object"
            },
            {
              "properties": {
                "base_sha": {
                  "description": "Reject if the supplied base changed (stale-base). Memory operations require read.memory.revision as base_sha (base_required if missing).",
                  "type": "string"
                },
                "op": {
                  "enum": [
                    "delete"
                  ],
                  "type": "string"
                },
                "path": {
                  "type": "string"
                }
              },
              "required": [
                "path",
                "op"
              ],
              "type": "object"
            }
          ]
        },
        "type": "array"
      }
    },
    "required": [
      "changes"
    ],
    "type": "object"
  },
  "connection_call": {
    "additionalProperties": false,
    "properties": {
      "request": {
        "type": "object"
      }
    },
    "required": [
      "request"
    ],
    "type": "object"
  },
  "create_review_batch": {
    "additionalProperties": false,
    "properties": {
      "correlation": {
        "maxLength": 200,
        "type": "string"
      },
      "pack": {
        "type": "string"
      },
      "rows": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "kind": {
              "enum": [
                "new",
                "matched",
                "uncertain"
              ],
              "type": "string"
            },
            "label": {
              "maxLength": 200,
              "type": "string"
            },
            "proposal_id": {
              "type": "string"
            },
            "row": {
              "pattern": "^[a-z0-9][a-z0-9_-]{0,63}$",
              "type": "string"
            },
            "source_ref": {
              "type": "string"
            }
          },
          "required": [
            "row",
            "proposal_id",
            "kind",
            "label"
          ],
          "type": "object"
        },
        "maxItems": 200,
        "minItems": 1,
        "type": "array"
      },
      "title": {
        "maxLength": 200,
        "type": "string"
      }
    },
    "required": [
      "title",
      "pack",
      "rows"
    ],
    "type": "object"
  },
  "create_zone": {
    "properties": {
      "description": {
        "maxLength": 500,
        "type": "string"
      },
      "label": {
        "default": "client-confidential",
        "enum": [
          "internal",
          "client-confidential",
          "pii"
        ],
        "type": "string"
      },
      "shareable": {
        "default": false,
        "description": "Eligible for explicit profile assignment; not advertised or shared automatically. Peer sharing requires the owner to place the zone in a profile bound to a Network connection with MANAGE_PEER_TRUST. Private zones remain unshareable.",
        "type": "boolean"
      },
      "tier_ceiling": {
        "default": "T1",
        "enum": [
          "T0",
          "T1",
          "T2"
        ],
        "type": "string"
      },
      "zone_id": {
        "maxLength": 64,
        "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
        "type": "string"
      }
    },
    "required": [
      "zone_id"
    ],
    "type": "object"
  },
  "delete_access_profile": {
    "properties": {
      "profile_id": {
        "type": "string"
      }
    },
    "required": [
      "profile_id"
    ],
    "type": "object"
  },
  "draft_feedback": {
    "additionalProperties": false,
    "properties": {
      "kind": {
        "enum": [
          "bug",
          "confusing",
          "missing_feature",
          "other"
        ],
        "type": "string"
      },
      "summary": {
        "maxLength": 2000,
        "minLength": 1,
        "type": "string"
      }
    },
    "required": [
      "kind",
      "summary"
    ],
    "type": "object"
  },
  "find": {
    "additionalProperties": false,
    "properties": {
      "cursor": {
        "type": "string"
      },
      "email": {
        "maxLength": 4096,
        "minLength": 1,
        "type": "string"
      },
      "filters": {
        "additionalProperties": false,
        "properties": {
          "entity": {
            "oneOf": [
              {
                "maxLength": 4096,
                "minLength": 1,
                "type": "string"
              },
              {
                "items": {
                  "maxLength": 4096,
                  "minLength": 1,
                  "type": "string"
                },
                "maxItems": 50,
                "minItems": 1,
                "type": "array"
              }
            ]
          },
          "geography": {
            "oneOf": [
              {
                "maxLength": 4096,
                "minLength": 1,
                "type": "string"
              },
              {
                "items": {
                  "maxLength": 4096,
                  "minLength": 1,
                  "type": "string"
                },
                "maxItems": 50,
                "minItems": 1,
                "type": "array"
              }
            ]
          },
          "group": {
            "oneOf": [
              {
                "maxLength": 4096,
                "minLength": 1,
                "type": "string"
              },
              {
                "items": {
                  "maxLength": 4096,
                  "minLength": 1,
                  "type": "string"
                },
                "maxItems": 50,
                "minItems": 1,
                "type": "array"
              }
            ]
          },
          "owner": {
            "oneOf": [
              {
                "maxLength": 4096,
                "minLength": 1,
                "type": "string"
              },
              {
                "items": {
                  "maxLength": 4096,
                  "minLength": 1,
                  "type": "string"
                },
                "maxItems": 50,
                "minItems": 1,
                "type": "array"
              }
            ]
          },
          "sector": {
            "oneOf": [
              {
                "maxLength": 4096,
                "minLength": 1,
                "type": "string"
              },
              {
                "items": {
                  "maxLength": 4096,
                  "minLength": 1,
                  "type": "string"
                },
                "maxItems": 50,
                "minItems": 1,
                "type": "array"
              }
            ]
          },
          "status": {
            "oneOf": [
              {
                "maxLength": 4096,
                "minLength": 1,
                "type": "string"
              },
              {
                "items": {
                  "maxLength": 4096,
                  "minLength": 1,
                  "type": "string"
                },
                "maxItems": 50,
                "minItems": 1,
                "type": "array"
              }
            ]
          }
        },
        "type": "object"
      },
      "id": {
        "maxLength": 4096,
        "minLength": 1,
        "type": "string"
      },
      "limit": {
        "default": 20,
        "maximum": 50,
        "minimum": 1,
        "type": "integer"
      },
      "memory_view": {
        "enum": [
          "current",
          "evidence"
        ],
        "type": "string"
      },
      "name": {
        "maxLength": 4096,
        "minLength": 1,
        "type": "string"
      },
      "zone": {
        "type": "string"
      }
    },
    "required": [],
    "type": "object"
  },
  "get_approval_request": {
    "additionalProperties": false,
    "properties": {
      "request_id": {
        "pattern": "^[0-9a-f]{32}$",
        "type": "string"
      }
    },
    "required": [
      "request_id"
    ],
    "type": "object"
  },
  "get_auto_approval": {
    "properties": {},
    "required": [],
    "type": "object"
  },
  "get_case": {
    "properties": {
      "case_id": {
        "type": "string"
      },
      "loop_id": {
        "type": "string"
      }
    },
    "required": [
      "loop_id",
      "case_id"
    ],
    "type": "object"
  },
  "get_feed_v1": {
    "properties": {
      "cursor": {
        "type": "string"
      },
      "include_reply_capability": {
        "type": "boolean"
      },
      "limit": {
        "type": "integer"
      }
    },
    "required": [],
    "type": "object"
  },
  "get_governance_inbox": {
    "properties": {
      "window": {
        "enum": [
          "7d",
          "30d",
          "90d"
        ],
        "type": "string"
      }
    },
    "required": [],
    "type": "object"
  },
  "get_health_v1": {
    "additionalProperties": false,
    "properties": {},
    "required": [],
    "type": "object"
  },
  "get_loop": {
    "properties": {
      "loop_id": {
        "type": "string"
      }
    },
    "required": [
      "loop_id"
    ],
    "type": "object"
  },
  "get_loop_metrics": {
    "properties": {
      "loop_id": {
        "type": "string"
      },
      "window": {
        "enum": [
          "7d",
          "30d",
          "90d"
        ],
        "type": "string"
      }
    },
    "required": [
      "window"
    ],
    "type": "object"
  },
  "get_proposal": {
    "properties": {
      "limit": {
        "minimum": 1,
        "type": "integer"
      },
      "offset": {
        "minimum": 1,
        "type": "integer"
      },
      "path": {
        "type": "string"
      },
      "proposal_id": {
        "type": "string"
      },
      "proposal_ids": {
        "items": {
          "type": "string"
        },
        "maxItems": 25,
        "minItems": 1,
        "type": "array"
      }
    },
    "required": [],
    "type": "object"
  },
  "get_push_recipients_v1": {
    "properties": {
      "event_id": {
        "type": "string"
      },
      "principals": {
        "items": {
          "type": "string"
        },
        "maxItems": 128,
        "type": "array"
      },
      "stream": {
        "enum": [
          "queue",
          "briefings"
        ],
        "type": "string"
      }
    },
    "required": [
      "stream",
      "event_id",
      "principals"
    ],
    "type": "object"
  },
  "get_record": {
    "properties": {
      "id": {
        "type": "string"
      }
    },
    "required": [
      "id"
    ],
    "type": "object"
  },
  "get_review_batch": {
    "additionalProperties": false,
    "properties": {
      "batch_id": {
        "type": "string"
      },
      "row": {
        "type": "string"
      }
    },
    "required": [
      "batch_id"
    ],
    "type": "object"
  },
  "get_skill": {
    "properties": {
      "capability": {
        "enum": [
          "any",
          "repo-agent"
        ],
        "type": "string"
      },
      "name": {
        "type": "string"
      }
    },
    "required": [
      "name"
    ],
    "type": "object"
  },
  "invite_member": {
    "additionalProperties": false,
    "properties": {
      "email": {
        "maxLength": 320,
        "type": "string"
      },
      "role": {
        "default": "member",
        "enum": [
          "member"
        ],
        "type": "string"
      }
    },
    "required": [
      "email"
    ],
    "type": "object"
  },
  "invoke_app_action": {
    "properties": {
      "action_id": {
        "type": "string"
      },
      "app_id": {
        "type": "string"
      },
      "args": {
        "type": "object"
      },
      "idempotency_key": {
        "description": "Stable sender retry key for peer_delivery actions.",
        "pattern": "^[0-9a-f]{64}$",
        "type": "string"
      }
    },
    "required": [
      "app_id",
      "action_id",
      "args"
    ],
    "type": "object"
  },
  "list_access_profiles": {
    "properties": {},
    "required": [],
    "type": "object"
  },
  "list_actions": {
    "properties": {},
    "required": [],
    "type": "object"
  },
  "list_available_apps": {
    "properties": {},
    "required": [],
    "type": "object"
  },
  "list_connections": {
    "additionalProperties": false,
    "properties": {},
    "required": [],
    "type": "object"
  },
  "list_directory_group_mappings": {
    "properties": {},
    "required": [],
    "type": "object"
  },
  "list_files": {
    "properties": {
      "dir": {
        "description": "A folder path (a zone's path_root, as list_zones gives it), or the id of a zone you hold, which is mapped to its folder.",
        "type": "string"
      },
      "memory_view": {
        "enum": [
          "current",
          "evidence"
        ],
        "type": "string"
      },
      "pattern": {
        "type": "string"
      }
    },
    "required": [],
    "type": "object"
  },
  "list_held_proposals": {
    "properties": {
      "cursor": {
        "type": "string"
      },
      "limit": {
        "type": "integer"
      },
      "path_prefix": {
        "type": "string"
      },
      "proposer": {
        "type": "string"
      }
    },
    "required": [],
    "type": "object"
  },
  "list_loops": {
    "properties": {},
    "required": [],
    "type": "object"
  },
  "list_owner_tokens": {
    "properties": {},
    "required": [],
    "type": "object"
  },
  "list_proposal_outcomes": {
    "properties": {
      "cursor": {
        "type": "string"
      },
      "limit": {
        "type": "integer"
      }
    },
    "required": [],
    "type": "object"
  },
  "list_questions": {
    "properties": {},
    "required": [],
    "type": "object"
  },
  "list_records": {
    "properties": {
      "overdue": {
        "type": "boolean"
      },
      "status": {
        "enum": [
          "active",
          "superseded",
          "retired"
        ],
        "type": "string"
      },
      "type": {
        "enum": [
          "decision",
          "policy"
        ],
        "type": "string"
      }
    },
    "required": [],
    "type": "object"
  },
  "list_review_queue": {
    "properties": {
      "cursor": {
        "type": "string"
      },
      "include_content": {
        "type": "boolean"
      },
      "limit": {
        "type": "integer"
      },
      "path_prefix": {
        "maxLength": 512,
        "type": "string"
      },
      "proposer": {
        "maxLength": 200,
        "type": "string"
      },
      "status": {
        "enum": [
          "open",
          "answered",
          "stale"
        ],
        "type": "string"
      }
    },
    "required": [],
    "type": "object"
  },
  "list_skills": {
    "properties": {
      "capability": {
        "enum": [
          "any",
          "repo-agent"
        ],
        "type": "string"
      }
    },
    "required": [],
    "type": "object"
  },
  "list_zone_catalog": {
    "properties": {},
    "required": [],
    "type": "object"
  },
  "list_zones": {
    "properties": {},
    "required": [],
    "type": "object"
  },
  "loop_compose": {
    "properties": {
      "description": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "spec": {
        "properties": {
          "autonomy": {
            "type": "object"
          },
          "budget": {
            "type": "object"
          },
          "context": {
            "properties": {
              "records": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              }
            },
            "type": "object"
          },
          "escalation": {
            "type": "object"
          },
          "inputs": {
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "nodes": {
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "owner": {
            "type": "string"
          },
          "purpose": {
            "type": "string"
          },
          "quality": {
            "type": "object"
          },
          "rollout": {
            "enum": [
              "shadow"
            ],
            "type": "string"
          },
          "supersedes": {
            "type": [
              "string",
              "null"
            ]
          },
          "trigger": {
            "type": "object"
          },
          "version": {
            "type": "integer"
          }
        },
        "required": [
          "purpose",
          "version",
          "trigger",
          "inputs",
          "nodes",
          "quality",
          "escalation",
          "autonomy",
          "budget"
        ],
        "type": "object"
      }
    },
    "required": [
      "name",
      "description",
      "spec"
    ],
    "type": "object"
  },
  "map_directory_group": {
    "properties": {
      "group_name": {
        "type": "string"
      },
      "profile_id": {
        "type": "string"
      }
    },
    "required": [
      "group_name",
      "profile_id"
    ],
    "type": "object"
  },
  "mint_owner_token": {
    "properties": {
      "label": {
        "type": "string"
      }
    },
    "required": [],
    "type": "object"
  },
  "mint_teammate_token": {
    "properties": {
      "label": {
        "type": "string"
      },
      "principal_subject": {
        "type": "string"
      }
    },
    "required": [
      "principal_subject"
    ],
    "type": "object"
  },
  "oauth2_connect_complete": {
    "properties": {
      "code": {
        "type": "string"
      },
      "state": {
        "type": "string"
      }
    },
    "required": [
      "code",
      "state"
    ],
    "type": "object"
  },
  "oauth2_connect_poll": {
    "properties": {},
    "required": [],
    "type": "object"
  },
  "oauth2_connect_start": {
    "properties": {
      "provider": {
        "type": "string"
      }
    },
    "required": [
      "provider"
    ],
    "type": "object"
  },
  "onboarding_apply": {
    "properties": {
      "confirmation": {
        "type": "string"
      },
      "preview_id": {
        "type": "string"
      }
    },
    "required": [
      "preview_id",
      "confirmation"
    ],
    "type": "object"
  },
  "onboarding_preview": {
    "properties": {
      "expected_revision": {
        "type": "integer"
      },
      "plan": {
        "type": "object"
      }
    },
    "required": [
      "plan",
      "expected_revision"
    ],
    "type": "object"
  },
  "onboarding_record": {
    "properties": {
      "detail": {
        "type": "string"
      },
      "expected_revision": {
        "type": "integer"
      },
      "outcome": {
        "enum": [
          "PASS",
          "FAIL"
        ],
        "type": "string"
      },
      "task_id": {
        "type": "string"
      }
    },
    "required": [
      "task_id",
      "outcome",
      "expected_revision"
    ],
    "type": "object"
  },
  "onboarding_state": {
    "properties": {},
    "required": [],
    "type": "object"
  },
  "onboarding_status": {
    "properties": {
      "preview_id": {
        "type": "string"
      }
    },
    "required": [
      "preview_id"
    ],
    "type": "object"
  },
  "orient": {
    "properties": {
      "detail": {
        "enum": [
          "full"
        ],
        "type": "string"
      }
    },
    "required": [],
    "type": "object"
  },
  "poll_answer": {
    "properties": {
      "qb_id": {
        "type": "string"
      }
    },
    "required": [
      "qb_id"
    ],
    "type": "object"
  },
  "post_event": {
    "properties": {
      "event_type": {
        "type": "string"
      },
      "object_ref": {
        "type": "string"
      },
      "summary": {
        "type": "string"
      },
      "title": {
        "type": "string"
      }
    },
    "required": [
      "event_type",
      "title",
      "summary"
    ],
    "type": "object"
  },
  "propose_write": {
    "properties": {
      "amends": {
        "description": "Optional held proposal id to add these changes into instead of opening a new proposal: one card, one decision for both. Needs read on every zone it touches and propose on every zone of the result. A path it already changes takes full content (create/replace); base_sha there is the blob at the proposal tip.",
        "type": "string"
      },
      "changes": {
        "items": {
          "oneOf": [
            {
              "not": {
                "required": [
                  "op"
                ]
              },
              "properties": {
                "content": {
                  "type": "string"
                },
                "path": {
                  "type": "string"
                }
              },
              "required": [
                "path",
                "content"
              ],
              "type": "object"
            },
            {
              "properties": {
                "base_sha": {
                  "description": "Memory operations require read.memory.revision as base_sha (base_required if missing; stale-base if changed). Ordinary replacements with a stale or omitted base are held for review.",
                  "type": "string"
                },
                "content": {
                  "type": "string"
                },
                "op": {
                  "enum": [
                    "create",
                    "replace",
                    "upsert"
                  ],
                  "type": "string"
                },
                "path": {
                  "type": "string"
                }
              },
              "required": [
                "path",
                "op",
                "content"
              ],
              "type": "object"
            },
            {
              "properties": {
                "anchor": {
                  "type": "string"
                },
                "base_sha": {
                  "description": "Reject if the supplied base changed (stale-base). Memory edits require read.memory.revision as base_sha (base_required if missing).",
                  "type": "string"
                },
                "content": {
                  "type": "string"
                },
                "mode": {
                  "enum": [
                    "replace_section",
                    "append_to_section",
                    "insert_after_heading",
                    "delete_section"
                  ],
                  "type": "string"
                },
                "op": {
                  "enum": [
                    "edit"
                  ],
                  "type": "string"
                },
                "path": {
                  "type": "string"
                }
              },
              "required": [
                "path",
                "op",
                "content",
                "anchor",
                "mode"
              ],
              "type": "object"
            },
            {
              "properties": {
                "base_sha": {
                  "description": "Reject if the supplied base changed (stale-base). Memory operations require read.memory.revision as base_sha (base_required if missing).",
                  "type": "string"
                },
                "content": {
                  "type": "string"
                },
                "op": {
                  "enum": [
                    "append"
                  ],
                  "type": "string"
                },
                "path": {
                  "type": "string"
                }
              },
              "required": [
                "path",
                "op",
                "content"
              ],
              "type": "object"
            },
            {
              "properties": {
                "base_sha": {
                  "description": "Reject if the supplied base changed (stale-base). Memory operations require read.memory.revision as base_sha (base_required if missing).",
                  "type": "string"
                },
                "op": {
                  "enum": [
                    "delete"
                  ],
                  "type": "string"
                },
                "path": {
                  "type": "string"
                }
              },
              "required": [
                "path",
                "op"
              ],
              "type": "object"
            }
          ]
        },
        "type": "array"
      },
      "claim_context": {
        "additionalProperties": {
          "additionalProperties": false,
          "properties": {
            "generation": {
              "minimum": 1,
              "type": "integer"
            },
            "session_id": {
              "type": "string"
            }
          },
          "required": [
            "session_id",
            "generation"
          ],
          "type": "object"
        },
        "type": "object"
      },
      "rationale": {
        "type": "string"
      }
    },
    "required": [
      "changes"
    ],
    "type": "object"
  },
  "query": {
    "properties": {
      "follow_up": {
        "additionalProperties": false,
        "properties": {
          "facet": {
            "maxLength": 512,
            "type": "string"
          },
          "seen": {
            "items": {
              "type": "string"
            },
            "maxItems": 10,
            "type": "array"
          }
        },
        "required": [
          "facet"
        ],
        "type": "object"
      },
      "memory_view": {
        "enum": [
          "current",
          "evidence"
        ],
        "type": "string"
      },
      "text": {
        "type": "string"
      }
    },
    "required": [
      "text"
    ],
    "type": "object"
  },
  "read": {
    "properties": {
      "limit": {
        "minimum": 1,
        "type": "integer"
      },
      "memory_view": {
        "enum": [
          "current",
          "evidence"
        ],
        "type": "string"
      },
      "mode": {
        "enum": [
          "full",
          "head"
        ],
        "type": "string"
      },
      "offset": {
        "minimum": 1,
        "type": "integer"
      },
      "path": {
        "type": "string"
      }
    },
    "required": [
      "path"
    ],
    "type": "object"
  },
  "read_many": {
    "additionalProperties": false,
    "properties": {
      "memory_view": {
        "enum": [
          "current",
          "evidence"
        ],
        "type": "string"
      },
      "mode": {
        "default": "full",
        "enum": [
          "full",
          "head"
        ],
        "type": "string"
      },
      "paths": {
        "items": {
          "type": "string"
        },
        "maxItems": 20,
        "type": "array"
      }
    },
    "required": [
      "paths"
    ],
    "type": "object"
  },
  "recovery_kit_download": {
    "properties": {},
    "required": [],
    "type": "object"
  },
  "remove_connection": {
    "additionalProperties": false,
    "properties": {
      "cascade": {
        "type": "boolean"
      },
      "name": {
        "type": "string"
      }
    },
    "required": [
      "name"
    ],
    "type": "object"
  },
  "remove_directory_group_mapping": {
    "properties": {
      "group_name": {
        "type": "string"
      }
    },
    "required": [
      "group_name"
    ],
    "type": "object"
  },
  "renew_app_session": {
    "properties": {},
    "required": [],
    "type": "object"
  },
  "request_approval": {
    "additionalProperties": false,
    "properties": {
      "changes": {
        "items": {
          "oneOf": [
            {
              "not": {
                "required": [
                  "op"
                ]
              },
              "properties": {
                "content": {
                  "type": "string"
                },
                "path": {
                  "type": "string"
                }
              },
              "required": [
                "path",
                "content"
              ],
              "type": "object"
            },
            {
              "properties": {
                "base_sha": {
                  "description": "Memory operations require read.memory.revision as base_sha (base_required if missing; stale-base if changed). Ordinary replacements with a stale or omitted base are held for review.",
                  "type": "string"
                },
                "content": {
                  "type": "string"
                },
                "op": {
                  "enum": [
                    "create",
                    "replace",
                    "upsert"
                  ],
                  "type": "string"
                },
                "path": {
                  "type": "string"
                }
              },
              "required": [
                "path",
                "op",
                "content"
              ],
              "type": "object"
            },
            {
              "properties": {
                "anchor": {
                  "type": "string"
                },
                "base_sha": {
                  "description": "Reject if the supplied base changed (stale-base). Memory edits require read.memory.revision as base_sha (base_required if missing).",
                  "type": "string"
                },
                "content": {
                  "type": "string"
                },
                "mode": {
                  "enum": [
                    "replace_section",
                    "append_to_section",
                    "insert_after_heading",
                    "delete_section"
                  ],
                  "type": "string"
                },
                "op": {
                  "enum": [
                    "edit"
                  ],
                  "type": "string"
                },
                "path": {
                  "type": "string"
                }
              },
              "required": [
                "path",
                "op",
                "content",
                "anchor",
                "mode"
              ],
              "type": "object"
            },
            {
              "properties": {
                "base_sha": {
                  "description": "Reject if the supplied base changed (stale-base). Memory operations require read.memory.revision as base_sha (base_required if missing).",
                  "type": "string"
                },
                "content": {
                  "type": "string"
                },
                "op": {
                  "enum": [
                    "append"
                  ],
                  "type": "string"
                },
                "path": {
                  "type": "string"
                }
              },
              "required": [
                "path",
                "op",
                "content"
              ],
              "type": "object"
            },
            {
              "properties": {
                "base_sha": {
                  "description": "Reject if the supplied base changed (stale-base). Memory operations require read.memory.revision as base_sha (base_required if missing).",
                  "type": "string"
                },
                "op": {
                  "enum": [
                    "delete"
                  ],
                  "type": "string"
                },
                "path": {
                  "type": "string"
                }
              },
              "required": [
                "path",
                "op"
              ],
              "type": "object"
            }
          ]
        },
        "maxItems": 20,
        "minItems": 1,
        "type": "array"
      },
      "title": {
        "maxLength": 200,
        "minLength": 1,
        "type": "string"
      }
    },
    "required": [
      "title",
      "changes"
    ],
    "type": "object"
  },
  "request_session_assertion_v1": {
    "properties": {
      "workos_access_token": {
        "type": "string"
      }
    },
    "required": [
      "workos_access_token"
    ],
    "type": "object"
  },
  "reset_app_trust": {
    "properties": {
      "principal": {
        "type": "string"
      },
      "zone": {
        "type": "string"
      }
    },
    "required": [
      "principal",
      "zone"
    ],
    "type": "object"
  },
  "resolve_question": {
    "properties": {
      "qb_id": {
        "type": "string"
      }
    },
    "required": [
      "qb_id"
    ],
    "type": "object"
  },
  "revert_auto_approval": {
    "properties": {
      "proposal_id": {
        "type": "string"
      }
    },
    "required": [
      "proposal_id"
    ],
    "type": "object"
  },
  "revert_open_team_permissions": {
    "properties": {},
    "required": [],
    "type": "object"
  },
  "revoke_owner_token": {
    "properties": {
      "fingerprint": {
        "type": "string"
      }
    },
    "required": [],
    "type": "object"
  },
  "save_access_profile": {
    "properties": {
      "approve_zone_ids": {
        "items": {
          "type": "string"
        },
        "type": "array"
      },
      "extends_default": {
        "type": "boolean"
      },
      "name": {
        "type": "string"
      },
      "profile_id": {
        "type": "string"
      },
      "zone_ids": {
        "items": {
          "type": "string"
        },
        "type": "array"
      }
    },
    "required": [
      "name",
      "zone_ids"
    ],
    "type": "object"
  },
  "search": {
    "properties": {
      "case_sensitive": {
        "type": "boolean"
      },
      "context": {
        "type": "integer"
      },
      "glob": {
        "type": "string"
      },
      "max_results": {
        "type": "integer"
      },
      "memory_view": {
        "enum": [
          "current",
          "evidence"
        ],
        "type": "string"
      },
      "mode": {
        "enum": [
          "content",
          "files",
          "count"
        ],
        "type": "string"
      },
      "pattern": {
        "type": "string"
      }
    },
    "required": [
      "pattern"
    ],
    "type": "object"
  },
  "set_access_management": {
    "properties": {
      "admins_can_manage": {
        "type": "boolean"
      }
    },
    "required": [
      "admins_can_manage"
    ],
    "type": "object"
  },
  "set_admin_approval": {
    "properties": {
      "admins_can_approve": {
        "type": "boolean"
      }
    },
    "required": [
      "admins_can_approve"
    ],
    "type": "object"
  },
  "set_auto_approval": {
    "properties": {
      "enabled": {
        "type": "boolean"
      },
      "principal": {
        "type": "string"
      },
      "rules": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "authors": {
              "oneOf": [
                {
                  "enum": [
                    "anyone",
                    "self"
                  ],
                  "type": "string"
                },
                {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              ]
            },
            "zones": {
              "oneOf": [
                {
                  "enum": [
                    "*"
                  ],
                  "type": "string"
                },
                {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              ]
            }
          },
          "type": "object"
        },
        "type": "array"
      }
    },
    "required": [],
    "type": "object"
  },
  "set_automation_delegation": {
    "properties": {
      "admins_can_manage_automations": {
        "type": "boolean"
      }
    },
    "required": [
      "admins_can_manage_automations"
    ],
    "type": "object"
  },
  "set_default_access_profile": {
    "properties": {
      "profile_id": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "required": [
      "profile_id"
    ],
    "type": "object"
  },
  "set_feedback_drafts": {
    "additionalProperties": false,
    "properties": {
      "enabled": {
        "type": "boolean"
      }
    },
    "required": [
      "enabled"
    ],
    "type": "object"
  },
  "set_loop_delegation": {
    "properties": {
      "admins_can_manage_loops": {
        "type": "boolean"
      },
      "loop_managers": {
        "items": {
          "type": "string"
        },
        "type": "array"
      }
    },
    "required": [],
    "type": "object"
  },
  "set_member_role": {
    "properties": {
      "member": {
        "type": "string"
      },
      "role": {
        "enum": [
          "admin",
          "member"
        ],
        "type": "string"
      }
    },
    "required": [
      "member",
      "role"
    ],
    "type": "object"
  },
  "set_personal_zone_delegation": {
    "properties": {
      "admins_can_read_personal_zones": {
        "type": "boolean"
      }
    },
    "required": [
      "admins_can_read_personal_zones"
    ],
    "type": "object"
  },
  "set_role_delegation": {
    "properties": {
      "admins_can_manage_roles": {
        "type": "boolean"
      }
    },
    "required": [
      "admins_can_manage_roles"
    ],
    "type": "object"
  },
  "set_zone_creation_delegation": {
    "properties": {
      "admins_can_create_zones": {
        "type": "boolean"
      }
    },
    "required": [
      "admins_can_create_zones"
    ],
    "type": "object"
  },
  "subscribe": {
    "properties": {
      "since": {
        "type": "string"
      }
    },
    "required": [
      "since"
    ],
    "type": "object"
  },
  "task_claim": {
    "additionalProperties": false,
    "properties": {
      "id": {
        "type": "string"
      },
      "session": {
        "type": "string"
      }
    },
    "required": [
      "id",
      "session"
    ],
    "type": "object"
  },
  "task_create": {
    "additionalProperties": false,
    "properties": {
      "assignee": {
        "type": [
          "string",
          "null"
        ]
      },
      "blocks": {
        "items": {
          "type": "string"
        },
        "type": "array"
      },
      "closed": {
        "type": [
          "string",
          "null"
        ]
      },
      "depends_on": {
        "items": {
          "type": "string"
        },
        "type": "array"
      },
      "due": {
        "type": [
          "string",
          "null"
        ]
      },
      "env": {
        "type": [
          "string",
          "null"
        ]
      },
      "finish_gates": {
        "items": {
          "type": "string"
        },
        "type": "array"
      },
      "goal": {
        "type": [
          "string",
          "null"
        ]
      },
      "initiative": {
        "type": [
          "string",
          "null"
        ]
      },
      "lane": {
        "type": [
          "string",
          "null"
        ]
      },
      "modified": {
        "type": [
          "string",
          "null"
        ]
      },
      "owner": {
        "type": [
          "string",
          "null"
        ]
      },
      "parent": {
        "pattern": "[a-z][a-z0-9-]*-[a-z][a-z0-9-]*-\\d{4}-\\d{3,}$",
        "type": [
          "string",
          "null"
        ]
      },
      "planned_for": {
        "type": [
          "string",
          "null"
        ]
      },
      "prefix": {
        "type": "string"
      },
      "priority": {
        "enum": [
          "critical",
          "high",
          "normal",
          "low"
        ],
        "type": "string"
      },
      "priority_rank": {
        "minimum": 0,
        "type": [
          "integer",
          "null"
        ]
      },
      "project": {
        "type": "string"
      },
      "reporter": {
        "type": [
          "string",
          "null"
        ]
      },
      "session": {
        "type": [
          "string",
          "null"
        ]
      },
      "status": {
        "enum": [
          "backlog",
          "active",
          "in-progress",
          "blocked",
          "review",
          "done",
          "cancelled"
        ],
        "type": "string"
      },
      "title": {
        "type": "string"
      },
      "workstream": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "required": [
      "prefix",
      "project",
      "title"
    ],
    "type": "object"
  },
  "task_get": {
    "additionalProperties": false,
    "properties": {
      "id": {
        "type": "string"
      }
    },
    "required": [
      "id"
    ],
    "type": "object"
  },
  "task_handoff": {
    "additionalProperties": false,
    "properties": {
      "generation": {
        "minimum": 1,
        "type": "integer"
      },
      "id": {
        "type": "string"
      },
      "mode": {
        "enum": [
          "cooperative",
          "force"
        ],
        "type": "string"
      },
      "reason": {
        "maxLength": 1024,
        "type": "string"
      },
      "session": {
        "type": "string"
      },
      "target_session": {
        "type": "string"
      }
    },
    "required": [
      "id",
      "session",
      "generation",
      "target_session"
    ],
    "type": "object"
  },
  "task_import": {
    "additionalProperties": false,
    "properties": {
      "assignee": {
        "type": [
          "string",
          "null"
        ]
      },
      "blocks": {
        "items": {
          "type": "string"
        },
        "type": "array"
      },
      "closed": {
        "type": [
          "string",
          "null"
        ]
      },
      "depends_on": {
        "items": {
          "type": "string"
        },
        "type": "array"
      },
      "due": {
        "type": [
          "string",
          "null"
        ]
      },
      "env": {
        "type": [
          "string",
          "null"
        ]
      },
      "finish_gates": {
        "items": {
          "type": "string"
        },
        "type": "array"
      },
      "goal": {
        "type": [
          "string",
          "null"
        ]
      },
      "id": {
        "type": "string"
      },
      "initiative": {
        "type": [
          "string",
          "null"
        ]
      },
      "lane": {
        "type": [
          "string",
          "null"
        ]
      },
      "modified": {
        "type": [
          "string",
          "null"
        ]
      },
      "owner": {
        "type": [
          "string",
          "null"
        ]
      },
      "parent": {
        "pattern": "[a-z][a-z0-9-]*-[a-z][a-z0-9-]*-\\d{4}-\\d{3,}$",
        "type": [
          "string",
          "null"
        ]
      },
      "planned_for": {
        "type": [
          "string",
          "null"
        ]
      },
      "priority": {
        "enum": [
          "critical",
          "high",
          "normal",
          "low"
        ],
        "type": "string"
      },
      "priority_rank": {
        "minimum": 0,
        "type": [
          "integer",
          "null"
        ]
      },
      "project": {
        "type": "string"
      },
      "reporter": {
        "type": [
          "string",
          "null"
        ]
      },
      "session": {
        "type": [
          "string",
          "null"
        ]
      },
      "status": {
        "enum": [
          "backlog",
          "active",
          "in-progress",
          "blocked",
          "review",
          "done",
          "cancelled"
        ],
        "type": "string"
      },
      "title": {
        "type": "string"
      },
      "workstream": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "required": [
      "id",
      "project",
      "title"
    ],
    "type": "object"
  },
  "task_link": {
    "additionalProperties": false,
    "properties": {
      "claim_context": {
        "additionalProperties": {
          "additionalProperties": false,
          "properties": {
            "generation": {
              "minimum": 1,
              "type": "integer"
            },
            "session_id": {
              "type": "string"
            }
          },
          "required": [
            "session_id",
            "generation"
          ],
          "type": "object"
        },
        "type": "object"
      },
      "id": {
        "type": "string"
      },
      "kind": {
        "enum": [
          "depends_on",
          "finish_gates",
          "blocks"
        ],
        "type": "string"
      },
      "target_id": {
        "type": "string"
      }
    },
    "required": [
      "id",
      "target_id",
      "kind"
    ],
    "type": "object"
  },
  "task_list": {
    "additionalProperties": false,
    "properties": {
      "assignee": {
        "type": "string"
      },
      "blocked": {
        "type": "boolean"
      },
      "env": {
        "type": "string"
      },
      "initiative": {
        "type": "string"
      },
      "limit": {
        "maximum": 1000,
        "minimum": 1,
        "type": "integer"
      },
      "owner": {
        "type": "string"
      },
      "parent": {
        "pattern": "[a-z][a-z0-9-]*-[a-z][a-z0-9-]*-\\d{4}-\\d{3,}$",
        "type": "string"
      },
      "planned_for": {
        "type": "string"
      },
      "project": {
        "type": "string"
      },
      "status": {
        "items": {
          "enum": [
            "backlog",
            "active",
            "in-progress",
            "blocked",
            "review",
            "done",
            "cancelled"
          ],
          "type": "string"
        },
        "type": "array"
      },
      "text": {
        "type": "string"
      }
    },
    "required": [],
    "type": "object"
  },
  "task_release": {
    "additionalProperties": false,
    "properties": {
      "generation": {
        "minimum": 1,
        "type": "integer"
      },
      "id": {
        "type": "string"
      },
      "session": {
        "type": "string"
      }
    },
    "required": [
      "id",
      "session",
      "generation"
    ],
    "type": "object"
  },
  "task_session_close": {
    "additionalProperties": false,
    "properties": {
      "session_id": {
        "type": "string"
      }
    },
    "required": [
      "session_id"
    ],
    "type": "object"
  },
  "task_session_heartbeat": {
    "additionalProperties": false,
    "properties": {
      "session_id": {
        "type": "string"
      }
    },
    "required": [
      "session_id"
    ],
    "type": "object"
  },
  "task_session_open": {
    "additionalProperties": false,
    "properties": {
      "client_label": {
        "type": "string"
      },
      "request_id": {
        "type": "string"
      },
      "runtime_id": {
        "type": "string"
      }
    },
    "required": [
      "runtime_id",
      "client_label",
      "request_id"
    ],
    "type": "object"
  },
  "task_sweep": {
    "additionalProperties": false,
    "properties": {
      "claim_context": {
        "additionalProperties": {
          "additionalProperties": false,
          "properties": {
            "generation": {
              "minimum": 1,
              "type": "integer"
            },
            "session_id": {
              "type": "string"
            }
          },
          "required": [
            "session_id",
            "generation"
          ],
          "type": "object"
        },
        "type": "object"
      }
    },
    "required": [],
    "type": "object"
  },
  "task_transition": {
    "additionalProperties": false,
    "properties": {
      "claim_context": {
        "additionalProperties": {
          "additionalProperties": false,
          "properties": {
            "generation": {
              "minimum": 1,
              "type": "integer"
            },
            "session_id": {
              "type": "string"
            }
          },
          "required": [
            "session_id",
            "generation"
          ],
          "type": "object"
        },
        "type": "object"
      },
      "id": {
        "type": "string"
      },
      "status": {
        "enum": [
          "backlog",
          "active",
          "in-progress",
          "blocked",
          "review",
          "done",
          "cancelled"
        ],
        "type": "string"
      }
    },
    "required": [
      "id",
      "status"
    ],
    "type": "object"
  },
  "task_update": {
    "additionalProperties": false,
    "properties": {
      "assignee": {
        "type": [
          "string",
          "null"
        ]
      },
      "blocks": {
        "items": {
          "type": "string"
        },
        "type": "array"
      },
      "body": {
        "type": "string"
      },
      "checklist": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "done": {
              "type": "boolean"
            },
            "text": {
              "maxLength": 200,
              "minLength": 1,
              "pattern": "^\\S(?:[^\\x00-\\x1f\\x7f-\\x9f\\u2028\\u2029]*\\S)?$",
              "type": "string"
            }
          },
          "required": [
            "text",
            "done"
          ],
          "type": "object"
        },
        "maxItems": 50,
        "type": "array"
      },
      "claim_context": {
        "additionalProperties": {
          "additionalProperties": false,
          "properties": {
            "generation": {
              "minimum": 1,
              "type": "integer"
            },
            "session_id": {
              "type": "string"
            }
          },
          "required": [
            "session_id",
            "generation"
          ],
          "type": "object"
        },
        "type": "object"
      },
      "closed": {
        "type": [
          "string",
          "null"
        ]
      },
      "depends_on": {
        "items": {
          "type": "string"
        },
        "type": "array"
      },
      "due": {
        "type": [
          "string",
          "null"
        ]
      },
      "env": {
        "type": [
          "string",
          "null"
        ]
      },
      "expected_checklist": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "done": {
              "type": "boolean"
            },
            "text": {
              "maxLength": 200,
              "minLength": 1,
              "pattern": "^\\S(?:[^\\x00-\\x1f\\x7f-\\x9f\\u2028\\u2029]*\\S)?$",
              "type": "string"
            }
          },
          "required": [
            "text",
            "done"
          ],
          "type": "object"
        },
        "maxItems": 50,
        "type": "array"
      },
      "expected_content": {
        "type": "string"
      },
      "finish_gates": {
        "items": {
          "type": "string"
        },
        "type": "array"
      },
      "goal": {
        "type": [
          "string",
          "null"
        ]
      },
      "id": {
        "type": "string"
      },
      "initiative": {
        "type": [
          "string",
          "null"
        ]
      },
      "lane": {
        "type": [
          "string",
          "null"
        ]
      },
      "modified": {
        "type": [
          "string",
          "null"
        ]
      },
      "owner": {
        "type": [
          "string",
          "null"
        ]
      },
      "parent": {
        "pattern": "[a-z][a-z0-9-]*-[a-z][a-z0-9-]*-\\d{4}-\\d{3,}$",
        "type": [
          "string",
          "null"
        ]
      },
      "planned_for": {
        "type": [
          "string",
          "null"
        ]
      },
      "priority": {
        "enum": [
          "critical",
          "high",
          "normal",
          "low"
        ],
        "type": "string"
      },
      "priority_rank": {
        "minimum": 0,
        "type": [
          "integer",
          "null"
        ]
      },
      "project": {
        "type": [
          "string",
          "null"
        ]
      },
      "reporter": {
        "type": [
          "string",
          "null"
        ]
      },
      "session": {
        "type": [
          "string",
          "null"
        ]
      },
      "status": {
        "enum": [
          "backlog",
          "active",
          "in-progress",
          "blocked",
          "review",
          "done",
          "cancelled"
        ],
        "type": "string"
      },
      "title": {
        "type": [
          "string",
          "null"
        ]
      },
      "workstream": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "required": [
      "id"
    ],
    "type": "object"
  },
  "test_connection": {
    "additionalProperties": false,
    "properties": {
      "name": {
        "type": "string"
      }
    },
    "required": [
      "name"
    ],
    "type": "object"
  },
  "view_asset": {
    "additionalProperties": false,
    "properties": {
      "app_id": {
        "type": "string"
      },
      "path": {
        "type": "string"
      }
    },
    "required": [
      "app_id",
      "path"
    ],
    "type": "object"
  },
  "view_data": {
    "additionalProperties": false,
    "properties": {
      "app_id": {
        "type": "string"
      },
      "args": {
        "type": "object"
      },
      "op": {
        "enum": [
          "dataset",
          "rows",
          "read",
          "list"
        ]
      }
    },
    "required": [
      "app_id",
      "op",
      "args"
    ],
    "type": "object"
  },
  "view_dry_run": {
    "additionalProperties": false,
    "properties": {
      "files": {
        "additionalProperties": {
          "type": "string"
        },
        "type": "object"
      }
    },
    "required": [
      "files"
    ],
    "type": "object"
  },
  "view_list": {
    "additionalProperties": false,
    "properties": {},
    "required": [],
    "type": "object"
  },
  "view_resolve": {
    "additionalProperties": false,
    "properties": {
      "route": {
        "type": "string"
      }
    },
    "required": [
      "route"
    ],
    "type": "object"
  }
}
```
