惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园_首页
博客园 - Franky
大猫的无限游戏
大猫的无限游戏
博客园 - 三生石上(FineUI控件)
量子位
博客园 - 聂微东
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
S
SegmentFault 最新的问题
Apple Machine Learning Research
Apple Machine Learning Research
爱范儿
爱范儿
V
Visual Studio Blog
雷峰网
雷峰网
T
Tailwind CSS Blog
宝玉的分享
宝玉的分享
Blog — PlanetScale
Blog — PlanetScale
有赞技术团队
有赞技术团队
博客园 - 叶小钗
Microsoft Azure Blog
Microsoft Azure Blog
T
The Blog of Author Tim Ferriss
U
Unit 42
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
小众软件
小众软件
阮一峰的网络日志
阮一峰的网络日志
Y
Y Combinator Blog

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
Enable Codex native code mode for OpenClaw harness runs (...
pashpashpash · 2026-05-11 · via Recent Commits to openclaw:main

@@ -3791,6 +3791,11 @@ describe("runCodexAppServerAttempt", () => {

37913791

"features.codex_hooks": true,

37923792

"hooks.PreToolUse": [],

37933793

};

3794+

const expectedConfig = {

3795+

...config,

3796+

"features.code_mode": true,

3797+

"features.code_mode_only": true,

3798+

};

3794379937953800

await startOrResumeThread({

37963801

client: { request } as never,

@@ -3811,8 +3816,8 @@ describe("runCodexAppServerAttempt", () => {

3811381638123817

const requestCalls = request.mock.calls as unknown as Array<[string, { config?: unknown }]>;

38133818

expect(requestCalls.map(([method]) => method)).toEqual(["thread/start", "thread/resume"]);

3814-

expect(requestCalls[0]?.[1].config).toEqual(config);

3815-

expect(requestCalls[1]?.[1].config).toEqual(config);

3819+

expect(requestCalls[0]?.[1].config).toEqual(expectedConfig);

3820+

expect(requestCalls[1]?.[1].config).toEqual(expectedConfig);

38163821

});

3817382238183823

it("merges native hook relay config with plugin app config when starting a thread", async () => {

@@ -3856,6 +3861,8 @@ describe("runCodexAppServerAttempt", () => {

38563861

expect(requestCalls.map(([method]) => method)).toEqual(["thread/start"]);

38573862

expect(requestCalls[0]?.[1].config).toEqual({

38583863

"features.codex_hooks": true,

3864+

"features.code_mode": true,

3865+

"features.code_mode_only": true,

38593866

hooks: { PreToolUse: [] },

38603867

...createPluginAppConfigPatch(),

38613868

});

@@ -3921,9 +3928,15 @@ describe("runCodexAppServerAttempt", () => {

39213928

expect(requestCalls.map(([method]) => method)).toEqual(["thread/start", "thread/resume"]);

39223929

expect(requestCalls[0]?.[1].config).toEqual({

39233930

"features.codex_hooks": true,

3931+

"features.code_mode": true,

3932+

"features.code_mode_only": true,

39243933

...createPluginAppConfigPatch(),

39253934

});

3926-

expect(requestCalls[1]?.[1].config).toEqual({ "features.codex_hooks": true });

3935+

expect(requestCalls[1]?.[1].config).toEqual({

3936+

"features.codex_hooks": true,

3937+

"features.code_mode": true,

3938+

"features.code_mode_only": true,

3939+

});

39273940

});

3928394139293942

it("starts a new plugin app thread when full binding revalidation removes an app", async () => {

@@ -3979,6 +3992,8 @@ describe("runCodexAppServerAttempt", () => {

39793992

const requestCalls = request.mock.calls as unknown as Array<[string, { config?: unknown }]>;

39803993

expect(requestCalls.map(([method]) => method)).toEqual(["thread/start"]);

39813994

expect(requestCalls[0]?.[1].config).toEqual({

3995+

"features.code_mode": true,

3996+

"features.code_mode_only": true,

39823997

apps: {

39833998

_default: {

39843999

enabled: false,

@@ -4030,7 +4045,10 @@ describe("runCodexAppServerAttempt", () => {

4030404540314046

const requestCalls = request.mock.calls as unknown as Array<[string, { config?: unknown }]>;

40324047

expect(requestCalls.map(([method]) => method)).toEqual(["thread/resume"]);

4033-

expect("config" in (requestCalls[0]?.[1] ?? {})).toBe(false);

4048+

expect(requestCalls[0]?.[1].config).toEqual({

4049+

"features.code_mode": true,

4050+

"features.code_mode_only": true,

4051+

});

40344052

const binding = await readCodexAppServerBinding(sessionFile);

40354053

expect(binding?.threadId).toBe("thread-existing");

40364054

expect(binding?.pluginAppsFingerprint).toBe("plugin-apps-config-1");

@@ -4081,7 +4099,11 @@ describe("runCodexAppServerAttempt", () => {

40814099

expect(buildPluginThreadConfig).toHaveBeenCalledTimes(1);

40824100

const requestCalls = request.mock.calls as unknown as Array<[string, { config?: unknown }]>;

40834101

expect(requestCalls.map(([method]) => method)).toEqual(["thread/start"]);

4084-

expect(requestCalls[0]?.[1].config).toEqual(createPluginAppConfigPatch());

4102+

expect(requestCalls[0]?.[1].config).toEqual({

4103+

...createPluginAppConfigPatch(),

4104+

"features.code_mode": true,

4105+

"features.code_mode_only": true,

4106+

});

40854107

const binding = await readCodexAppServerBinding(sessionFile);

40864108

expect(binding?.threadId).toBe("thread-recovered");

40874109

expect(binding?.pluginAppsFingerprint).toBe("plugin-apps-config-1");

@@ -4139,7 +4161,10 @@ describe("runCodexAppServerAttempt", () => {

41394161

expect(buildPluginThreadConfig).toHaveBeenCalledTimes(1);

41404162

const requestCalls = request.mock.calls as unknown as Array<[string, { config?: unknown }]>;

41414163

expect(requestCalls.map(([method]) => method)).toEqual(["thread/resume"]);

4142-

expect("config" in (requestCalls[0]?.[1] ?? {})).toBe(false);

4164+

expect(requestCalls[0]?.[1].config).toEqual({

4165+

"features.code_mode": true,

4166+

"features.code_mode_only": true,

4167+

});

41434168

});

4144416941454170

it("rebuilds a partial plugin app binding after another plugin recovers", async () => {

@@ -4186,7 +4211,11 @@ describe("runCodexAppServerAttempt", () => {

41864211

expect(buildPluginThreadConfig).toHaveBeenCalledTimes(1);

41874212

const requestCalls = request.mock.calls as unknown as Array<[string, { config?: unknown }]>;

41884213

expect(requestCalls.map(([method]) => method)).toEqual(["thread/start"]);

4189-

expect(requestCalls[0]?.[1].config).toEqual(createTwoPluginAppConfigPatch());

4214+

expect(requestCalls[0]?.[1].config).toEqual({

4215+

...createTwoPluginAppConfigPatch(),

4216+

"features.code_mode": true,

4217+

"features.code_mode_only": true,

4218+

});

41904219

const binding = await readCodexAppServerBinding(sessionFile);

41914220

expect(binding?.threadId).toBe("thread-recovered");

41924221

expect(binding?.pluginAppsFingerprint).toBe("plugin-apps-config-2");

@@ -4242,7 +4271,11 @@ describe("runCodexAppServerAttempt", () => {

42424271

expect(buildPluginThreadConfig).toHaveBeenCalledTimes(1);

42434272

const requestCalls = request.mock.calls as unknown as Array<[string, { config?: unknown }]>;

42444273

expect(requestCalls.map(([method]) => method)).toEqual(["thread/start"]);

4245-

expect(requestCalls[0]?.[1].config).toEqual(createTwoCalendarAppConfigPatch());

4274+

expect(requestCalls[0]?.[1].config).toEqual({

4275+

...createTwoCalendarAppConfigPatch(),

4276+

"features.code_mode": true,

4277+

"features.code_mode_only": true,

4278+

});

42464279

const binding = await readCodexAppServerBinding(sessionFile);

42474280

expect(binding?.threadId).toBe("thread-recovered");

42484281

expect(binding?.pluginAppsFingerprint).toBe("plugin-apps-config-calendar-2");

@@ -4285,7 +4318,11 @@ describe("runCodexAppServerAttempt", () => {

4285431842864319

const requestCalls = request.mock.calls as unknown as Array<[string, { config?: unknown }]>;

42874320

expect(requestCalls.map(([method]) => method)).toEqual(["thread/start"]);

4288-

expect(requestCalls[0]?.[1].config).toEqual(createPluginAppConfigPatch());

4321+

expect(requestCalls[0]?.[1].config).toEqual({

4322+

...createPluginAppConfigPatch(),

4323+

"features.code_mode": true,

4324+

"features.code_mode_only": true,

4325+

});

42894326

const binding = await readCodexAppServerBinding(sessionFile);

42904327

expect(binding?.threadId).toBe("thread-plugins");

42914328

expect(binding?.pluginAppsFingerprint).toBe("plugin-apps-config-1");

@@ -4349,6 +4386,11 @@ describe("runCodexAppServerAttempt", () => {

43494386

model: "gpt-5.4-codex",

43504387

approvalPolicy: "on-request",

43514388

approvalsReviewer: "guardian_subagent",

4389+

config: expect.objectContaining({

4390+

"features.codex_hooks": true,

4391+

"features.code_mode": true,

4392+

"features.code_mode_only": true,

4393+

}),

43524394

sandbox: "danger-full-access",

43534395

serviceTier: "priority",

43544396

developerInstructions: expect.stringContaining(CODEX_GPT5_BEHAVIOR_CONTRACT),

@@ -4451,6 +4493,10 @@ describe("runCodexAppServerAttempt", () => {

44514493

model: "gpt-5.4-codex",

44524494

approvalPolicy: "on-request",

44534495

approvalsReviewer: "guardian_subagent",

4496+

config: {

4497+

"features.code_mode": true,

4498+

"features.code_mode_only": true,

4499+

},

44544500

sandbox: "danger-full-access",

44554501

serviceTier: "flex",

44564502

developerInstructions: expect.stringContaining(CODEX_GPT5_BEHAVIOR_CONTRACT),