You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/gateway/protocol.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -454,7 +454,7 @@ enumeration of `src/gateway/server-methods/*.ts`.
454
454
- `exec.approval.waitDecision` waits on one pending exec approval and returns the final decision (or `null` on timeout).
455
455
- `exec.approvals.get` and `exec.approvals.set` manage gateway exec approval policy snapshots.
456
456
- `exec.approvals.node.get` and `exec.approvals.node.set` manage node-local exec approval policy via node relay commands.
457
-
- `plugin.approval.request`, `plugin.approval.list`, `plugin.approval.waitDecision`, and `plugin.approval.resolve` cover plugin-defined approval flows.
457
+
- `plugin.approval.request`, `plugin.approval.list`, `plugin.approval.waitDecision`, and `plugin.approval.resolve` cover plugin-defined approval flows. `plugin.approval.resolveVerified` is an admin-scoped resolver for plugin-owned proof flows.
458
458
459
459
</Accordion>
460
460
@@ -606,6 +606,10 @@ terminal summary, and sanitized error text.
606
606
607
607
- When an exec request needs approval, the gateway broadcasts `exec.approval.requested`.
608
608
- Operator clients resolve by calling `exec.approval.resolve` (requires `operator.approvals` scope).
609
+
- Plugin approvals may restrict generic allow decisions with `allowedDecisions`.
610
+
Plugin-owned proof flows that verify outside the generic approval client can
611
+
resolve through `plugin.approval.resolveVerified` with `operator.admin` scope
612
+
after checking the proof.
609
613
- For `host=node`, `exec.approval.request` must include `systemRunPlan` (canonical `argv`/`cwd`/`rawCommand`/session metadata). Requests missing `systemRunPlan` are rejected.
610
614
- After approval, forwarded `node.invoke system.run` calls reuse that canonical
611
615
`systemRunPlan` as the authoritative command/cwd/session context.
0 commit comments