ECM合同:面向具身代理的合同感知、版本化和可治理的能力接口
ECM Contracts: Contract-Aware, Versioned, and Governable Capability Interfaces for Embodied Agents
AI总结:
本文提出ECM合同模型,通过六个维度定义具身能力模块的接口,解决模块组合与释放的稳定性问题,提升软件生态系统的安全性和可控性。
摘要:
具身代理越来越多地依赖可安装、升级、组合和治理的模块化能力。先前工作引入了具身能力模块(ECMs)作为可重用的功能单元,近期研究探索了其运行时治理和受控进化。然而,一个关键系统问题仍未解决:如何将ECMs组合和释放为稳定的软件生态系统,而非随意的技能包?本文提出ECM合同,一种基于合同的接口模型。不同于传统软件接口仅指定输入和输出类型,ECM合同编码六个关键维度:功能签名、行为假设、资源需求、权限边界、恢复语义和版本兼容性。基于此模型,我们引入兼容性框架用于ECM安装、组合和升级,实现静态和预部署检查,以检测类型不匹配、依赖冲突、策略违规、资源争用和恢复不兼容。我们进一步提出一个释放纪律,包括版本感知兼容类、弃用规则、迁移约束和策略敏感的升级检查。我们实现了一个原型ECM注册表、解析器和合同检查器,并在机器人运行时环境中评估了该方法。结果表明,合同感知的组合显著减少了不安全或无效的模块组合,而合同引导的释放检查比仅基于模式或随意的基线更安全和回滚准备。我们的发现表明,稳定的具身软件生态系统需要的不仅仅是模块化打包:它们需要显式的合同,将能力组合、治理和进化连接起来。
英文摘要:
Embodied agents increasingly rely on modular capabilities that are installed, upgraded, composed, and governed at runtime, yet the interfaces between these modules are specified only at the level of message types, so integration failures surface only during execution. We present ECM Contracts, a contract-based interface model for embodied capability modules. Unlike conventional interfaces that specify only input and output types, ECM Contracts encode six dimensions of embodied execution: functional signature, behavioral assumptions, resource requirements, permission boundaries, recovery semantics, and version compatibility. On this model we build a compatibility framework that checks installation, composition, and upgrade before deployment, and a release discipline of version-aware compatibility classes and upgrade gates. We evaluate the prototype by predicting real, independently documented integration failures in the ROS ecosystem: contracts are reconstructed blind from each module's published interface, scored by a checker frozen before reconstruction against bugs from third-party datasets, and confirmed in live runtime execution. Contract checking predicts 56% and 72% of these documented failures across two substrates, against at most 17% for the strongest type and quality-of-service baselines, with the advantage statistically significant and zero false positives on matched-good controls. The resource and version dimensions carry most of this margin; the behavioral dimension adds little beyond the middleware's quality-of-service check, and we report the permission and recovery dimensions as forward-looking. Stable embodied software ecosystems require not just modular packaging but explicit contracts connecting composition, governance, and evolution.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。