Resolves a child task's graph, so task-scoped verbs authorize against the same owner.
Proves the parent is a WORKFLOW graph, not merely that the task has one.MJ: Tasks holds
conversation tasks and users' personal to-dos alongside workflow steps, and both of those can be
parented too — so "has a ParentID" is not "is a step of a workflow run". Without the type check
the ownership gate below is the only thing standing between these verbs and any parented row in
the table, and for an Owner-type caller that gate returns before loading anything. The guarded
statements carry the same discriminator as a second layer; this is the first.
Resolves a child task's graph, so task-scoped verbs authorize against the same owner.
Proves the parent is a WORKFLOW graph, not merely that the task has one.
MJ: Tasksholds conversation tasks and users' personal to-dos alongside workflow steps, and both of those can be parented too — so "has a ParentID" is not "is a step of a workflow run". Without the type check the ownership gate below is the only thing standing between these verbs and any parented row in the table, and for an Owner-type caller that gate returns before loading anything. The guarded statements carry the same discriminator as a second layer; this is the first.