{ "apiVersion": "hub.example.com/v1alpha1", "kind": "ToolManifest", "metadata": { "name": "ProjectBrain Delivery Merge", "slug": "projectbrain-delivery-merge" }, "spec": { "canonicalName": "projectbrain.delivery.merge", "version": "1.2.0", "connectorType": "projectbrain", "description": "Merge an approved pull-request delivery after exact-head and Gitea Actions verification, then reconcile and optionally clean up its branch.", "riskClass": "R2", "readOnly": false, "idempotent": true, "inputSchema": { "type": "object", "required": [ "project_id", "delivery_id", "expected_head_sha" ], "properties": { "project_id": { "type": "string", "minLength": 1 }, "delivery_id": { "type": "string", "minLength": 1 }, "expected_head_sha": { "type": "string", "pattern": "^[0-9a-f]{40,64}$" }, "method": { "type": "string", "enum": [ "merge", "rebase", "rebase-merge", "squash", "fast-forward-only" ], "default": "squash" }, "delete_branch": { "type": "boolean", "default": true } }, "additionalProperties": false }, "outputSchema": { "type": "object" }, "limits": { "timeoutMs": 120000, "maxOutputBytes": 262144, "maxItems": 1 }, "redactionProfile": "documents", "requiredScopes": [ "project:{project}:write" ] } }