一句话:提出 DCAS 拦截层解耦 CLI 智能体脚手架与后端模型,使规划能力可跨脚手架内化迁移。
基于 CLI 的软件工程智能体发展迅速,但开放生态的训练数据几乎全部在 OpenHands 这一单一脚手架下采集。在此数据上微调的模型在 OpenHands 中表现良好,迁移到非训练脚手架后性能显著下降,而未微调的基座模型并无此分化,说明该差距由微调引入并绑定于训练脚手架的约定。作者假设其中一个关键因素是规划结构,并区分两种含义:显式规划(作为一等产物在执行前产出的计划)与隐式规划(塑造整个智能体循环执行过程的结构性约定)。为此提出 DCAS(Decoupling CLI Agent Scaffolding),这是一个后端替换拦截层,无需修改脚手架即可在任意 CLI 脚手架与任意后端模型之间转发 API 流量,从而支持跨脚手架评估与规划感知的轨迹采集。受控的 plan-source 干预确认规划质量是高杠杆因素,其增益超过观察到的跨脚手架性能下降;在单一脚手架下用少量 DCAS 采集的规划感知轨迹微调模型,可在多个非训练脚手架上获得一致提升,且两种规划含义在训练数据中可经验性分离。
CLI-based software-engineering agents have matured rapidly, yet the open ecosystem has converged on a single training environment: trajectory datasets used to fine-tune open models are collected almost exclusively under OpenHands. Models fine-tuned on this data score well under OpenHands but degrade substantially when deployed under any non-training scaffold. Untrained base models do not show this divergence, indicating the gap is fine-tuning-induced and tied to the conventions of the training scaffold. We argue that a load-bearing scaffold-specific behavior is planning structure, in two senses this paper distinguishes: explicit planning, a pre-execution plan produced as a first-class artifact, and implicit planning, the structural conventions that shape execution throughout the agent loop. Under this hypothesis, closing the gap requires moving planning from a fixed scaffold artifact to a learned model capability. We introduce Decoupling CLI Agent Scaffolding (DCAS), a backend-substitution interception layer that routes API traffic between any CLI scaffold and any backend model without modifying the scaffold, enabling cross-scaffold evaluation and planning-aware trajectory collection. Using DCAS, a controlled plan-source intervention confirms planning quality is a high-leverage component, with gains exceeding the cross-scaffold drops we observe. A model fine-tuned on a small set of DCAS-collected planning-aware trajectories under a single scaffold gains consistently across non-training scaffolds, and the two senses of planning are empirically separable in training data.