rulvar API reference / @rulvar/plan / EnginePlanOp
Type Alias: EnginePlanOp
ts
type EnginePlanOp =
| {
cause: "child-result" | "no-progress" | "park-landed" | "cancel-landed";
causeRef: EntryRef;
checkpointRef?: EntryRef;
from: PlanNodeStatus;
kind: "set_node_status";
nodeId: NodeId;
to: PlanNodeStatus;
}
| {
decision: EscalationDecision;
escalationRef: EntryRef;
kind: "resolve_escalation";
nodeId: NodeId;
resolvedBy: "default" | "class" | "live" | "revision-transform";
}
| {
admission: AdmissionDecision;
kind: "spawn_admitted";
nodes: {
logicalTaskId: LogicalTaskId;
nodeId: NodeId;
spec: TaskSpec;
}[];
};Defined in: packages/plan/src/plan-entries.ts:177
The closed EnginePlanOp set.
Union Members
Type Literal
ts
{
cause: "child-result" | "no-progress" | "park-landed" | "cancel-landed";
causeRef: EntryRef;
checkpointRef?: EntryRef;
from: PlanNodeStatus;
kind: "set_node_status";
nodeId: NodeId;
to: PlanNodeStatus;
}| Name | Type | Description | Defined in |
|---|---|---|---|
cause | "child-result" | "no-progress" | "park-landed" | "cancel-landed" | - | packages/plan/src/plan-entries.ts:183 |
causeRef | EntryRef | - | packages/plan/src/plan-entries.ts:184 |
checkpointRef? | EntryRef | The retained checkpoint anchor recorded at park landing (M7-T08). | packages/plan/src/plan-entries.ts:186 |
from | PlanNodeStatus | - | packages/plan/src/plan-entries.ts:181 |
kind | "set_node_status" | - | packages/plan/src/plan-entries.ts:179 |
nodeId | NodeId | - | packages/plan/src/plan-entries.ts:180 |
to | PlanNodeStatus | - | packages/plan/src/plan-entries.ts:182 |
Type Literal
ts
{
decision: EscalationDecision;
escalationRef: EntryRef;
kind: "resolve_escalation";
nodeId: NodeId;
resolvedBy: "default" | "class" | "live" | "revision-transform";
}Type Literal
ts
{
admission: AdmissionDecision;
kind: "spawn_admitted";
nodes: {
logicalTaskId: LogicalTaskId;
nodeId: NodeId;
spec: TaskSpec;
}[];
}