{ "apiVersion": "hub.example.com/v1alpha1", "kind": "ToolManifest", "metadata": { "name": "ProjectBrain Memory Save", "slug": "projectbrain-memory-save" }, "spec": { "canonicalName": "projectbrain.memory.save", "version": "1.2.0", "connectorType": "projectbrain", "description": "Save a reviewable project memory or do-not-break rule.", "riskClass": "R2", "readOnly": false, "idempotent": false, "inputSchema": { "type": "object", "required": [ "project_id", "title", "rule" ], "properties": { "project_id": { "type": "string", "minLength": 1 }, "title": { "type": "string", "minLength": 3, "maxLength": 160 }, "rule": { "type": "string", "minLength": 3, "maxLength": 8000 }, "scope": { "type": "string", "enum": [ "global", "module", "feature", "prompt_only" ], "default": "global" }, "category": { "type": "string", "enum": [ "UX", "Technical", "Architecture", "Do Not Break", "Naming", "Workflow", "Security" ], "default": "Technical" }, "severity": { "type": "string", "enum": [ "info", "important", "critical", "do_not_break" ], "default": "important" } }, "additionalProperties": false }, "outputSchema": { "type": "object" }, "limits": { "timeoutMs": 120000, "maxOutputBytes": 262144, "maxItems": 100 }, "redactionProfile": "documents", "requiredScopes": [ "project:{project}:write" ] } }