approval/updated
A non-terminal approval record changed the pending view.
Parameters
Section titled “Parameters”Type: ApprovalUpdatedParams
approval/updated params: the refreshed pending view plus one change.
| Field | Type | Stability | Presence | Description |
|---|---|---|---|---|
approvalId |
string |
required | The approval that changed. | |
availableChoices |
ApprovalChoice[] | required | The refreshed choices for the current requirement. | |
change |
ApprovalChange | required | What changed; change.kind names the kind of change. |
|
currentRequirementId |
ApprovalRequirementRef | required | The requirement the next decision must target after this change; send it as requirementId in approval/decide. |
|
sessionId |
string |
required | The owning session. | |
sourceRange |
SourceRange | required | The stored records this event was folded from: an opaque token clients must not interpret. | |
subagentOrigin |
ApprovalSubagentOrigin | optional | Present only for a child (native subagent) approval projected onto the parent session’s plane (ADR 36182); parent-own approvals omit it. | |
subject |
ApprovalSubject | required | The approval’s subject, with stages refreshed for this change. |
|
viewCursor |
string |
required | This event’s view cursor: opaque, and strictly increasing within the session. |
Source
schema/msp/experimental/msp.schema.json#/notifications/approval~2Fupdated
{ "description": "A non-terminal approval record changed the pending view.", "params": { "$ref": "#/$defs/ApprovalUpdatedParams" }}