{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "model": {
      "type": "string"
    },
    "effort": {
      "type": "string",
      "enum": [
        "low",
        "medium",
        "high",
        "xhigh",
        "max",
        "extra"
      ]
    },
    "account_name": {
      "type": "string"
    },
    "extended_thinking": {
      "default": true,
      "description": "real Cowork on/off toggle for extended thinking; default true (ON)",
      "type": "boolean"
    },
    "agent_max_turns": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "permission_mode": {
      "default": "default",
      "type": "string",
      "enum": [
        "default",
        "acceptEdits",
        "plan",
        "bypassPermissions"
      ]
    },
    "permission_parity": {
      "default": "cowork",
      "type": "string",
      "enum": [
        "cowork",
        "strict"
      ]
    },
    "folders": {
      "default": [],
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "minLength": 1
          },
          "mode": {
            "default": "rw",
            "type": "string",
            "enum": [
              "r",
              "rw",
              "rwd"
            ]
          }
        },
        "required": [
          "from"
        ],
        "additionalProperties": false
      }
    },
    "projects": {
      "default": [],
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "uuid": {
            "type": "string",
            "minLength": 1
          },
          "from": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "uuid",
          "from"
        ],
        "additionalProperties": false
      }
    },
    "trusted_folders": {
      "default": [],
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      }
    },
    "auto_mount_folders": {
      "default": false,
      "type": "boolean"
    },
    "uploads": {
      "default": [],
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      }
    },
    "plugins": {
      "default": {
        "config_dir": null,
        "marketplaces": [],
        "local_marketplaces": [],
        "enabled": [],
        "local_plugins": [],
        "remote_plugins": []
      },
      "type": "object",
      "properties": {
        "config_dir": {
          "default": null,
          "anyOf": [
            {
              "type": "string",
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "marketplaces": {
          "default": [],
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          }
        },
        "local_marketplaces": {
          "default": [],
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          }
        },
        "enabled": {
          "default": [],
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          }
        },
        "local_plugins": {
          "default": [],
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          }
        },
        "remote_plugins": {
          "default": [],
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          }
        }
      },
      "additionalProperties": false
    },
    "skills": {
      "default": {
        "local": []
      },
      "type": "object",
      "properties": {
        "local": {
          "default": [],
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          }
        },
        "suggest_enabled": {
          "description": "override for gate 245679952 (suggestSkillsEnabled): when true, the skills SDK-MCP server exposes suggest_skills; when false, suggest_skills is omitted and list_skills' description drops the fallback-to-suggest_skills clause. Omit to use the synced baseline gate (default true).",
          "type": "boolean"
        },
        "proactive_suggest_enabled": {
          "description": "override for gate 1598976391 (proactiveSkillSuggestEnabled): when true (and suggest_enabled is not false), suggest_skills swaps to the proactive description, gains an optional `trigger` enum param, and chains its empty-catalog note into search_plugins. Omit to use the synced baseline gate — on from the 1.24012.11 baseline, matching what production serves; the fallback for a baseline that predates the gate is false.",
          "type": "boolean"
        }
      },
      "additionalProperties": false
    },
    "mcp": {
      "default": {
        "config": null,
        "enabled": []
      },
      "type": "object",
      "properties": {
        "config": {
          "default": null,
          "anyOf": [
            {
              "type": "string",
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "enabled": {
          "default": [],
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "additionalProperties": false
    },
    "egress": {
      "default": {
        "extra_allow": [],
        "unrestricted": false
      },
      "type": "object",
      "properties": {
        "extra_allow": {
          "default": [],
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          }
        },
        "unrestricted": {
          "default": false,
          "type": "boolean"
        }
      },
      "additionalProperties": false
    },
    "web_fetch": {
      "default": {
        "approved_domains": []
      },
      "type": "object",
      "properties": {
        "approved_domains": {
          "default": [],
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "additionalProperties": false
    },
    "staleness": {
      "default": {
        "hash_ignore": []
      },
      "type": "object",
      "properties": {
        "hash_ignore": {
          "default": [],
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          }
        }
      },
      "additionalProperties": false
    },
    "debug": {
      "default": {},
      "type": "object",
      "properties": {
        "max_thinking_tokens": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        },
        "thinking_display": {
          "type": "string",
          "enum": [
            "summarized",
            "omitted"
          ]
        }
      },
      "additionalProperties": false
    },
    "agent_env": {
      "default": {},
      "type": "object",
      "properties": {
        "subagent_model": {
          "type": "string"
        },
        "tool_search": {
          "type": "string",
          "enum": [
            "auto",
            "off"
          ]
        },
        "disable_experimental_betas": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    }
  },
  "additionalProperties": false,
  "description": "cowork-harness session YAML — pre-prompt setup (model, mounts, discovery). See docs/session.md."
}
