Routes¶
This page is the source-owned reference index for shipped route surfaces and route clients. It separates northbound orchestrator routes, orchestrator-to-worker A2A client behavior, worker public A2A routes, shared public route constants, and the worker-private LIFT2 MCP route.
Current Boundary¶
The orchestrator is A2A-only with respect to workers. It submits missions, reads mission state, discovers A2A workers, dispatches assigned atomic tasks, observes worker task state, and sends worker cancel requests through the public worker A2A edge.
Each worker agent owns private MCP implementation resolution and calls the LIFT2 MCP server over private Streamable HTTP MCP transport. The LIFT2 MCP server owns method negotiation, short selected-layer decisions, task-backed execution, task reads, terminal result reads, and cancellation for side-effecting VLA and procedural operations. LIFT2 service-shell liveness and readiness remain private worker-side runtime checks.
Index¶
| Route surface | Owner | Retrieval pointers |
|---|---|---|
| Mission submit and mission reads | Orchestrator | apps/orchestrator/src/omega_orchestrator/mission_api.py defines the mission router; omega_orchestrator.services.mission_reads.MissionReadService is the stable facade over split read-model internals for mission list, lightweight state, fragment diagnostics, and the canonical operator-read-model route. |
| Operator-private submit stream | Orchestrator | POST /operator/mission-submit-stream in apps/orchestrator/src/omega_orchestrator/mission_api.py is loopback/operator-console gated, hidden from OpenAPI, and returns MissionSubmitStreamEvent NDJSON from apps/orchestrator/src/omega_orchestrator/services/mission_submit_stream.py. |
| Public planning read | Orchestrator | GET /missions/{mission_id}/planning in apps/orchestrator/src/omega_orchestrator/mission_api.py returns PublicMissionPlanningView through MissionReadService.load_public_planning_view_result, projecting planning_trace without exposing private raw planner debug sidecars. |
| Terminal operator visibility | Orchestrator | GET /missions/{mission_id}/operator-read-model returns the MissionOperatorReadModel consumed by the terminal mission monitor. |
| Orchestrator FastAPI shell | Orchestrator | apps/orchestrator/src/omega_orchestrator/app.py creates the FastAPI app, wires services, instruments observability, and includes the mission router. |
| Worker discovery, gate inspection, dispatch, observation, and cancel client | Orchestrator | WorkerA2AClient in apps/orchestrator/src/omega_orchestrator/clients/worker_a2a_client.py owns the orchestrator side of the public worker boundary. |
| Agent Card build, parse, and projection | Worker boundary | omega_worker_boundary.agent_card in packages/worker_boundary/src/omega_worker_boundary/agent_card.py builds public Agent Cards from boundary-owned public facts and parses/projects observed Agent Cards for OMEGA consumers. |
| Worker public A2A route set | Worker agent | apps/worker_agent/src/omega_worker_agent/a2a/routes.py exposes build_public_a2a_routes, the repo-owned canonical public A2A route builder, and serves the Agent Card built by omega_worker_boundary.agent_card. |
| Worker app route assembly | Worker agent | apps/worker_agent/src/omega_worker_agent/app.py mounts build_public_a2a_routes, worker /healthz, and worker /readyz while wiring worker service and private MCP dependencies. |
| Worker liveness/readiness shell | Worker agent | GET /healthz reports worker shell liveness, and GET /readyz reports execution readiness plus skill-scoped public MCP readiness blockers without exposing private MCP server configuration. |
| Public A2A constants | Shared contracts | packages/contracts/src/omega_contracts/a2a_protocol.py owns route constants, task state constants, and canonical public route matching. |
| Worker-private LIFT2 MCP transport | LIFT2 MCP server | external/lerobot_lab/deploy/lift2/omega_runtime/app.py and mcp_server.py own private Streamable HTTP MCP transport, task-support descriptors, and task lifecycle handling. |
| Worker-private LIFT2 liveness/readiness | LIFT2 MCP server | external/lerobot_lab/deploy/lift2/omega_runtime/app.py owns private service-shell liveness and readiness semantics. |
| Worker MCP client and projection | Worker agent | apps/worker_agent/src/omega_worker_agent/mcp/execution_adapter.py, mcp/operation.py, and mcp/operation_projector.py call private MCP methods and project bounded worker lifecycle state. |
Canonical Files¶
| File or directory | Role |
|---|---|
apps/orchestrator/src/omega_orchestrator/mission_api.py |
Northbound mission submit and mission read router. |
apps/orchestrator/src/omega_orchestrator/services/mission_submit_stream.py |
Operator-private accepted-mission stream service for reasoning deltas, final-content deltas, validation/repair events, bounded terminal failure, and Monitor handoff. |
apps/orchestrator/src/omega_orchestrator/services/mission_reads/ |
MissionReadService facade package and split read-model internals used by mission routes. |
packages/contracts/src/omega_contracts/operator_read_model.py |
MissionOperatorReadModel response contract for the terminal operator-read route. |
apps/orchestrator/src/omega_orchestrator/app.py |
Orchestrator route assembly and dependency wiring. |
apps/orchestrator/src/omega_orchestrator/clients/worker_a2a_client.py |
WorkerA2AClient discovery, gate, dispatch, task read, task subscribe, and task cancel client. |
packages/worker_boundary/src/omega_worker_boundary/agent_card.py |
A2A Agent Card build, parse, HTTP+JSON interface selection, and OMEGA public projection owner. |
apps/worker_agent/src/omega_worker_agent/a2a/routes.py |
Repo-owned build_public_a2a_routes worker public A2A route builder and Agent Card serialization. |
apps/worker_agent/src/omega_worker_agent/app.py |
Worker public A2A route assembly, /healthz, /readyz, readiness handling, and worker-service wiring. |
apps/worker_agent/src/omega_worker_agent/mcp/execution_adapter.py |
Worker-private Streamable HTTP MCP method client and response projection input. |
apps/worker_agent/src/omega_worker_agent/mcp/operation.py |
Worker-owned public-safe operation snapshot boundary. |
apps/worker_agent/src/omega_worker_agent/mcp/operation_projector.py |
Worker steady-state read, cancel, timeout, and terminal-result projection. |
packages/contracts/src/omega_contracts/a2a_protocol.py |
Shared public A2A route constants and is_canonical_public_a2a_route. |
deploy/multi-device/worker-host.compose.yaml |
Supported worker-host compose surface that mounts the selected bundle-local MCP config into the public worker container. |
deploy/worker-private/lift2/kitchen/worker-agent-b.mcp.yaml and deploy/worker-private/lift2/kitchen/worker-agent-c.mcp.yaml |
Private worker skill-to-MCP implementation mapping source authority. |
deploy/topology/profiles/workers.yaml |
Public worker skill allowlist authority. |
external/lerobot_lab/deploy/lift2/omega_runtime/app.py |
Worker-private LIFT2 MCP app shell plus private service-shell liveness and readiness semantics. |
external/lerobot_lab/deploy/lift2/omega_runtime/mcp_server.py |
LIFT2 MCP tools, task support, task reads, terminal results, and cancel handling. |
packages/contracts/src/omega_contracts/mission_api.py |
OperatorMissionSubmitStreamRequest, MissionSubmitExecutionOptions, and MissionSubmitStreamEvent stream route contracts. |
Stability Notes¶
- Orchestrator route docs should stay northbound and mission-centric. Worker execution remains
behind
WorkerA2AClientand the public worker A2A edge. GET /missions/{mission_id}/operator-read-modelis the terminal operator visibility authority.GET /missions/{mission_id},/task-graph,/events, and/reportsare retained lightweight or diagnostic fragments and are not terminal runtime-aware operator semantics.POST /operator/mission-submit-streamis an operator-private diagnostic route, not a public mission API. It streamsreasoning_delta,final_content_delta,validation_started,repair_started,validation_succeeded,terminal_failure, andmonitor_handoffevents for the Submit tab. Raw reasoning deltas are transient operator diagnostics and are not public mission artifacts, A2A payloads, worker payloads, proof report content, or task graph parse input.OperatorMissionSubmitStreamRequest.execution_optionscarriesMissionSubmitExecutionOptions.max_tasksonly for the operator stream route. GeneralPOST /missionscontinues to acceptMissionSubmitRequestwithout execution options.- Worker public route docs should follow
a2a_protocol.pyandapps/worker_agent/src/omega_worker_agent/a2a/routes.py/build_public_a2a_routes; do not infer public surfaces from framework defaults. - The LIFT2 MCP route is a worker-private dependency. It is not a public worker Agent Card route, not an orchestrator endpoint, and not a scheduler target.
- Worker dispatch chooses public skills from topology profiles and private implementation bindings from worker-owned MCP config. Public evidence and operator reads preserve mission, task, worker, skill, and attempt identities while MCP details stay private.
- Health and readiness routes are owned by each app shell. Worker readiness can include skill-scoped MCP readiness blockers without exposing private server configuration.
- Mission-level realtime transport route design is not part of the current Engineering Preview implementation; source and tests must introduce that behavior before it becomes route truth.
Validation¶
Route validation belongs with the source modules named above and their owning service boundaries. The route rows point to the public app, shared contract, worker-boundary, and approved LIFT2 deploy runtime source owners; private endpoint details remain inside their worker-owned runtime boundary.
Current Status¶
The shipped route surface preserves the Centralized Explicit boundary. The orchestrator
owns mission intake and reads plus a worker A2A client. Worker agents own the public A2A
edge and privately call the LIFT2 MCP server over Streamable HTTP. The terminal operator
monitor reads mission detail from operator-read-model rather than reconstructing
semantics from retained mission fragments. Active app and contract source paths use
omega_orchestrator, omega_worker_agent, omega_observability, and omega_contracts.
The current Engineering Preview implementation includes
the operator-private submit stream route. Mission-level realtime transport route work
stays not part of the current Engineering Preview implementation.
Execution clipping from stream submit is not a route-owned artifact schema; it is
persisted as MissionExecutionScopeMetadata by the graph/artifact owners named in
Artifacts And Storage.
Source Of Truth¶
| Concern | Source-owned truth |
|---|---|
| Orchestrator northbound mission API | apps/orchestrator/src/omega_orchestrator/mission_api.py |
| Operator-private stream route | POST /operator/mission-submit-stream in apps/orchestrator/src/omega_orchestrator/mission_api.py and apps/orchestrator/src/omega_orchestrator/services/mission_submit_stream.py. |
| Mission read facade/package split | apps/orchestrator/src/omega_orchestrator/services/mission_reads/ |
| Terminal operator read route | GET /missions/{mission_id}/operator-read-model in apps/orchestrator/src/omega_orchestrator/mission_api.py |
| Public planning route | GET /missions/{mission_id}/planning in apps/orchestrator/src/omega_orchestrator/mission_api.py |
| Orchestrator app assembly | apps/orchestrator/src/omega_orchestrator/app.py |
| Orchestrator worker A2A client | WorkerA2AClient in apps/orchestrator/src/omega_orchestrator/clients/worker_a2a_client.py |
| Worker public A2A route assembly | apps/worker_agent/src/omega_worker_agent/a2a/routes.py / build_public_a2a_routes |
| Worker app assembly and readiness routes | apps/worker_agent/src/omega_worker_agent/app.py, including worker /healthz and worker /readyz |
| Public A2A route constants and route checks | packages/contracts/src/omega_contracts/a2a_protocol.py |
| Worker-private MCP transport | external/lerobot_lab/deploy/lift2/omega_runtime/app.py and external/lerobot_lab/deploy/lift2/omega_runtime/mcp_server.py |
| Worker-private MCP client and projection | apps/worker_agent/src/omega_worker_agent/mcp/execution_adapter.py, mcp/operation.py, and mcp/operation_projector.py |
| Public worker skill authority | deploy/topology/profiles/workers.yaml plus authored catalog projections from packages/skill_specs/src/omega_skill_specs/ |
| Private worker implementation schema and preflight | packages/worker_private_config/src/omega_worker_private_config/ |
| Private worker implementation config files | deploy/worker-private/lift2/kitchen/worker-agent-b.mcp.yaml and deploy/worker-private/lift2/kitchen/worker-agent-c.mcp.yaml |
Out Of Scope¶
- Copying handler bodies, transport payload examples, generated route dumps, or SDK internal implementation details into docs.
- Treating worker-private MCP routes as public A2A discovery surfaces.
- Publishing private MCP endpoints, tool names, task IDs, request IDs, runner presets, diagnostics, local paths, or hardware details in public artifacts.
- Presenting mission-level realtime transport route behavior as shipped current behavior.
Related Pages¶
| Page | Relationship |
|---|---|
| Contracts Index | Shared route constants and contract model authority. |
| Artifacts And Storage | Artifact-backed mission reads exposed by orchestrator routes. |
| A2A Boundary | Architecture explanation for public worker A2A authority. |
| Worker Agent | Worker app and public A2A route ownership. |