messages listlengths 3 3 |
|---|
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type JOIN, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: JOIN\n\nCandidates:\n 1. INITIAL_TRIAGE (AGENT) [processor] → produces: severity_level, claim_category, estima... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type JOIN, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: JOIN\n\nCandidates:\n 1. FRAUD_SCREENING (SYSTEM) [processor] → produces: fraud_score, fraud_flags, capabiliti... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: BRANCH_3 (HUMAN)\nOutcome: failure\n\nState:\n goal_progress=0.40\n retry_count=1\... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: STEP_2 (AGENT)\nOutcome: retry\n\nState:\n goal_progress=0.67\n retry_count=0\n t... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: BRANCH_2 (AGENT)\nOutcome: retry\n\nState:\n goal_progress=0.50\n retry_count=1\n ... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type RETRY, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: RETRY\n\nCandidates:\n 1. STEP_3 (HUMAN) [processor] → produces: ctx_step_3, capabilities: produces_ctx,can_s... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: VERIFY_COMPLIANCE_V19 (SYSTEM)\nOutcome: success\n\nState:\n goal_progress=0.29\n ... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type JOIN, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: JOIN\n\nCandidates:\n 1. INITIAL_TRIAGE (AGENT) [processor] → produces: severity_level, claim_category, estima... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type NEXT, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: NEXT\n\nCandidates:\n 1. STEP_3 (HUMAN) [processor] → produces: ctx_step_3, capabilities: produces_ctx,can_suc... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type NEXT, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: NEXT\n\nCandidates:\n 1. BRANCH_1 (SYSTEM) [processor] → produces: ctx_b1, capabilities: produces_ctx,can_succ... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: BRANCH_3 (HUMAN)\nOutcome: retry\n\nState:\n goal_progress=0.40\n retry_count=0\n ... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type RETRY, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: RETRY\n\nCandidates:\n 1. STAGE_2 (AGENT) [retry_handler] → produces: ctx_stage2, capabilities: produces_ctx,... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type FORK, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: FORK\n\nCandidates:\n 1. APPROVE_WORK_V14 (AGENT) [gatekeeper] → produces: approval_status, capabilities: prod... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: STEP_5 (SYSTEM)\nOutcome: success\n\nState:\n goal_progress=1.00\n retry_count=0\n... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type NEXT, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: NEXT\n\nCandidates:\n 1. STEP_3 (HUMAN) [retry_handler] → produces: ctx_step3, capabilities: produces_ctx,can_... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: JOIN (SYSTEM)\nOutcome: success\n\nState:\n goal_progress=0.60\n retry_count=0\n ... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: STEP_2 (AGENT)\nOutcome: retry\n\nState:\n goal_progress=0.40\n retry_count=0\n t... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type NEXT, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: NEXT\n\nCandidates:\n 1. STEP_3 (HUMAN) [processor] → produces: ctx_step_3, capabilities: produces_ctx,can_suc... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type FORK, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: FORK\n\nCandidates:\n 1. STEP_5 (AGENT) [processor] → produces: ctx_step_5, capabilities: produces_ctx,can_suc... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type JOIN, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: JOIN\n\nCandidates:\n 1. INITIAL_TRIAGE (AGENT) [processor] → produces: severity_level, claim_category, estima... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: JOIN (SYSTEM)\nOutcome: success\n\nState:\n goal_progress=0.75\n retry_count=0\n ... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: DIAGNOSTIC_SCAN_V14 (DEVICE)\nOutcome: retry\n\nState:\n goal_progress=0.33\n retr... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: STAGE_2 (SYSTEM)\nOutcome: success\n\nState:\n goal_progress=0.20\n retry_count=0\... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type JOIN, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: JOIN\n\nCandidates:\n 1. STEP_2 (AGENT) [retry_handler] → produces: ctx_step_2, capabilities: produces_ctx,can... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: STEP_2 (AGENT)\nOutcome: failure\n\nState:\n goal_progress=0.67\n retry_count=0\n ... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type NEXT, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: NEXT\n\nCandidates:\n 1. NOTIFY_CUSTOMER_V11 (SYSTEM) [communicator] → produces: notif_id, capabilities: produ... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: APPOINTMENT_BOOKING (AGENT)\nOutcome: customer_declined\n\nState:\n goal_progress=0... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: BRANCH_2 (AGENT)\nOutcome: failure\n\nState:\n goal_progress=0.50\n retry_count=0\... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: STEP_1 (SYSTEM)\nOutcome: success\n\nState:\n goal_progress=0.17\n retry_count=0\n... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: BRANCH_4_STEP_2 (SYSTEM)\nOutcome: success\n\nState:\n goal_progress=0.27\n retry_... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: STEP_3 (HUMAN)\nOutcome: success\n\nState:\n goal_progress=0.60\n retry_count=0\n ... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: STEP_3 (HUMAN)\nOutcome: failure\n\nState:\n goal_progress=1.00\n retry_count=0\n ... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type FORK, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: FORK\n\nCandidates:\n 1. STEP_2 (AGENT) [processor] → produces: ctx_step_2, capabilities: produces_ctx,can_suc... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type JOIN, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: JOIN\n\nCandidates:\n 1. STEP_2 (AGENT) [retry_handler] → produces: ctx_step_2, capabilities: produces_ctx,can... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type NEXT, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: NEXT\n\nCandidates:\n 1. STEP_3 (HUMAN) [processor] → produces: ctx_step_3, capabilities: produces_ctx,can_suc... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type RETRY, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: RETRY\n\nCandidates:\n 1. STAGE_2 (AGENT) [retry_handler] → produces: ctx_stage2, capabilities: produces_ctx,... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type NEXT, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: NEXT\n\nCandidates:\n 1. STAGE_2 (AGENT) [processor] → produces: ctx_stage2, capabilities: produces_ctx,can_su... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: BRANCH_2 (AGENT)\nOutcome: retry\n\nState:\n goal_progress=0.40\n retry_count=0\n ... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type NEXT, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: NEXT\n\nCandidates:\n 1. STEP_2 (AGENT) [processor] → produces: ctx_step_2, capabilities: produces_ctx,can_suc... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: INTAKE (SYSTEM)\nOutcome: success\n\nState:\n goal_progress=0.17\n retry_count=0\n... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: TASK_1 (SYSTEM)\nOutcome: failure\n\nState:\n goal_progress=0.50\n retry_count=0\n... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: FINALIZE (AGENT)\nOutcome: retry\n\nState:\n goal_progress=0.67\n retry_count=0\n ... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: STEP_2 (SYSTEM)\nOutcome: authorization_failure\n\nState:\n goal_progress=0.50\n r... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: PATH_2 (AGENT)\nOutcome: success\n\nState:\n goal_progress=0.50\n retry_count=0\n ... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: BRANCH_3 (HUMAN)\nOutcome: retry\n\nState:\n goal_progress=0.40\n retry_count=1\n ... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: BRANCH_2 (AGENT)\nOutcome: failure\n\nState:\n goal_progress=0.50\n retry_count=1\... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type NEXT, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: NEXT\n\nCandidates:\n 1. STEP_3 (HUMAN) [processor] → produces: ctx_step_3, capabilities: produces_ctx,can_suc... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: CONVERGE (SYSTEM)\nOutcome: success\n\nState:\n goal_progress=0.50\n retry_count=0... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: INITIAL_TRIAGE (AGENT)\nOutcome: insufficient_info\n\nState:\n goal_progress=0.23\n... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: INITIAL_TRIAGE (AGENT)\nOutcome: insufficient_info\n\nState:\n goal_progress=0.23\n... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: FINALIZE (AGENT)\nOutcome: success\n\nState:\n goal_progress=0.57\n retry_count=1\... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: INITIAL_TRIAGE (AGENT)\nOutcome: insufficient_info\n\nState:\n goal_progress=0.23\n... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type NEXT, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: NEXT\n\nCandidates:\n 1. STEP_3 (HUMAN) [processor] → produces: ctx_step_3, capabilities: produces_ctx,can_suc... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type FORK, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: FORK\n\nCandidates:\n 1. STEP_3 (HUMAN) [processor] → produces: ctx_step_3, capabilities: produces_ctx,can_suc... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: STEP_5 (AGENT)\nOutcome: retry\n\nState:\n goal_progress=1.00\n retry_count=1\n t... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: STEP_2 (AGENT)\nOutcome: failure\n\nState:\n goal_progress=0.29\n retry_count=0\n ... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type RETRY, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: RETRY\n\nCandidates:\n 1. BRANCH_1 (SYSTEM) [retry_handler] → produces: ctx_b1, capabilities: produces_ctx,ca... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type NEXT, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: NEXT\n\nCandidates:\n 1. END_SUCCESS (SYSTEM) [terminator] → produces: none, capabilities: can_succeed,outcome... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type NEXT, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: NEXT\n\nCandidates:\n 1. SEND_THANK_YOU_SMS (SYSTEM) [communicator] → produces: customer_id, capabilities: pro... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: STEP_6 (HUMAN)\nOutcome: retry\n\nState:\n goal_progress=1.00\n retry_count=1\n t... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type JOIN, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: JOIN\n\nCandidates:\n 1. BRANCH_2 (AGENT) [retry_handler] → produces: ctx_b2, capabilities: produces_ctx,can_s... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type FORK, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: FORK\n\nCandidates:\n 1. STEP_5 (AGENT) [retry_handler] → produces: ctx_step_5, capabilities: produces_ctx,can... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type NEXT, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: NEXT\n\nCandidates:\n 1. VEHICLE_RECEPTION (HUMAN) [processor] → produces: vehicle_id, customer_id, sla: 10min... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type NEXT, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: NEXT\n\nCandidates:\n 1. PATH_A (SYSTEM) [processor] → produces: ctx_patha, capabilities: produces_ctx,can_suc... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type JOIN, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: JOIN\n\nCandidates:\n 1. FINALIZE (AGENT) [retry_handler] → produces: ctx_final, capabilities: produces_ctx,ca... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: BRANCH_2 (AGENT)\nOutcome: retry\n\nState:\n goal_progress=0.50\n retry_count=0\n ... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type RETRY, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: RETRY\n\nCandidates:\n 1. INSPECT_CONDITION_V3 (HUMAN) [retry_handler] → produces: condition_report, capabili... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type RETRY, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: RETRY\n\nCandidates:\n 1. BRANCH_1_STEP_2 (SYSTEM) [processor] → produces: ctx_b1_s2, capabilities: produces_... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type JOIN, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: JOIN\n\nCandidates:\n 1. INITIAL_TRIAGE (AGENT) [processor] → produces: severity_level, claim_category, estima... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type NEXT, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: NEXT\n\nCandidates:\n 1. STEP_4 (SYSTEM) [retry_handler] → produces: ctx_step4, capabilities: produces_ctx,can... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type NEXT, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: NEXT\n\nCandidates:\n 1. SENSOR_READING_V10 (DEVICE) [processor] → produces: sensor_data, capabilities: produc... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type JOIN, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: JOIN\n\nCandidates:\n 1. FINALIZE (AGENT) [retry_handler] → produces: ctx_final, capabilities: produces_ctx,ca... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type JOIN, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: JOIN\n\nCandidates:\n 1. BRANCH_2 (AGENT) [retry_handler] → produces: ctx_b2, capabilities: produces_ctx,can_s... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type NEXT, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: NEXT\n\nCandidates:\n 1. STEP_3 (HUMAN) [processor] → produces: ctx_step3, capabilities: produces_ctx,can_succ... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type RETRY, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: RETRY\n\nCandidates:\n 1. STEP_5 (AGENT) [retry_handler] → produces: ctx_step_5, capabilities: produces_ctx,c... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type FORK, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: FORK\n\nCandidates:\n 1. BRANCH_1_STEP_1 (SYSTEM) [processor] → produces: ctx_b1_s1, capabilities: produces_ct... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: INITIAL_TRIAGE (AGENT)\nOutcome: insufficient_info\n\nState:\n goal_progress=0.23\n... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type NEXT, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: NEXT\n\nCandidates:\n 1. AUTOMATED_ASSESSMENT_V15 (SYSTEM) [processor] → produces: auto_score, capabilities: p... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: STAGE_6 (SYSTEM)\nOutcome: success\n\nState:\n goal_progress=0.86\n retry_count=0\... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type NEXT, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: NEXT\n\nCandidates:\n 1. STEP_3 (HUMAN) [processor] → produces: ctx_step3, capabilities: produces_ctx,can_succ... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type NEXT, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: NEXT\n\nCandidates:\n 1. AUTOMATED_TEST_V17 (SYSTEM) [processor] → produces: test_result, capabilities: produc... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type JOIN, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: JOIN\n\nCandidates:\n 1. INITIAL_TRIAGE (AGENT) [processor] → produces: severity_level, claim_category, estima... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type NEXT, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: NEXT\n\nCandidates:\n 1. END_SUCCESS (SYSTEM) [terminator] → produces: none, capabilities: can_succeed,outcome... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: COMPLETE (SYSTEM)\nOutcome: success\n\nState:\n goal_progress=0.80\n retry_count=0... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type NEXT, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: NEXT\n\nCandidates:\n 1. STEP_2 (AGENT) [processor] → produces: ctx_step2, capabilities: produces_ctx,can_succ... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: STEP_1 (SYSTEM)\nOutcome: data_corruption_detected\n\nState:\n goal_progress=0.20\n... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: INITIAL_TRIAGE (AGENT)\nOutcome: insufficient_info\n\nState:\n goal_progress=0.23\n... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: BRANCH_3 (HUMAN)\nOutcome: retry\n\nState:\n goal_progress=0.40\n retry_count=0\n ... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type NEXT, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: NEXT\n\nCandidates:\n 1. END_FAIL (SYSTEM) [terminator] → produces: none, capabilities: can_succeed,outcome_su... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: STEP_1 (SYSTEM)\nOutcome: success\n\nState:\n goal_progress=0.33\n retry_count=0\n... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: PATH_B (SYSTEM)\nOutcome: success\n\nState:\n goal_progress=0.67\n retry_count=0\n... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type NEXT, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: NEXT\n\nCandidates:\n 1. TASK_1 (SYSTEM) [processor] → produces: ctx_task1, capabilities: produces_ctx,can_suc... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type NEXT, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: NEXT\n\nCandidates:\n 1. BRANCH_1_STEP_1 (SYSTEM) [processor] → produces: ctx_b1_s1, capabilities: produces_ct... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type NEXT, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: NEXT\n\nCandidates:\n 1. DIAGNOSIS_CONCLUSION_V10 (HUMAN) [processor] → produces: diagnosis_result, capabiliti... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the decision type FORK, select the node(s) to execute from the candidates."
},
{
"role": "user",
"content": "Decision: FORK\n\nCandidates:\n 1. STEP_5 (AGENT) [processor] → produces: ctx_step_5, capabilities: produces_ctx,can_suc... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: STEP_2 (AGENT)\nOutcome: success\n\nState:\n goal_progress=0.40\n retry_count=0\n ... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: STEP_1 (SYSTEM)\nOutcome: external_dependency_missing\n\nState:\n goal_progress=0.1... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: BRANCH_3 (HUMAN)\nOutcome: retry\n\nState:\n goal_progress=0.40\n retry_count=0\n ... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: START (SYSTEM)\nOutcome: success\n\nState:\n goal_progress=0.20\n retry_count=0\n ... |
[
{
"role": "system",
"content": "You are a workflow planner. Given the current workflow state, eligible nodes, and topology information, classify the decision type."
},
{
"role": "user",
"content": "Current node: BRANCH_2 (AGENT)\nOutcome: failure\n\nState:\n goal_progress=0.50\n retry_count=0\... |
SLM Workflow Planner — Policy-Corrected Instruction Tuning Dataset (v2)
Overview
High-quality instruction-tuning dataset for training a Small Language Model (SLM) to serve as a workflow execution planner. The model learns to make policy-aware decisions about workflow transitions: when to proceed (NEXT), retry (RETRY), parallelize (FORK), synchronize (JOIN), or escalate (META).
Key Features
- 648K instruction pairs across 2 stages (decision type + node selection)
- Policy-corrected labels: FORK/JOIN/META decisions are conditioned on state signals (resource pressure, parallel activity, goal progress, uncertainty), not just topology flags
- Counterfactual negatives: Scenarios where topology suggests FORK/JOIN but state signals dictate NEXT — teaching the model true policy boundaries
- 89 diverse workflow graphs across 8 structural families + 2 semantic workflows
- Balanced decision distribution: NEXT ~36%, JOIN ~27%, META ~13%, FORK ~12%, RETRY ~12%
Dataset Structure
Each sample is a chat-completion format message with 3 roles:
{
"messages": [
{"role": "system", "content": "You are a workflow planner..."},
{"role": "user", "content": "Current node: ... State: ... Eligible: ..."},
{"role": "assistant", "content": "FORK"}
]
}
Stage 1: Decision Type Classification
Given current node, outcome, state signals, eligible nodes, forkable sets, and
join-ready nodes → predict one of: NEXT, RETRY, FORK, JOIN, META
Stage 2: Node Selection
Given the decision type and candidates → select which node(s) to execute
State Signals
Each sample includes realistic state signals:
goal_progress(0→1): How close to workflow completionretry_count/total_retries: Retry budget trackingparallel_active/parallel_depth: Current parallelism stateresource_pressure(0→1): System load indicatorsla_pressure(0→1): Deadline urgencyuncertainty_level(0→1): Confidence in current pathcost_accrued: Cumulative cost so farescalation_count: Number of escalations triggered
Policy Boundaries (What Makes This Dataset Special)
Unlike naive topology-based labeling, this dataset includes:
| Scenario | Topology says | State says | Label |
|---|---|---|---|
| Forkable set present + high resource pressure | FORK | Don't parallelize | NEXT |
| Forkable set present + already parallel | FORK | Already forked | NEXT |
| Join-ready + low goal progress | JOIN | Too early | NEXT |
| Anomaly outcome + high uncertainty | NEXT | Escalate | META |
These counterfactual samples are critical for learning policy vs topology.
Workflow Families
Generated from 89 workflows spanning:
- Linear with optional exits
- Retry loops
- Fork-Join patterns
- OR-alternative paths
- Escalation ladders
- Partial (k-of-n) joins
- Conditional irreversible branches
- Long horizon workflows
- Semantic parallel (Insurance Claim)
- Semantic join patterns
Intended Use
Fine-tuning SLMs (3B–7B) with LoRA for workflow planning tasks.
Tested with: Qwen/Qwen2.5-7B-Instruct
Splits
| Split | Samples |
|---|---|
| Train | 583,504 |
| Valid | 32,417 |
| Test | 32,417 |
| Total | 648,338 |
Citation
Part of the Agentic Factory project — building autonomous workflow orchestration with SLM-powered planning.
- Downloads last month
- 31