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

推荐订阅源

V
Visual Studio Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
N
Netflix TechBlog - Medium
博客园 - 叶小钗
大猫的无限游戏
大猫的无限游戏
S
SegmentFault 最新的问题
V
V2EX
IT之家
IT之家
J
Java Code Geeks
Hacker News - Newest:
Hacker News - Newest: "LLM"
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
GbyAI
GbyAI
D
Docker
S
Secure Thoughts
Recent Announcements
Recent Announcements
Webroot Blog
Webroot Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
云风的 BLOG
云风的 BLOG
博客园_首页
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Security Archives - TechRepublic
Security Archives - TechRepublic
酷 壳 – CoolShell
酷 壳 – CoolShell
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
N
News | PayPal Newsroom
S
Security @ Cisco Blogs
I
InfoQ
Last Week in AI
Last Week in AI
SecWiki News
SecWiki News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
W
WeLiveSecurity
T
Troy Hunt's Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Attack and Defense Labs
Attack and Defense Labs
美团技术团队
T
The Blog of Author Tim Ferriss
Google DeepMind News
Google DeepMind News
Martin Fowler
Martin Fowler
B
Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Scott Helme
Scott Helme
T
Tor Project blog
Know Your Adversary
Know Your Adversary
有赞技术团队
有赞技术团队
Hugging Face - Blog
Hugging Face - Blog
Recorded Future
Recorded Future
C
Cyber Attacks, Cyber Crime and Cyber Security
AI
AI
G
Google Developers 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 test: trim doctor command hotspots · openclaw/openclaw@c66f16a test: isolate agent auth and spawn hotspots · openclaw/openclaw@9285935 test: stabilize MCP startup disposal race · openclaw/openclaw@dd9d2eb test: merge browser contract server suites · openclaw/openclaw@5817a76 test: narrow ollama provider discovery setup · openclaw/openclaw@a0d9598 build: declare qa-lab aimock runtime dependency · openclaw/openclaw@24431e5 test: speed up safe-bins exec harness · openclaw/openclaw@ee856ab test: preserve tool helpers in embedded runner mocks · openclaw/openclaw@acd86a0 refactor: move memory embeddings into provider plugins · openclaw/openclaw@77e6e4c test: reuse system-run temp fixtures · openclaw/openclaw@7e9ff0f test: trim hotspot wait overhead · openclaw/openclaw@12a59b0 Check: avoid duplicate boundary prep · openclaw/openclaw@baf11b8 test: reduce hotspot fixture overhead · openclaw/openclaw@3a59edd feat(ui): overhaul settings and slash command UX (#67819) thanks @Bun… · openclaw/openclaw@2cfb660 QA Matrix: exit cleanly on failure · openclaw/openclaw@42805d2 QA Matrix: isolate scenario coverage · openclaw/openclaw@7e659e1 Matrix: refresh crypto bootstrap state · openclaw/openclaw@94081d8 QA Lab: add provider registry · openclaw/openclaw@bb7e982 Matrix: add plugin changelog · openclaw/openclaw@4acab55 test: trim more hotspot overhead · openclaw/openclaw@f485311 test: trim remaining hotspot tests · openclaw/openclaw@6ba8626 test: narrow hotspot mocks · openclaw/openclaw@dbc8179 test: isolate gemini embedding request helpers · openclaw/openclaw@cd330f5 test: trim memory and mcp hotspots · openclaw/openclaw@fd48dfa test: slim provider registry mocks · openclaw/openclaw@2e08c77 test: harden Parallels update smoke · openclaw/openclaw@1a98090 feat: default Anthropic to Opus 4.7 · openclaw/openclaw@628b454 fix: harden node-host shell payload mutability checks · openclaw/openclaw@75c551e fix: land node-host approval binding for native binaries (#66731) (th… · openclaw/openclaw@29919bb CI: add daily schedule to CodeQL workflow (#67645) · openclaw/openclaw@69d25f5 fix(gateway): capture config hash after plugin auto-enable to prevent… · openclaw/openclaw@8c11210 fix: repair sanitized replay tool results before send (#67620) (thank… · openclaw/openclaw@c3c7a99 fix: restrict HTML timeout short-circuit to transient statuses · openclaw/openclaw@de129a6 fix: keep TUI watchdog bound to active run (#67401) (thanks @xantorres) · openclaw/openclaw@3525273 Gateway/skills: dedupe skills prefix-match + drop dead fallback on log · openclaw/openclaw@d7f489f Extensions/lmstudio: back off inference preload after consecutive fai… · openclaw/openclaw@b555214 TUI/streaming: add watchdog that resets the activity indicator after … · openclaw/openclaw@f44ab20 Agents/tool-loop: enable unknown-tool stream guard by default · openclaw/openclaw@36ed367 Gateway/skills: invalidate session skills snapshot on config write · openclaw/openclaw@b23d59a fix: classify HTML provider error pages correctly (#67642) (thanks @s… · openclaw/openclaw@e588e90 fix(skills): remove unused model-usage import (#67641) · openclaw/openclaw@55f05df docs(changelog): credit codex fix superseded PRs · openclaw/openclaw@e485f24 fix(openai-codex): normalize stale transport metadata in resolution a… · openclaw/openclaw@90801ba CI: pin Docker-related GitHub Actions (#67632) · openclaw/openclaw@f697b01 Android: modernize WebView and discovery API usage (#67627) · openclaw/openclaw@44a6e50 fix(deps): bump hono to 4.12.14 and @hono/node-server to 1.19.14 (GHS… · openclaw/openclaw@fbccc18 fix(deps): bump dompurify to 3.4.0 (#67614) · openclaw/openclaw@2c2dc00 CI: add explicit permissions to all workflow jobs (fixes code-scannin… · openclaw/openclaw@01b7516 fix: register bundled TTS providers and route overrides correctly (#6… · openclaw/openclaw@6ea3cdd fix: align host tilde paths with OS home (#62804) (thanks @stainlu) · openclaw/openclaw@ecfaf64 fix: flush creds queue before reconnect socket open (#67464) (thanks … · openclaw/openclaw@405c63f fix: strip standalone <function> tool call tags from visible text (#6… · openclaw/openclaw@78df859 fix(agents): preserve cli session metadata before transcript persist … · openclaw/openclaw@898fd04 docs(changelog): move cli transcript entry · openclaw/openclaw@c1817c6 fix(agents): normalize cli transcript api field · openclaw/openclaw@3a3fae0 docs(changelog): note cli transcript persistence · openclaw/openclaw@6c343f1 fix(agents): persist cli transcript turns · openclaw/openclaw@b8ef507 fix(msteams): harden security-sensitive flows (#65841) · openclaw/openclaw@c56b56e [Dashboard] Fix exec approval modal overflow for long command content… · openclaw/openclaw@053c5b0 Docs: remove QA changelog entry · openclaw/openclaw@7fd5771 QA: fix private runtime source loading (#67428) · openclaw/openclaw@d5933af docs(gateway): correct protocol.md schema path, hello-ok example, aut… · openclaw/openclaw@489404d CI: pin Node 22 runners to 22.18.0 · openclaw/openclaw@4ffa621 models.authStatus: normalize provider ids + tighten env-backed escape… · openclaw/openclaw@f2fdb9d Update CHANGELOG.md · openclaw/openclaw@7694a92 test(parallels): clean up npm update guard jobs · openclaw/openclaw@045ea7b Plugins: prefer scanDir override paths · openclaw/openclaw@b2974da fix(dreaming): default storage.mode to "separate" so phase blocks sto… · openclaw/openclaw@8c392f0 fix(memory-core): skip dreaming transcript ingestion via session stor… · openclaw/openclaw@a1b01f0 fix: dedupe replayed exec.finished node events (#67281) · openclaw/openclaw@5dcf526
test: tighten codex prompt hook assertions · openclaw/openclaw@1463974
steipete · 2026-05-10 · via Recent Commits to openclaw:main

@@ -1388,32 +1388,25 @@ describe("runCodexAppServerAttempt", () => {

13881388

await harness.completeTurn({ threadId: "thread-1", turnId: "turn-1" });

13891389

await run;

139013901391-

expect(beforePromptBuild).toHaveBeenCalledWith(

1392-

{

1393-

prompt: "hello",

1394-

messages: [expect.objectContaining({ role: "assistant" })],

1395-

},

1396-

expect.objectContaining({

1397-

runId: "run-1",

1398-

sessionId: "session-1",

1399-

}),

1400-

);

1401-

expect(harness.requests).toEqual(

1402-

expect.arrayContaining([

1403-

{

1404-

method: "thread/start",

1405-

params: expect.objectContaining({

1406-

developerInstructions: expect.stringContaining("pre system\n\ncustom codex system"),

1407-

}),

1408-

},

1409-

{

1410-

method: "turn/start",

1411-

params: expect.objectContaining({

1412-

input: [{ type: "text", text: "queued context\n\nhello", text_elements: [] }],

1413-

}),

1414-

},

1415-

]),

1416-

);

1391+

expect(beforePromptBuild).toHaveBeenCalledOnce();

1392+

const [hookInput, hookContext] = beforePromptBuild.mock.calls[0] as unknown as [

1393+

{ messages?: Array<{ role?: string }>; prompt?: string },

1394+

{ runId?: string; sessionId?: string },

1395+

];

1396+

expect(hookInput.prompt).toBe("hello");

1397+

expect(hookInput.messages?.[0]?.role).toBe("assistant");

1398+

expect(hookContext.runId).toBe("run-1");

1399+

expect(hookContext.sessionId).toBe("session-1");

1400+

const threadStart = harness.requests.find((request) => request.method === "thread/start");

1401+

const threadStartParams = threadStart?.params as { developerInstructions?: string } | undefined;

1402+

expect(threadStartParams?.developerInstructions).toContain("pre system\n\ncustom codex system");

1403+

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

1404+

const turnStartParams = turnStart?.params as

1405+

| { input?: Array<{ text?: string; text_elements?: unknown[]; type?: string }> }

1406+

| undefined;

1407+

expect(turnStartParams?.input).toEqual([

1408+

{ type: "text", text: "queued context\n\nhello", text_elements: [] },

1409+

]);

14171410

});

1418141114191412

it("projects mirrored history when starting Codex without a native thread binding", async () => {

@@ -1501,27 +1494,30 @@ describe("runCodexAppServerAttempt", () => {

15011494

expect(llmInput).toHaveBeenCalled();

15021495

await new Promise<void>((resolve) => setImmediate(resolve));

150314961504-

expect(llmInput.mock.calls).toEqual(

1505-

expect.arrayContaining([

1506-

[

1507-

expect.objectContaining({

1508-

runId: "run-1",

1509-

sessionId: "session-1",

1510-

provider: "codex",

1511-

model: "gpt-5.4-codex",

1512-

prompt: "hello",

1513-

imagesCount: 0,

1514-

historyMessages: [expect.objectContaining({ role: "assistant" })],

1515-

systemPrompt: expect.stringContaining(CODEX_GPT5_BEHAVIOR_CONTRACT),

1516-

}),

1517-

expect.objectContaining({

1518-

runId: "run-1",

1519-

sessionId: "session-1",

1520-

sessionKey: "agent:main:session-1",

1521-

}),

1522-

],

1523-

]),

1524-

);

1497+

const [llmInputPayload, llmInputContext] = llmInput.mock.calls[0] as unknown as [

1498+

{

1499+

historyMessages?: Array<{ role?: string }>;

1500+

imagesCount?: number;

1501+

model?: string;

1502+

prompt?: string;

1503+

provider?: string;

1504+

runId?: string;

1505+

sessionId?: string;

1506+

systemPrompt?: string;

1507+

},

1508+

{ runId?: string; sessionId?: string; sessionKey?: string },

1509+

];

1510+

expect(llmInputPayload.runId).toBe("run-1");

1511+

expect(llmInputPayload.sessionId).toBe("session-1");

1512+

expect(llmInputPayload.provider).toBe("codex");

1513+

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

1514+

expect(llmInputPayload.prompt).toBe("hello");

1515+

expect(llmInputPayload.imagesCount).toBe(0);

1516+

expect(llmInputPayload.historyMessages?.[0]?.role).toBe("assistant");

1517+

expect(llmInputPayload.systemPrompt).toContain(CODEX_GPT5_BEHAVIOR_CONTRACT);

1518+

expect(llmInputContext.runId).toBe("run-1");

1519+

expect(llmInputContext.sessionId).toBe("session-1");

1520+

expect(llmInputContext.sessionKey).toBe("agent:main:session-1");

1525152115261522

await harness.notify({

15271523

method: "item/agentMessage/delta",

@@ -1538,30 +1534,26 @@ describe("runCodexAppServerAttempt", () => {

15381534

expect(result.assistantTexts).toEqual(["hello back"]);

15391535

expect(llmOutput).toHaveBeenCalledTimes(1);

15401536

expect(agentEnd).toHaveBeenCalledTimes(1);

1541-

const agentEvents = onRunAgentEvent.mock.calls.map(([event]) => event);

1542-

expect(agentEvents).toEqual(

1543-

expect.arrayContaining([

1544-

{

1545-

stream: "lifecycle",

1546-

data: expect.objectContaining({

1547-

phase: "start",

1548-

startedAt: expect.any(Number),

1549-

}),

1550-

},

1551-

{

1552-

stream: "assistant",

1553-

data: { text: "hello back" },

1554-

},

1555-

{

1556-

stream: "lifecycle",

1557-

data: expect.objectContaining({

1558-

phase: "end",

1559-

startedAt: expect.any(Number),

1560-

endedAt: expect.any(Number),

1561-

}),

1562-

},

1563-

]),

1537+

const agentEvents = onRunAgentEvent.mock.calls.map(([event]) => event) as Array<{

1538+

data: {

1539+

endedAt?: number;

1540+

phase?: string;

1541+

startedAt?: number;

1542+

text?: string;

1543+

};

1544+

stream: string;

1545+

}>;

1546+

const lifecycleStart = agentEvents.find(

1547+

(event) => event.stream === "lifecycle" && event.data.phase === "start",

1548+

);

1549+

expect(typeof lifecycleStart?.data.startedAt).toBe("number");

1550+

const assistantEvent = agentEvents.find((event) => event.stream === "assistant");

1551+

expect(assistantEvent?.data).toEqual({ text: "hello back" });

1552+

const lifecycleEnd = agentEvents.find(

1553+

(event) => event.stream === "lifecycle" && event.data.phase === "end",

15641554

);

1555+

expect(typeof lifecycleEnd?.data.startedAt).toBe("number");

1556+

expect(typeof lifecycleEnd?.data.endedAt).toBe("number");

15651557

const startIndex = agentEvents.findIndex(

15661558

(event) => event.stream === "lifecycle" && event.data.phase === "start",

15671559

);

@@ -1572,54 +1564,48 @@ describe("runCodexAppServerAttempt", () => {

15721564

expect(startIndex).toBeGreaterThanOrEqual(0);

15731565

expect(assistantIndex).toBeGreaterThan(startIndex);

15741566

expect(endIndex).toBeGreaterThan(assistantIndex);

1575-

expect(globalAgentEvents).toEqual(

1576-

expect.arrayContaining([

1577-

expect.objectContaining({

1578-

runId: "run-1",

1579-

sessionKey: "agent:main:session-1",

1580-

stream: "assistant",

1581-

data: { text: "hello back" },

1582-

}),

1583-

expect.objectContaining({

1584-

runId: "run-1",

1585-

sessionKey: "agent:main:session-1",

1586-

stream: "lifecycle",

1587-

data: expect.objectContaining({ phase: "end" }),

1588-

}),

1589-

]),

1567+

const globalAssistantEvent = globalAgentEvents.find((event) => event.stream === "assistant");

1568+

expect(globalAssistantEvent?.runId).toBe("run-1");

1569+

expect(globalAssistantEvent?.sessionKey).toBe("agent:main:session-1");

1570+

expect(globalAssistantEvent?.data).toEqual({ text: "hello back" });

1571+

const globalEndEvent = globalAgentEvents.find(

1572+

(event) => event.stream === "lifecycle" && event.data.phase === "end",

15901573

);

1574+

expect(globalEndEvent?.runId).toBe("run-1");

1575+

expect(globalEndEvent?.sessionKey).toBe("agent:main:session-1");

159115761592-

expect(llmOutput).toHaveBeenCalledWith(

1593-

expect.objectContaining({

1594-

runId: "run-1",

1595-

sessionId: "session-1",

1596-

provider: "codex",

1597-

model: "gpt-5.4-codex",

1598-

resolvedRef: "codex/gpt-5.4-codex",

1599-

harnessId: "codex",

1600-

assistantTexts: ["hello back"],

1601-

lastAssistant: expect.objectContaining({

1602-

role: "assistant",

1603-

}),

1604-

}),

1605-

expect.objectContaining({

1606-

runId: "run-1",

1607-

sessionId: "session-1",

1608-

}),

1609-

);

1610-

expect(agentEnd).toHaveBeenCalledWith(

1611-

expect.objectContaining({

1612-

success: true,

1613-

messages: expect.arrayContaining([

1614-

expect.objectContaining({ role: "user" }),

1615-

expect.objectContaining({ role: "assistant" }),

1616-

]),

1617-

}),

1618-

expect.objectContaining({

1619-

runId: "run-1",

1620-

sessionId: "session-1",

1621-

}),

1622-

);

1577+

const [llmOutputPayload, llmOutputContext] = llmOutput.mock.calls[0] as unknown as [

1578+

{

1579+

assistantTexts?: string[];

1580+

harnessId?: string;

1581+

lastAssistant?: { role?: string };

1582+

model?: string;

1583+

provider?: string;

1584+

resolvedRef?: string;

1585+

runId?: string;

1586+

sessionId?: string;

1587+

},

1588+

{ runId?: string; sessionId?: string },

1589+

];

1590+

expect(llmOutputPayload.runId).toBe("run-1");

1591+

expect(llmOutputPayload.sessionId).toBe("session-1");

1592+

expect(llmOutputPayload.provider).toBe("codex");

1593+

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

1594+

expect(llmOutputPayload.resolvedRef).toBe("codex/gpt-5.4-codex");

1595+

expect(llmOutputPayload.harnessId).toBe("codex");

1596+

expect(llmOutputPayload.assistantTexts).toEqual(["hello back"]);

1597+

expect(llmOutputPayload.lastAssistant?.role).toBe("assistant");

1598+

expect(llmOutputContext.runId).toBe("run-1");

1599+

expect(llmOutputContext.sessionId).toBe("session-1");

1600+

const [agentEndPayload, agentEndContext] = agentEnd.mock.calls[0] as unknown as [

1601+

{ messages?: Array<{ role?: string }>; success?: boolean },

1602+

{ runId?: string; sessionId?: string },

1603+

];

1604+

expect(agentEndPayload.success).toBe(true);

1605+

expect(agentEndPayload.messages?.some((message) => message.role === "user")).toBe(true);

1606+

expect(agentEndPayload.messages?.some((message) => message.role === "assistant")).toBe(true);

1607+

expect(agentEndContext.runId).toBe("run-1");

1608+

expect(agentEndContext.sessionId).toBe("session-1");

16231609

});

1624161016251611

it("forwards Codex app-server verbose tool summaries and completed output", async () => {