Atomic Tasks Beat Wait Nodes in Robot Mission Graphs
Why OMEGA models robot missions as atomic TaskNodes with dependency edges instead of encoding waits, barriers, or pauses as fake worker tasks.
Long-horizon robot missions are full of waiting. A robot may need another robot to finish a pickup. A manipulation task may need a base movement to complete first. A delivery sequence may need an upstream selection result before a package can be placed.
The easy modeling move is to turn those moments into tasks: wait_for_robot, wait_for_package, wait_until_clear, barrier_before_assembly. The graph looks explicit, and every edge appears to have a node. But that shape puts scheduler state into the worker task stream. In OMEGA, that is the wrong boundary.
OMEGA models mission work as atomic TaskNodes with dependency edges. Waiting belongs to the orchestrator runtime loop. Workers receive executable assigned work, not scheduler intent disguised as work.
Design rule: A wait condition is not a worker task. If a node cannot be accepted and executed as assigned atomic work, it probably does not belong in the worker dispatch stream.
The temptation to model waiting as work
Wait nodes feel attractive because they make invisible scheduling behavior visible in the graph. They can also make simple demos easier to explain: first robot A does something, then a wait node happens, then robot B continues.
That convenience has a cost. A wait node has no robot-side outcome except "the scheduler condition became true." To execute it, some component must inspect global mission state, observe other tasks, hold a dependency barrier, or poll a condition that does not belong to a single worker.
If the orchestrator owns that condition, sending it to a worker is unnecessary. If the worker owns that condition, the worker has gained global scheduling authority. Both outcomes weaken the system.
A worker should not need to answer questions like:
- Did every upstream task in the graph succeed?
- Is another worker still active?
- Has a lock held by another task been released?
- Is a referenced task output now materialized?
- Should this graph branch continue?
Those are mission runtime questions. They belong in the orchestrator.
TaskNode as the dispatchable unit
In OMEGA, TaskNode is the atomic unit of executable work. It is narrow on purpose. It carries public task identity, mission identity, skill_id, assigned worker, slot values, rendered instruction, dependency identifiers, timeout, and retry policy.
That shape has an important test: after the orchestrator resolves dispatch-time inputs, the worker should be able to validate the assigned node and decide whether to accept execution without reading the global graph.
Atomic does not mean tiny. A task can still be long-running, robot-backed, and internally complex. A manipulation task may involve observations, model inference, local runtime managers, and side-effect control. A base task may validate dependencies, prepare commands, and report progress. What makes it atomic is not its duration. It is the ownership boundary: one worker receives one assigned unit of work and reports lifecycle back.
Wait nodes fail that test. They represent scheduling conditions, not executable robot work.
Dependencies are scheduler state, not worker instructions
Dependencies are still first-class. They just live in the right place.
The task graph can say that one task depends on another. The orchestrator runtime can keep task state, observe reports, and compute which nodes are ready. A dependency edge is enough to say "do not dispatch this until that succeeded." It does not require a worker-visible task called "wait."
This distinction matters most when multiple robots collaborate. A two-robot workflow can include independent tasks, converging dependencies, and synchronized next steps without inventing a public barrier task. The orchestrator can see that both upstream tasks succeeded, then release the next ready set.
The worker only sees the node it is assigned. It does not need to know whether the node was delayed because of a dependency, a lock, another active worker, or an unresolved upstream output. By the time it receives the task, the task should be ready.
Ready-set scheduling
The ready-set scheduler is the component that turns a persisted task graph into dispatch decisions. Its job is to find every task that can run now without violating mission constraints.
At a high level, a task becomes ready when:
| Constraint | Scheduler question |
|---|---|
| Dependencies | Have all upstream tasks succeeded? |
| Worker activity | Is the assigned worker free for new work? |
| Locks | Would this task conflict with an active task resource? |
| Status | Is this task still pending or retryable? |
That is scheduler work. It is not robot work.
Keeping the ready-set logic central has two practical benefits. First, dispatch is explainable: a node ran because its dependencies were complete and no active constraint blocked it. Second, retries and failures stay coherent: the orchestrator can apply retry policy and terminal mission state without asking workers to reinterpret the graph.
If wait nodes existed, they would compete with this logic. The graph would contain both dependency edges and dependency-shaped tasks, which creates two sources of truth.
Task-output references resolve before dispatch
Some missions need data produced by earlier tasks. For example, an upstream task can produce a selected destination, and a later task can consume that destination as a slot value.
OMEGA handles that with task-output references in the task graph and orchestrator-side materialization before dispatch. The reference can exist while the graph is still waiting. Once the upstream output is available and the dependent task becomes ready, the orchestrator resolves the reference into a literal slot value.
The worker receives only literal slots.
That rule keeps workers focused on assigned execution. A worker should not need to fetch global artifacts, chase upstream task outputs, or decide whether a reference is ready. It should validate the assigned task, execute the public skill through its private runtime path, and report.
This also makes operator evidence cleaner. The system can record that a slot was resolved from a specific upstream output without moving that resolution into the worker-private runtime.
Why workers should not reorder or invent DAG work
A worker is allowed to be sophisticated inside its assigned task. It can manage local queues, private operations, progress, cancellation, and robot-specific dependencies. It should not, however, invent new global tasks, reorder mission dependencies, or create hidden branches in the mission graph.
If a worker can decide that a wait is complete, then it must know what is being waited on. If it can schedule the next piece of work, then it is no longer just executing an assigned task. It has become another control plane.
That is exactly what OMEGA avoids. The orchestrator owns graph truth and scheduling. Workers own assigned execution. A2A carries the assigned work and lifecycle reports between them. Worker-private MCP handles local robot tooling below the worker boundary.
The result is less magical, but much easier to reason about. There is one place to ask why a task was ready. There is one place to apply retry policy. There is one durable task graph for mission reads. Workers remain assigned executors, not hidden planners.
Takeaways
- Waiting is a scheduling condition, not worker-executable work.
TaskNodeshould represent atomic assigned work that one worker can accept and report.- Dependency edges are enough to hold work until upstream tasks succeed.
- Task-output references should be materialized before worker dispatch.
- Workers can own local runtime complexity without owning global DAG authority.