





























@@ -118,11 +118,13 @@ describe("collectCodexNativeAssetWarnings", () => {
118118env: { CODEX_HOME: codexHome, HOME: root },
119119});
120120121-expect(warnings).toHaveLength(1);
122-expect(warnings[0]).toContain("isolated per-agent Codex homes");
123-expect(warnings[0]).toContain(codexHome);
124-expect(warnings[0]).toContain(path.join(root, ".agents", "skills"));
125-expect(warnings[0]).toContain("openclaw migrate codex --dry-run");
126-expect(warnings[0]).toContain("manual-review only");
121+expect(warnings).toStrictEqual([
122+[
123+"- Personal Codex CLI assets were found, but native Codex-mode OpenClaw agents use isolated per-agent Codex homes.",
124+`- Sources: ${codexHome} and ${path.join(root, ".agents", "skills")} (1 skill, 0 plugins, 0 config files, 0 hook files).`,
125+"- These assets will not be loaded by the Codex app-server child unless you intentionally promote them.",
126+"- Run `openclaw migrate codex --dry-run` to inventory them. Applying that migration copies skills into the current OpenClaw agent workspace; Codex plugins, hooks, and config stay manual-review only.",
127+].join("\n"),
128+]);
127129});
128130});
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。