ADR 0005: Worker-Private Downstream Runtime¶
This ADR preserves the shipped decision that downstream runtime services are worker-private dependencies, not public A2A agents or orchestrator dispatch targets.
Context¶
The shipped execution path is orchestrator -> worker -> worker-private runtime.
The orchestrator owns mission planning, scheduling, dispatch, and artifacts.
Workers own assigned task execution. Downstream runtimes support worker-local
execution through worker-private protocol adapters, but they do not publish
Agent Cards, participate in worker discovery, or become scheduler targets.
If the orchestrator calls downstream runtimes directly, or if runtime services become public A2A participants, the worker execution boundary is bypassed and mission authority splits across a second execution surface.
Decision¶
OMEGA preserves downstream runtimes as worker-private dependencies. Workers create, observe, and cancel downstream work through worker-owned private operations. The orchestrator continues to dispatch and observe work only through the worker A2A boundary.
Runtime service routes, private task stores, runner profiles, readiness probes, auth material, trace headers, and raw diagnostics belong below worker authority. They are not public worker surfaces.
Status¶
Shipped decision record originally captured for an earlier public documentation baseline.
Shipped. This decision is active for the worker-to-runtime execution path and must be preserved unless superseded by a later ADR.
Current Status¶
Current worker-private MCP routing preserves this decision instead of superseding
it. The LIFT2 MCP server under
external/lerobot_lab/deploy/lift2/omega_runtime/ remains below worker
authority. Public execution identity stays at worker, skill, task, attempt,
WorkerExecutionReport, and explicit output_mapping levels, while the private
Starlette shell, private Streamable HTTP MCP transport, private auth, MCP task
IDs, tool names, runner presets, endpoints, trace headers, models, checkpoints,
keys, paths, and raw diagnostics remain private.
Historical bridge material is retained only as retired context for why this
boundary exists. The shipped path now uses worker mcp_config_path, private
mcp_skill_implementations[skill_id], worker-owned MCP operations, MCP SDK
low-level Server task support, MCP notifications/progress, and the
worker-private LIFT2 MCP transport.
Current details are routed through Worker-Private OMEGA Runtime Boundary, LIFT2 MCP Server, Routes Reference, and Config Surfaces.
Consequences¶
- Worker execution remains the only public task execution authority.
- Worker-owned MCP operation snapshots are projected into worker task records and reports before they affect mission state.
- Worker/LIFT2 MCP validation stays routed through worker-private MCP config and source-owned deploy runbooks without exposing downstream runtimes northbound.
- Future runtime integration must preserve worker ownership or supersede this decision explicitly.
Preserved In¶
| Surface | Path |
|---|---|
| Design docs | docs/design/mission-runtime.md, docs/design/authority-boundaries.md, docs/design/a2a-boundary.md, docs/design/worker-private-omega-runtime-boundary.md |
| Component docs | docs/components/worker-agent.md, docs/components/runtime-service.md, docs/reference/routes.md, docs/reference/config-surfaces.md |
| Worker source | apps/worker_agent/src/omega_worker_agent/execution/worker_service.py, 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 |
| Worker-private LIFT2 MCP source | external/lerobot_lab/deploy/lift2/omega_runtime/, external/lerobot_lab/deploy/lift2/run_omega_runtime.sh |
| Worker-private kitchen MCP mappings | deploy/worker-private/lift2/kitchen/ |
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 |
|---|---|
| Mission runtime design | docs/design/mission-runtime.md, docs/design/authority-boundaries.md |
| Worker-private runtime component docs | docs/components/runtime-service.md, docs/reference/routes.md, docs/reference/config-surfaces.md |
| Worker execution source | apps/worker_agent/src/omega_worker_agent/execution/worker_service.py, 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 |
| Worker-private LIFT2 MCP source | external/lerobot_lab/deploy/lift2/omega_runtime/app.py, external/lerobot_lab/deploy/lift2/omega_runtime/mcp_server.py, external/lerobot_lab/deploy/lift2/omega_runtime/mcp_runner_adapter.py, external/lerobot_lab/deploy/lift2/omega_runtime/mcp_lifecycle.py, external/lerobot_lab/deploy/lift2/omega_runtime/readiness.py, external/lerobot_lab/deploy/lift2/omega_runtime/registry.py, external/lerobot_lab/deploy/lift2/omega_runtime/runners/, external/lerobot_lab/deploy/lift2/run_omega_runtime.sh |
| Worker-private OMEGA boundary | docs/design/worker-private-omega-runtime-boundary.md, external/lerobot_lab/deploy/lift2/omega_runtime/ |
| Worker-private kitchen MCP mappings | deploy/worker-private/lift2/kitchen/ |
Out Of Scope¶
- Direct orchestrator-to-downstream-runtime calls.
- Publishing downstream runtime services as Agent Card owners, discovery targets, or scheduler targets.
- Copying private runtime route payloads, runtime snapshot schemas,
traceparent/tracestateheaders, or compose service definitions into docs as canonical truth. - Treating downstream worker-private task state as northbound mission truth.
- Presenting mission-level realtime transport behavior as current shipped runtime behavior.