167 lines
3.9 KiB
YAML
167 lines
3.9 KiB
YAML
{
|
|
"apiVersion": "hub.example.com/v1alpha1",
|
|
"kind": "ToolManifest",
|
|
"metadata": {
|
|
"name": "ProjectBrain Delivery Update",
|
|
"slug": "projectbrain-delivery-update"
|
|
},
|
|
"spec": {
|
|
"canonicalName": "projectbrain.delivery.update",
|
|
"version": "1.2.0",
|
|
"connectorType": "projectbrain",
|
|
"description": "Update an unstarted feature-delivery plan and return it to review.",
|
|
"riskClass": "R2",
|
|
"readOnly": false,
|
|
"idempotent": true,
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"required": [
|
|
"delivery_id",
|
|
"project_id",
|
|
"title",
|
|
"intent",
|
|
"problem",
|
|
"desired_outcome",
|
|
"goals",
|
|
"acceptance_criteria",
|
|
"implementation_plan",
|
|
"validation_commands"
|
|
],
|
|
"properties": {
|
|
"delivery_id": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"project_id": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"minLength": 3,
|
|
"maxLength": 160
|
|
},
|
|
"intent": {
|
|
"type": "string",
|
|
"minLength": 8,
|
|
"maxLength": 4000
|
|
},
|
|
"priority": {
|
|
"type": "string",
|
|
"enum": [
|
|
"critical",
|
|
"important",
|
|
"normal",
|
|
"low"
|
|
],
|
|
"default": "normal"
|
|
},
|
|
"problem": {
|
|
"type": "string",
|
|
"minLength": 8,
|
|
"maxLength": 8000
|
|
},
|
|
"desired_outcome": {
|
|
"type": "string",
|
|
"minLength": 8,
|
|
"maxLength": 8000
|
|
},
|
|
"users": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"maxLength": 300
|
|
},
|
|
"maxItems": 30,
|
|
"default": []
|
|
},
|
|
"goals": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"maxLength": 1000
|
|
},
|
|
"minItems": 1,
|
|
"maxItems": 50
|
|
},
|
|
"non_goals": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"maxLength": 1000
|
|
},
|
|
"maxItems": 50,
|
|
"default": []
|
|
},
|
|
"acceptance_criteria": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"maxLength": 1000
|
|
},
|
|
"minItems": 1,
|
|
"maxItems": 100
|
|
},
|
|
"implementation_plan": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"maxLength": 2000
|
|
},
|
|
"minItems": 1,
|
|
"maxItems": 100
|
|
},
|
|
"risks": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"maxLength": 1000
|
|
},
|
|
"maxItems": 50,
|
|
"default": []
|
|
},
|
|
"validation_commands": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"maxLength": 500
|
|
},
|
|
"minItems": 1,
|
|
"maxItems": 30
|
|
},
|
|
"risk_level": {
|
|
"type": "string",
|
|
"enum": [
|
|
"low",
|
|
"medium",
|
|
"high",
|
|
"destructive"
|
|
],
|
|
"default": "medium",
|
|
"description": "Classify execution risk. low/medium reversible work is policy-authorized automatically; high/destructive requires a real user decision before repository writes."
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"outputSchema": {
|
|
"type": "object"
|
|
},
|
|
"limits": {
|
|
"timeoutMs": 120000,
|
|
"maxOutputBytes": 262144,
|
|
"maxItems": 100
|
|
},
|
|
"redactionProfile": "documents",
|
|
"requiredScopes": [
|
|
"project:{project}:write"
|
|
]
|
|
}
|
|
}
|