Skip to content

ADR 0003: Worker Deterministic Executor

This ADR preserves the shipped decision that workers are deterministic executors, not global planners or schedulers.

Context

The current system proves the control plane with bounded worker behavior and fake or worker-private runtime fixtures. Workers need enough authority to validate, execute, project, report, and cancel assigned task work. They do not need authority to invent mission tasks, reorder dependency edges, or choose the global dispatch sequence.

Keeping workers deterministic also keeps validation surfaces stable before hardware or broader real-runtime variability is introduced.

Decision

Workers are deterministic executors. They execute assigned atomic TaskNodes and report lifecycle state back to the orchestrator. They do not invent tasks, reorder dependencies, mutate the mission DAG, or perform global scheduling.

Worker-local runtime adaptation remains bounded behind worker-owned execution services and private MCP operation adapters.

Status

Shipped decision record originally captured for an earlier public documentation baseline.

Shipped. This decision is active for worker behavior in the current OMEGA control plane and must be preserved unless superseded by a later ADR.

Consequences

  • Worker behavior remains deterministic with fake runtimes and bounded fixtures.
  • The orchestrator remains the global scheduling and mission-artifact authority.
  • Worker-private runtime services can support execution without becoming public worker agents or mission authorities.
  • Hardware, ROS, VLA, and broader real-runtime integration remain outside the current shipped control-plane validation until explicitly promoted.

Preserved In

Surface Path
Design docs docs/design/system-model.md, docs/design/task-graph-lifecycle.md, docs/design/mission-runtime.md
Worker execution source apps/worker_agent/src/omega_worker_agent/execution/
Worker-private MCP source apps/worker_agent/src/omega_worker_agent/mcp/config.py, apps/worker_agent/src/omega_worker_agent/mcp/execution_adapter.py, apps/worker_agent/src/omega_worker_agent/mcp/operation.py, apps/worker_agent/src/omega_worker_agent/mcp/operation_projector.py, external/lerobot_lab/deploy/lift2/omega_runtime/
Contract source packages/contracts/src/omega_contracts/worker_execution.py (WorkerExecutionReport) and packages/contracts/src/omega_contracts/

Supersession Rule

Future work that changes this decision must add a superseding ADR and update the preserved source and docs references in the same change.

Do not silently drift source, docs, or runbooks away from this record.

Source Of Truth

Concern Source-owned truth
Deterministic worker design docs/design/system-model.md, docs/design/task-graph-lifecycle.md, docs/design/mission-runtime.md
Worker execution authority apps/worker_agent/src/omega_worker_agent/execution/
Worker-private runtime seam apps/worker_agent/src/omega_worker_agent/mcp/config.py, apps/worker_agent/src/omega_worker_agent/mcp/execution_adapter.py, apps/worker_agent/src/omega_worker_agent/mcp/operation.py, apps/worker_agent/src/omega_worker_agent/mcp/operation_projector.py, external/lerobot_lab/deploy/lift2/omega_runtime/
Task and worker contracts packages/contracts/src/omega_contracts/, especially packages/contracts/src/omega_contracts/worker_execution.py (WorkerExecutionReport)

Out Of Scope

  • Worker-owned global planning, dependency reordering, or mission DAG mutation.
  • Treating downstream worker-private MCP task state as northbound mission truth.
  • Real robot, ROS, VLA, or hardware-runtime integration as current shipped behavior.
  • Runtime-phase replanning after dispatch.