75 lines
1.7 KiB
YAML
75 lines
1.7 KiB
YAML
{
|
|
"apiVersion": "hub.example.com/v1alpha1",
|
|
"kind": "ToolManifest",
|
|
"metadata": {
|
|
"name": "ProjectBrain Auto Mode Configure",
|
|
"slug": "projectbrain-autonomy-configure"
|
|
},
|
|
"spec": {
|
|
"canonicalName": "projectbrain.autonomy.configure",
|
|
"version": "1.2.0",
|
|
"connectorType": "projectbrain",
|
|
"description": "Configure bounded Auto Mode execution policy for one project.",
|
|
"riskClass": "R2",
|
|
"readOnly": false,
|
|
"idempotent": true,
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"required": [
|
|
"project_id"
|
|
],
|
|
"properties": {
|
|
"project_id": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"maxLength": 240
|
|
},
|
|
"enabled": {
|
|
"type": "boolean"
|
|
},
|
|
"auto_brainstorm": {
|
|
"type": "boolean"
|
|
},
|
|
"max_brainstorm_iterations": {
|
|
"type": "integer",
|
|
"minimum": 1,
|
|
"maximum": 10
|
|
},
|
|
"max_consecutive_failures": {
|
|
"type": "integer",
|
|
"minimum": 1,
|
|
"maximum": 10
|
|
},
|
|
"lease_minutes": {
|
|
"type": "integer",
|
|
"minimum": 5,
|
|
"maximum": 120
|
|
},
|
|
"max_work_items_per_run": {
|
|
"type": "integer",
|
|
"minimum": 1,
|
|
"maximum": 20
|
|
},
|
|
"max_run_minutes": {
|
|
"type": "integer",
|
|
"minimum": 5,
|
|
"maximum": 55
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"outputSchema": {
|
|
"type": "object"
|
|
},
|
|
"limits": {
|
|
"timeoutMs": 30000,
|
|
"maxOutputBytes": 524288,
|
|
"maxItems": 1
|
|
},
|
|
"redactionProfile": "documents",
|
|
"requiredScopes": [
|
|
"project:{project}:write"
|
|
]
|
|
}
|
|
}
|