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

推荐订阅源

C
Check Point Blog
GbyAI
GbyAI
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
U
Unit 42
美团技术团队
NISL@THU
NISL@THU
C
Cisco Blogs
SecWiki News
SecWiki News
N
Netflix TechBlog - Medium
Forbes - Security
Forbes - Security
Cloudbric
Cloudbric
雷峰网
雷峰网
T
Tailwind CSS Blog
博客园 - 司徒正美
The Register - Security
The Register - Security
L
LangChain Blog
S
Security Affairs
Hacker News - Newest:
Hacker News - Newest: "LLM"
B
Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
T
Threat Research - Cisco Blogs
I
InfoQ
S
Schneier on Security
L
Lohrmann on Cybersecurity
量子位
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Martin Fowler
Martin Fowler
Schneier on Security
Schneier on Security
F
Fortinet All Blogs
TaoSecurity Blog
TaoSecurity Blog
K
Kaspersky official blog
Google DeepMind News
Google DeepMind News
Cisco Talos Blog
Cisco Talos Blog
PCI Perspectives
PCI Perspectives
Attack and Defense Labs
Attack and Defense Labs
WordPress大学
WordPress大学
Microsoft Azure Blog
Microsoft Azure Blog
H
Help Net Security
Project Zero
Project Zero
The GitHub Blog
The GitHub Blog
D
Docker
N
News | PayPal Newsroom
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
H
Hacker News: Front Page
云风的 BLOG
云风的 BLOG
Microsoft Security Blog
Microsoft Security Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 聂微东
Webroot Blog
Webroot Blog
MongoDB | Blog
MongoDB | 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
fix: prompt Codex to send visible channel replies (#84397) · openclaw/openclaw@47eb4ca
joshavant · 2026-05-20 · via Recent Commits to openclaw:main

File tree

  • extensions/codex/src/app-server

  • src

    • agents/tools

    • auto-reply/reply

    • gateway

  • test

    • fixtures/agents/prompt-snapshots/codex-runtime-happy-path

    • helpers/agents

Original file line numberDiff line numberDiff line change

@@ -29,6 +29,7 @@ Docs: https://docs.openclaw.ai

2929

- Docker: keep the bundled Codex plugin in official release image keep lists so the default OpenAI agent harness remains available after Docker pruning. Fixes #83613. (#83626) Thanks @YuanHanzhong.

3030

- CLI/channels: preserve the first line of `openclaw channels logs` output when the rolling tail window starts exactly on a line boundary, mirroring the already-fixed `readLogSlice` behavior in `src/logging/log-tail.ts`.

3131

- Control UI: treat terminal session status as authoritative over stale active-run flags so completed terminal runs stop showing abort/live UI. (#84057)

32+

- Codex/message: tell message-tool-only Codex turns to send visible channel output with `message(action="send")` before ending, so direct replies do not stay private. Fixes #84129. (#84397) Thanks @joshavant.

3233

- CLI: preserve embedded equals signs in inline root option values instead of truncating after the second separator. (#83995) Thanks @ThiagoCAltoe.

3334

- Matrix/config: accept `messages.queue.byChannel.matrix` queue overrides and keep queue provider schema/type keys aligned for Matrix, Google Chat, and Mattermost. Thanks @bdjben.

3435

- CLI: format `openclaw acp client` failures through the shared error formatter so object-shaped errors stay readable instead of printing `[object Object]`. Fixes #83904. (#84080)

Original file line numberDiff line numberDiff line change

@@ -1402,7 +1402,12 @@ describe("runCodexAppServerAttempt", () => {

14021402

testing.buildDeveloperInstructions(params, {

14031403

dynamicTools: [createMessageDynamicTool("Message test tool")],

14041404

}),

1405-

).toContain("To send a visible message, use the `message` tool.");

1405+

).toContain('call `message` with `action="send"` before ending the turn');

1406+

expect(

1407+

testing.buildDeveloperInstructions(params, {

1408+

dynamicTools: [createMessageDynamicTool("Message test tool")],

1409+

}),

1410+

).toContain("Do not rely on normal final assistant text for visible delivery");

14061411
14071412

const withoutMessageToolInstructions = testing.buildDeveloperInstructions(params, {

14081413

dynamicTools: [],

@@ -1413,7 +1418,7 @@ describe("runCodexAppServerAttempt", () => {

14131418

params.sourceReplyDeliveryMode = "automatic";

14141419

const automaticInstructions = testing.buildDeveloperInstructions(params);

14151420

expect(automaticInstructions).toContain("active Codex delivery path");

1416-

expect(automaticInstructions).not.toContain("use the `message` tool");

1421+

expect(automaticInstructions).not.toContain('call `message` with `action="send"`');

14171422

});

14181423
14191424

it("includes Codex app-server scoped plugin command guidance in developer instructions", () => {

Original file line numberDiff line numberDiff line change

@@ -884,7 +884,12 @@ function buildVisibleReplyInstruction(

884884

? dynamicTools.some((tool) => tool.name.trim() === "message")

885885

: params.disableMessageTool !== true;

886886

if (params.sourceReplyDeliveryMode === "message_tool_only" && messageToolAvailable) {

887-

return "To send a visible message, use the `message` tool.";

887+

return [

888+

"Preserve channel/session context.",

889+

'If this turn needs visible output in the current channel, call `message` with `action="send"` before ending the turn.',

890+

"Do not rely on normal final assistant text for visible delivery; final text is private to OpenClaw/Codex in this mode.",

891+

'If no visible channel response is needed, do not call `message(action="send")`.',

892+

].join(" ");

888893

}

889894

return "To send a visible reply, use the active Codex delivery path.";

890895

}

Original file line numberDiff line numberDiff line change

@@ -385,16 +385,18 @@ describe("message tool secret scoping", () => {

385385

const defaultTool = createMessageTool();

386386
387387

expect(scopedTool.description).toContain(

388-

'use action="send" with message for visible replies to the current source conversation',

388+

'if visible output is needed in the current source conversation, call action="send" with message before ending',

389389

);

390390

expect(scopedTool.description).toContain("target defaults to the current source conversation");

391-

expect(scopedTool.description).toContain("Normal final answers stay private");

391+

expect(scopedTool.description).toContain(

392+

"Normal final answers stay private and are not visible in this mode",

393+

);

392394

expect(explicitTargetTool.description).toContain("Include target when sending");

393395

expect(explicitTargetTool.description).not.toContain(

394396

"target defaults to the current source conversation",

395397

);

396398

expect(defaultTool.description).not.toContain(

397-

"visible replies to the current source conversation",

399+

"if visible output is needed in the current source conversation",

398400

);

399401

});

400402

@@ -405,7 +407,7 @@ describe("message tool secret scoping", () => {

405407

}).find((candidate) => candidate.name === "message");

406408
407409

expect(tool?.description).toContain(

408-

'use action="send" with message for visible replies to the current source conversation',

410+

'if visible output is needed in the current source conversation, call action="send" with message before ending',

409411

);

410412

});

411413
Original file line numberDiff line numberDiff line change

@@ -859,7 +859,7 @@ function appendMessageToolVisibleReplyHint(

859859

const targetGuidance = requireExplicitTarget

860860

? "Include target when sending."

861861

: "target defaults to the current source conversation; omit unless sending elsewhere.";

862-

return `${description} This turn: use action="send" with message for visible replies to the current source conversation. ${targetGuidance} Normal final answers stay private.`;

862+

return `${description} This turn: if visible output is needed in the current source conversation, call action="send" with message before ending. ${targetGuidance} Normal final answers stay private and are not visible in this mode.`;

863863

}

864864
865865

function appendMessageToolReadHint(

Original file line numberDiff line numberDiff line change

@@ -513,7 +513,7 @@ describe("tryDispatchAcpReply", () => {

513513

expect(managerMocks.runTurn).toHaveBeenCalledTimes(1);

514514

const text = runTurnCall().text;

515515

expect(text).toContain("Source channel delivery is private by default");

516-

expect(text).toContain("message(action=send)");

516+

expect(text).toContain('call `message` with `action="send"` before ending');

517517

expect(text).toContain("The target defaults to the current source channel");

518518

expect(text).toContain("reply privately unless you send explicitly");

519519

});

Original file line numberDiff line numberDiff line change

@@ -127,7 +127,7 @@ function resolveAcpTurnText(params: {

127127

[

128128

"Source channel delivery is private by default for this turn.",

129129

"Normal ACP final output will not be automatically posted to the source channel.",

130-

"To send visible output, use message(action=send). The target defaults to the current source channel.",

130+

'If visible output is needed in the current source channel, call `message` with `action="send"` before ending. The target defaults to the current source channel.',

131131

].join(" "),

132132

);

133133

return params.promptText ? `${guidance}\n\n${params.promptText}` : guidance;

Original file line numberDiff line numberDiff line change

@@ -45,11 +45,11 @@ describe("group runtime loading", () => {

4545

silentToken: "NO_REPLY",

4646

});

4747

expect(toolOnlyContext).toContain("Normal final replies are private");

48-

expect(toolOnlyContext).toContain("message tool with action=send");

48+

expect(toolOnlyContext).toContain('message tool with action="send" before ending');

4949

expect(toolOnlyContext).toContain("Be a good group participant");

5050

expect(toolOnlyContext).toContain("wrap bare URLs");

5151

expect(toolOnlyContext).toContain("<https://example.com>");

52-

expect(toolOnlyContext).toContain("do not call message(action=send)");

52+

expect(toolOnlyContext).toContain('do not call message(action="send")');

5353

expect(toolOnlyContext).not.toContain('reply with exactly "NO_REPLY"');

5454

expect(

5555

isolatedGroups.buildGroupIntro({

@@ -82,8 +82,8 @@ describe("group runtime loading", () => {

8282

sourceReplyDeliveryMode: "message_tool_only",

8383

});

8484

expect(toolOnlyContext).toContain("Normal final replies are private");

85-

expect(toolOnlyContext).toContain("message tool with action=send");

86-

expect(toolOnlyContext).toContain("do not call message(action=send)");

85+

expect(toolOnlyContext).toContain('message tool with action="send" before ending');

86+

expect(toolOnlyContext).toContain('do not call message(action="send")');

8787

expect(toolOnlyContext).not.toContain("NO_REPLY");

8888

expect(toolOnlyContext).not.toContain("Your replies are automatically sent");

8989

});

Original file line numberDiff line numberDiff line change

@@ -231,7 +231,7 @@ export function buildGroupChatContext(params: {

231231

lines.push(`You are in a ${providerLabel} group chat.`);

232232

if (messageToolOnly) {

233233

lines.push(

234-

"Normal final replies are private and are not automatically sent to this group chat. To post visible output here, use the message tool with action=send; the target defaults to this group chat.",

234+

'Normal final replies are private and are not automatically sent to this group chat. If this turn needs visible output here, call the message tool with action="send" before ending; the target defaults to this group chat.',

235235

);

236236

} else {

237237

lines.push(

@@ -255,7 +255,7 @@ export function buildGroupChatContext(params: {

255255

!messageToolOnly && params.silentToken && params.silentReplyPolicy !== "disallow";

256256

if (messageToolOnly) {

257257

lines.push(

258-

"If no visible group response is needed, do not call message(action=send). Your normal final answer stays private and will not be posted to the group.",

258+

'If no visible group response is needed, do not call message(action="send"). Your normal final answer stays private and will not be posted to the group.',

259259

);

260260

}

261261

if (canUseSilentReply) {

@@ -286,10 +286,10 @@ export function buildDirectChatContext(params: {

286286

lines.push(`You are in a ${providerLabel} direct conversation.`);

287287

if (messageToolOnly) {

288288

lines.push(

289-

"Normal final replies are private and are not automatically sent to this conversation. To post visible output here, use the message tool with action=send; the target defaults to this conversation.",

289+

'Normal final replies are private and are not automatically sent to this conversation. If this turn needs visible output here, call the message tool with action="send" before ending; the target defaults to this conversation.',

290290

);

291291

lines.push(

292-

"If no visible direct response is needed, do not call message(action=send). Your normal final answer stays private and will not be posted to the conversation.",

292+

'If no visible direct response is needed, do not call message(action="send"). Your normal final answer stays private and will not be posted to the conversation.',

293293

);

294294

return lines.join(" ");

295295

}

Original file line numberDiff line numberDiff line change

@@ -300,7 +300,9 @@ describe("buildInboundUserContextPrefix", () => {

300300

{ sourceReplyDeliveryMode: "message_tool_only" },

301301

);

302302
303-

expect(text).toContain("Delivery: to send a message, use the `message` tool.");

303+

expect(text).toContain(

304+

'Delivery: if this turn needs visible output in the current source conversation, call `message` with `action="send"` before ending.',

305+

);

304306

expect(text.indexOf("Delivery:")).toBeLessThan(text.indexOf("Conversation info"));

305307

expect(text).toContain("Conversation info (untrusted metadata):");

306308

});

@@ -317,7 +319,7 @@ describe("buildInboundUserContextPrefix", () => {

317319

{ sourceReplyDeliveryMode: "automatic" },

318320

);

319321
320-

expect(text).not.toContain("Delivery: to send a message");

322+

expect(text).not.toContain("Delivery: if this turn needs visible output");

321323

expect(text).toContain("Conversation info (untrusted metadata):");

322324

});

323325