18 lines
1.4 KiB
YAML
18 lines
1.4 KiB
YAML
{
|
|
"apiVersion": "hub.example.com/v1alpha1", "kind": "ToolManifest",
|
|
"metadata": {"name": "ProjectBrain Finding Investigation Save", "slug": "projectbrain-finding-investigation-save"},
|
|
"spec": {
|
|
"canonicalName": "projectbrain.finding.investigation.save", "version": "1.0.0", "connectorType": "projectbrain",
|
|
"description": "Persist a concise diagnosis, root cause, proposed changes, confidence and conclusion without changing repository files.",
|
|
"riskClass": "R2", "readOnly": false, "idempotent": true,
|
|
"inputSchema": {"type": "object", "properties": {
|
|
"project_id": {"type": "string", "minLength": 1}, "investigation_id": {"type": "string", "minLength": 1},
|
|
"diagnosis": {"type": "string", "minLength": 8, "maxLength": 12000}, "root_cause": {"type": "string", "minLength": 8, "maxLength": 12000},
|
|
"proposed_changes": {"type": "array", "items": {"type": "string", "maxLength": 2000}, "minItems": 1, "maxItems": 50},
|
|
"confidence": {"type": "integer", "minimum": 0, "maximum": 100}, "conclusion": {"type": "string", "minLength": 8, "maxLength": 8000}
|
|
}, "required": ["project_id", "investigation_id", "diagnosis", "root_cause", "proposed_changes", "confidence", "conclusion"], "additionalProperties": false},
|
|
"outputSchema": {"type": "object"}, "limits": {"timeoutMs": 30000, "maxOutputBytes": 262144, "maxItems": 50},
|
|
"redactionProfile": "documents", "requiredScopes": ["project:{project}:write"]
|
|
}
|
|
}
|