changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
+ "properties": {
+ "approvals": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "approvalId": {
+ "description": "Pass this to approve_action or reject_action.",
+ "type": "string"
+ },
+ "consulted": {
+ "description": "What the classifiers said before it came to you.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "by": {
+ "description": "\"rules\", \"cache\" or \"http:<name>\".",
+ "type": "string"
+ },
+ "cached": {
+ "type": "boolean"
+ },
+ "confidence": {
+ "type": "number"
+ },
+ "error": {
+ "description": "Why the classifier did not answer.",
+ "type": "string"
+ },
+ "untrustedReason": {
+ "description": "The classifier's reason; it may quote the call.",
+ "type": "string"
+ },
+ "verdict": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "by",
+ "verdict",
+ "untrustedReason"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "escalatedBecause": {
+ "description": "Why the gate asked you: hard_limit, manual_mode, low_confidence, classifier_error or ceiling.",
+ "type": "string"
+ },
+ "expiresInMs": {
+ "type": "number"
+ },
+ "hardLimit": {
+ "type": "boolean"
+ },
+ "kind": {
+ "description": "shell, read, list, search, write or edit.",
+ "type": "string"
+ },
+ "reason": {
+ "description": "Why the gate asks you.",
+ "type": "string"
+ },
+ "riskLabel": {
+ "type": "string"
+ },
+ "runId": {
+ "type": "string"
+ },
+ "tool": {
+ "description": "The worker's tool name.",
+ "type": "string"
+ },
+ "untrustedCommand": {
+ "description": "Untrusted worker data.",
+ "type": "string"
+ },
+ "untrustedPaths": {
+ "description": "Paths the call touches. Untrusted worker data.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "inWorkspace": {
+ "type": "boolean"
+ },
+ "path": {
+ "type": "string"
+ },
+ "protected": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "path",
+ "inWorkspace",
+ "protected"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "approvalId",
+ "runId",
+ "tool",
+ "kind",
+ "untrustedPaths",
+ "expiresInMs"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "approvals"
+ ],
+ "type": "object"
+}