Skip to content
Developer Preview

ApprovalSubagentOrigin

Child (native subagent) provenance for an approval projected onto the PARENT session’s approval plane: identifies the originating child run/agent so a client can attribute the prompt. Omitted (skip_serializing_if) on the parent’s own approvals, so pre-existing parent frames stay byte-identical.

  • childRunId
  • childSessionId
  • subagentId
Source

schema/msp/experimental/msp.schema.json#/types/ApprovalSubagentOrigin

{
"description": "Child (native subagent) provenance for an approval projected onto the\nPARENT session's approval plane: identifies the\noriginating child run/agent so a client can attribute the prompt. Omitted\n(`skip_serializing_if`) on the parent's own approvals, so pre-existing\nparent frames stay byte-identical.",
"properties": {
"childRunId": {
"description": "The child run that parked on this approval.",
"type": "string"
},
"childSessionId": {
"description": "The child session stream id whose records carry this approval.",
"type": "string"
},
"subagentId": {
"description": "The originating child's subagent id, from the parent session's\ndurable subagent control records.",
"type": "string"
}
},
"required": [
"childRunId",
"childSessionId",
"subagentId"
],
"type": "object"
}