json icon

Commit Approval

v0.1.0commands

The ONLY execution path. A human click in the approval card approves (→ the write runs) or rejects a pending proposal. App-only — a compliant host never exposes it to the model.

1{
2  "$schema": "http://json-schema.org/draft-07/schema#",
3  "title": "CommitApproval",
4  "type": "object",
5  "properties": {
6    "proposalId": {
7      "type": "string",
8      "minLength": 1
9    },
10    "decision": {
11      "type": "string",
12      "enum": [
13        "approve",
14        "reject"
15      ]
16    },
17    "widgetToken": {
18      "type": "string",
19      "minLength": 1,
20      "description": "The per-card token from get_card_data"
21    },
22    "note": {
23      "type": "string"
24    },
25    "edits": {
26      "type": "object",
27      "description": "AR-collections only: subject/body edited at send",
28      "properties": {
29        "subject": {
30          "type": "string"
31        },
32        "body": {
33          "type": "string"
34        }
35      }
36    }
37  },
38  "required": [
39    "proposalId",
40    "decision",
41    "widgetToken"
42  ]
43}

Details

Format
JSON Schema
Resource
commands
Filename
schema.json

Versions