LIFT2 MCP Server¶
本页描述当前已检入实现中的 worker-private LIFT2 MCP runtime 边界。它是 worker agent 的私有下游依赖,不是 orchestrator endpoint、Agent Card owner、 公开 worker,也不是 scheduler target。
概念模型¶
公开控制面仍是 orchestrator -> A2A worker -> assigned TaskNode。worker
按公开 skill_id 验证原子任务,从私有配置解析 worker-private MCP
implementation,通过私有 Streamable HTTP transport 调用 LIFT2 MCP runtime,
再通过 worker report 和 mission artifact 投影有界公开 evidence。
公开身份边界只有两层:
- 公开 A2A、topology、Agent Card 和 Agent Skills 表面使用语义
skill_id; - worker-private MCP dispatch 使用 worker 边界以下的私有 implementation descriptor 和 arguments。
公开文档可以命名刻意公开的标签,例如
lift2.manipulation.place_plate_beside_oven、plate_placed_beside_oven、
base_yaw_command_completed 和 timed_open_loop_yaw。私有 MCP tool name、
operation selector、runner preset、endpoint、auth value、本地路径、raw
diagnostics、model 或 checkpoint 位置,以及 private task id 都不是公开 API,
也不是面向读者的权威。
本组件允许的源码权威是 deploy runtime 目录:
external/lerobot_lab/deploy/lift2/omega_runtime/。该目录拥有私有 MCP
service shell、executor ownership、descriptor/catalog source、runner source、
readiness projection 和有界 result projection。公开文档可以把读者路由到该
source tree,同时让具体运行值保持私有。
实现流程¶
- worker 通过 A2A 收到已分配的原子
TaskNode。 - worker 按已配置的公开 topology/profile authority 验证公开任务和 skill 身份。
- worker 从本地私有配置解析私有 MCP implementation details。
- worker 通过私有 worker-to-runtime transport 调用 LIFT2 MCP runtime。
- LIFT2 parent service 接收私有 MCP work,并监督具体 runtime executor。
- child runtime 在 worker 边界以下拥有 ROS、base、replay、VLA/LLM、runner lifecycle、cancel、deadline 和 terminal result behavior。
- worker 读取有界私有 runtime state,并通过 typed DTO 和显式
output_mapping构造公开WorkerExecutionReport。
原始 MCP payload、私有 runner diagnostics、transport locator、auth material、 trace header、model 或 checkpoint path 都保留为私有 implementation state。
当前边界域¶
Replay 仍是 worker-private runtime capability,用于实现公开
lift2.manipulation.place_plate_beside_oven 行为。公开 evidence 是有界
plate_placed_beside_oven 标签;replay route mechanics、trajectory
location、topic name 和私有 runner identity 都留在 worker 边界以下。
Open-loop yaw 仍是特定 worker 配置下的 worker-private reach-pose execution
mode。公开 evidence 可以报告 base_yaw_command_completed 和稳定 controller
label timed_open_loop_yaw;私有 selector 和 runtime command details 留在
worker-private runtime 与配置源码中。
Base runtime decomposition 由
external/lerobot_lab/deploy/lift2/omega_runtime/ 以下源码拥有。runtime
把 ROS IO、odometry、readiness、settings projection、controller logic、
motion execution 和 facade/runner ports 保持为私有,只暴露有界 worker evidence。
默认验证仍是确定性、硬件无关。Live robot、GPU、VLA、SGLang 和 vendor-server evidence 是 HUMAN-UAT evidence,除非后续里程碑明确把这些检查 提升为门禁。
生命周期图¶
flowchart TD
Orchestrator["orchestrator"]
Worker["A2A worker"]
PublicSkill["public skill_id"]
PrivateConfig["worker-private MCP config"]
Lift2["worker-private LIFT2 MCP runtime"]
Executor["runtime executor"]
Runtime["LIFT2 runtime owners"]
Report["WorkerExecutionReport"]
Orchestrator -->|"assigned TaskNode over A2A"| Worker
Worker --> PublicSkill
Worker --> PrivateConfig
PrivateConfig --> Lift2
Lift2 --> Executor
Executor --> Runtime
Runtime --> Lift2
Lift2 --> Worker
Worker --> Report
Report --> Orchestrator
职责¶
该组件提供 LIFT2 的 worker-private MCP execution service。parent service shell 接收私有 MCP call,投影有界 readiness,并监督 runtime executor。executor 拥有具体 robot/runtime dependency、runner lifecycle、副作用抑制或发布,以及 terminal task result。两层都停留在 worker 边界之后;worker 只暴露有界公开 lifecycle 和 evidence field。
拥有¶
- Worker-private LIFT2 MCP service shell 和 Streamable HTTP transport。
- 有界私有 health/readiness service-shell projection。
- 私有 MCP auth 和 transport handling,且不公开 auth value。
external/lerobot_lab/deploy/lift2/omega_runtime/下的 runtime descriptor/catalog source。- Executor supervision、child runtime lifecycle、严格 command/event framing、 readiness caching、terminal projection,以及 child crash 的失败关闭处理。
- 从 MCP arguments 到 runtime submission 的私有 runner adaptation。
- Worker 边界以下的 resident VLA、LLM、replay 和 procedural runner lifecycle。
- Base runtime 对 ROS IO、odometry、readiness、settings projection、 controller logic、motion execution 和 facade/runner ports 的拥有权。
- ROS、resident VLA、SGLang、model/checkpoint availability 和 hardware gate 的私有 runtime preflight / invocation failure;公开面只看到有界 worker error。
- worker 到 runtime 调用路径上的私有 trace-header 接收,且不把 trace header 放入公开/domain payload。
Runtime-Private VLA Reset¶
LIFT2 runtime 还拥有一个私有 VLA reset maintenance path。它是 runtime-private maintenance,不是 orchestrator command、公开 A2A task、Agent Card capability、 公开 skill、planner-visible DAG node、公开 mission artifact 或 worker probe mode。
Reset success 表示 resident VLA policy state 和 robot reset 都在 live actuation 下完成。如果 actuation 未显式启用,reset 会失败关闭,suppressed actuation 不会报告 reset success。CLI addressing 和 auth 是 runtime-private 且失败关闭; 提供的 locator 和 auth value 不进入输出。
不拥有¶
- 公开 A2A worker discovery、Agent Card 或 scheduler target selection。
- Orchestrator mission planning、task graph compilation 或 global scheduling。
- 公开 topology authority;公开 skill authority 仍由
deploy/topology/profiles/workers.yaml和packages/skill_specs下的omega_skill_specs拥有。 - 私有 reach-pose execution 的公开 base-skill routing authority。
WorkerExecutionReport.session_id、result_summary、artifacts、有界 errors 以及有界 worker DTO / output mapping contract 之外的公开 evidence schema。- 将私有 MCP endpoint、tool name、runner preset、ROS/GPU/model/checkpoint details、API key、trace header 或 raw vendor diagnostic 发布为公开 artifact。
- worker execution 的公开 route、backend 或 implementation identity。
当前状态¶
Worker-private LIFT2 MCP 仍是当前已检入实现的 runtime execution boundary。该边界 包括用于公开放盘到烤箱旁行为的私有 replay runtime support、用于私有 reach-pose selector path 的公开 open-loop yaw evidence label,以及拆分后的 base runtime 拥有者:ROS IO、odometry、readiness、settings、controller logic、command execution 和 facade/runner ports。生产 worker startup、本地 compose、多设备 worker settings 和 operator reads 仍指向 worker-private MCP config 以及面向 worker 的 readiness/execution evidence。私有 runtime details 不会成为公开 skill、scheduler、Agent Card 或 mission-artifact authority。
权威来源¶
下面的实现文件是本组件的当前源码权威。历史兼容性说明只作为背景。
关键源码路径¶
| 路径 | 用途 |
|---|---|
external/lerobot_lab/deploy/lift2/omega_runtime/ |
私有 LIFT2 MCP runtime 的获准 deploy runtime source authority。 |
external/lerobot_lab/deploy/lift2/omega_runtime/app.py |
Worker-private service shell 和有界 service projection。 |
external/lerobot_lab/deploy/lift2/omega_runtime/executor_supervisor.py |
Parent executor supervision、readiness caching 和 child lifecycle 失败关闭处理。 |
external/lerobot_lab/deploy/lift2/omega_runtime/executor_client.py |
Parent command serialization、严格 child event parsing、timeout handling 和 correlation checks。 |
external/lerobot_lab/deploy/lift2/omega_runtime/executor_ipc.py |
严格私有 command/event model 和 public-safe redaction。 |
external/lerobot_lab/deploy/lift2/omega_runtime/executor_child.py |
Child runtime entrypoint 和 command loop。 |
external/lerobot_lab/deploy/lift2/omega_runtime/executor_runtime.py |
具体 registry、dependency supervisor、task lifecycle、runner execution、cancel/deadline handling 和 terminal projection。 |
external/lerobot_lab/deploy/lift2/omega_runtime/mcp_server.py |
MCP server integration、task-support descriptors、progress handling 和 worker operation idempotency source。 |
external/lerobot_lab/deploy/lift2/omega_runtime/descriptor_catalog.py |
Runtime descriptor/catalog source 和 public-safe evidence key metadata。 |
external/lerobot_lab/deploy/lift2/omega_runtime/mcp_runner_adapter.py |
从 MCP arguments 到 executor submissions 和有界 MCP results 的私有 adapter。 |
external/lerobot_lab/deploy/lift2/omega_runtime/readiness.py |
私有 service-shell readiness 和 dependency state。 |
external/lerobot_lab/deploy/lift2/omega_runtime/registry.py |
LIFT2 profile execution 的私有 runner registry。 |
external/lerobot_lab/deploy/lift2/omega_runtime/runners/ |
resident VLA、LLM selected-layer、replay、base 和场景专用 procedural execution 的私有 runner modules。 |
external/lerobot_lab/deploy/lift2/run_omega_runtime.sh |
Worker-private runtime launcher。 |
apps/worker_agent/src/omega_worker_agent/mcp/execution_adapter.py |
Worker-private Streamable HTTP MCP client 和 public-safe operation projection。 |
apps/worker_agent/src/omega_worker_agent/mcp/http_transport.py |
Worker-private transport helpers、instrumentation、trace propagation 和 progress capture。 |
packages/worker_private_config/src/omega_worker_private_config/ |
Worker-private MCP implementation schema、loader、coverage validation 和 deploy preflight authority。 |
apps/worker_agent/src/omega_worker_agent/execution/reporter.py |
从私有 operation snapshot 到公开 lifecycle report 的 WorkerExecutionReport projection。 |
非当前范围¶
- 把 LIFT2 MCP server 发布成公开 worker 或 Agent Card owner。
- 让 orchestrator 直接调用私有 MCP server。
- 把私有 tool name、runner preset、endpoint URL、raw task id、model path、 checkpoint、auth value 或 vendor diagnostic 当成公开 scheduling 或 evidence authority。
- 把 W3C trace header 当成 DTO field、mission artifact field、Agent Card field、 scheduler field、operator projection field 或 MCP domain payload field。
- 在确定性 CI 中强制 live robot、GPU 或 vendor-server proof。