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

推荐订阅源

V
Visual Studio Blog
量子位
大猫的无限游戏
大猫的无限游戏
Hugging Face - Blog
Hugging Face - Blog
S
SegmentFault 最新的问题
Blog — PlanetScale
Blog — PlanetScale
月光博客
月光博客
Google DeepMind News
Google DeepMind News
小众软件
小众软件
WordPress大学
WordPress大学
宝玉的分享
宝玉的分享
MongoDB | Blog
MongoDB | Blog
B
Blog RSS Feed
博客园 - Franky
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
B
Blog
博客园 - 聂微东
The GitHub Blog
The GitHub Blog
Recent Announcements
Recent Announcements
Y
Y Combinator Blog
Microsoft Security Blog
Microsoft Security Blog
雷峰网
雷峰网
Jina AI
Jina AI
酷 壳 – CoolShell
酷 壳 – CoolShell

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
test: pin Codex run attempt assertions · openclaw/opencla...
shakkernerd · 2026-05-11 · via Recent Commits to openclaw:main

@@ -2854,10 +2854,9 @@ describe("runCodexAppServerAttempt", () => {

28542854

},

28552855

});

285628562857-

await expect(run).resolves.toMatchObject({

2858-

assistantTexts: [],

2859-

toolMediaUrls: ["/tmp/codex-home/generated_images/session-1/ig_123.png"],

2860-

});

2857+

const result = await run;

2858+

expect(result.assistantTexts).toEqual([]);

2859+

expect(result.toolMediaUrls).toEqual(["/tmp/codex-home/generated_images/session-1/ig_123.png"]);

28612860

});

2862286128632862

it("does not complete on unscoped turn/completed notifications", async () => {

@@ -3717,9 +3716,11 @@ describe("runCodexAppServerAttempt", () => {

37173716

approvalPolicy: "never",

37183717

approvalsReviewer: "user",

37193718

sandbox: "danger-full-access",

3720-

developerInstructions: expect.stringContaining(CODEX_GPT5_BEHAVIOR_CONTRACT),

37213719

persistExtendedHistory: true,

37223720

});

3721+

const resumeRequest = requests.find((request) => request.method === "thread/resume");

3722+

const resumeRequestParams = resumeRequest?.params as Record<string, unknown> | undefined;

3723+

expect(resumeRequestParams?.developerInstructions).toContain(CODEX_GPT5_BEHAVIOR_CONTRACT);

37233724

});

3724372537253726

it("resumes a bound Codex thread when only dynamic tool descriptions change", async () => {

@@ -4585,16 +4586,17 @@ describe("runCodexAppServerAttempt", () => {

45854586

model: "gpt-5.4-codex",

45864587

approvalPolicy: "on-request",

45874588

approvalsReviewer: "guardian_subagent",

4588-

config: expect.objectContaining({

4589-

"features.codex_hooks": true,

4590-

"features.code_mode": true,

4591-

"features.code_mode_only": true,

4592-

}),

45934589

sandbox: "danger-full-access",

45944590

serviceTier: "priority",

4595-

developerInstructions: expect.stringContaining(CODEX_GPT5_BEHAVIOR_CONTRACT),

45964591

persistExtendedHistory: true,

45974592

});

4593+

const resumeRequest = requests.find((request) => request.method === "thread/resume");

4594+

const resumeRequestParams = resumeRequest?.params as Record<string, unknown> | undefined;

4595+

const resumeConfig = resumeRequestParams?.config as Record<string, unknown> | undefined;

4596+

expect(resumeConfig?.["features.codex_hooks"]).toBe(true);

4597+

expect(resumeConfig?.["features.code_mode"]).toBe(true);

4598+

expect(resumeConfig?.["features.code_mode_only"]).toBe(true);

4599+

expect(resumeRequestParams?.developerInstructions).toContain(CODEX_GPT5_BEHAVIOR_CONTRACT);

45984600

const turnRequest = requests.find((request) => request.method === "turn/start");

45994601

const turnRequestParams = turnRequest?.params as Record<string, unknown> | undefined;

46004602

expect(turnRequestParams?.approvalPolicy).toBe("on-request");

@@ -4687,7 +4689,8 @@ describe("runCodexAppServerAttempt", () => {

46874689

serviceTier: "flex" as const,

46884690

};

468946914690-

expect(buildThreadResumeParams(params, { threadId: "thread-1", appServer })).toEqual({

4692+

const resumeParams = buildThreadResumeParams(params, { threadId: "thread-1", appServer });

4693+

expect(resumeParams).toEqual({

46914694

threadId: "thread-1",

46924695

model: "gpt-5.4-codex",

46934696

approvalPolicy: "on-request",

@@ -4698,9 +4701,10 @@ describe("runCodexAppServerAttempt", () => {

46984701

},

46994702

sandbox: "danger-full-access",

47004703

serviceTier: "flex",

4701-

developerInstructions: expect.stringContaining(CODEX_GPT5_BEHAVIOR_CONTRACT),

4704+

developerInstructions: resumeParams.developerInstructions,

47024705

persistExtendedHistory: true,

47034706

});

4707+

expect(resumeParams.developerInstructions).toContain(CODEX_GPT5_BEHAVIOR_CONTRACT);

47044708

const turnParams = buildTurnStartParams(params, {

47054709

threadId: "thread-1",

47064710

cwd: "/tmp/workspace",

@@ -4727,20 +4731,17 @@ describe("runCodexAppServerAttempt", () => {

47274731

const params = createParams("/tmp/session.jsonl", "/tmp/workspace");

47284732

params.trigger = "heartbeat";

472947334730-

expect(buildTurnCollaborationMode(params)).toEqual({

4731-

mode: "default",

4732-

settings: {

4733-

model: "gpt-5.4-codex",

4734-

reasoning_effort: "medium",

4735-

developer_instructions: expect.stringContaining(

4736-

"This is an OpenClaw heartbeat turn. Apply these instructions only to this heartbeat wake",

4737-

),

4738-

},

4739-

});

4740-

expect(buildTurnCollaborationMode(params).settings.developer_instructions).toContain(

4734+

const heartbeatCollaborationMode = buildTurnCollaborationMode(params);

4735+

expect(heartbeatCollaborationMode.mode).toBe("default");

4736+

expect(heartbeatCollaborationMode.settings.model).toBe("gpt-5.4-codex");

4737+

expect(heartbeatCollaborationMode.settings.reasoning_effort).toBe("medium");

4738+

expect(heartbeatCollaborationMode.settings.developer_instructions).toContain(

4739+

"This is an OpenClaw heartbeat turn. Apply these instructions only to this heartbeat wake",

4740+

);

4741+

expect(heartbeatCollaborationMode.settings.developer_instructions).toContain(

47414742

"Use heartbeats to create useful proactive progress",

47424743

);

4743-

expect(buildTurnCollaborationMode(params).settings.developer_instructions).toContain(

4744+

expect(heartbeatCollaborationMode.settings.developer_instructions).toContain(

47444745

"If `heartbeat_respond` is not already available and `tool_search` is available",

47454746

);

47464747