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

推荐订阅源

S
Schneier on Security
F
Fortinet All Blogs
B
Blog
GbyAI
GbyAI
P
Proofpoint News Feed
量子位
The Register - Security
The Register - Security
宝玉的分享
宝玉的分享
大猫的无限游戏
大猫的无限游戏
云风的 BLOG
云风的 BLOG
V
Visual Studio Blog
B
Blog RSS Feed
WordPress大学
WordPress大学
Recorded Future
Recorded Future
Recent Announcements
Recent Announcements
V
Vulnerabilities – Threatpost
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
S
Secure Thoughts
雷峰网
雷峰网
Stack Overflow Blog
Stack Overflow Blog
C
Cybersecurity and Infrastructure Security Agency CISA
Webroot Blog
Webroot Blog
AWS News Blog
AWS News Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
The GitHub Blog
The GitHub Blog
爱范儿
爱范儿
O
OpenAI News
月光博客
月光博客
H
Hacker News: Front Page
S
Security Affairs
W
WeLiveSecurity
The Hacker News
The Hacker News
aimingoo的专栏
aimingoo的专栏
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Help Net Security
Help Net Security
MongoDB | Blog
MongoDB | Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
D
Docker
T
The Blog of Author Tim Ferriss
Spread Privacy
Spread Privacy
Blog — PlanetScale
Blog — PlanetScale
J
Java Code Geeks
S
Securelist
Microsoft Azure Blog
Microsoft Azure Blog
TaoSecurity Blog
TaoSecurity Blog
T
Threat Research - Cisco Blogs
M
MIT News - Artificial intelligence
A
About on SuperTechFans

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: harden agent recovery failures (#79729) · openclaw/openclaw@2fb05bc
stainlu · 2026-05-09 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

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

167167

- OpenAI/Codex: install the Codex runtime plugin from npm during OpenAI onboarding and load it automatically for implicit OpenAI model routes, while preserving manual PI runtime overrides. Fixes #79358.

168168

- OpenAI/realtime voice: defer `response.create` while a realtime response is still active, retry after `response.done`/`response.cancelled`, and align GA input transcription/noise-reduction defaults with the Codex realtime reference so Discord/Voice Call consult results can resume speaking instead of tripping the active-response race.

169169

- OpenAI/realtime voice: avoid duplicate barge-in cancellation requests, log realtime model interruption/cutoff events in Discord voice logs, and treat OpenAI's no-active-response cancellation reply as a completed cancel so Discord voice sessions do not wedge pending speech after fast interruptions.

170+

- Agents/runtime: strip trailing assistant prefill for Claude-family OpenAI Responses routes, persist prompt/assistant profile cooldown marks before fallback, and show the configured container root in sandbox escape diagnostics. Fixes #79688 and #79712. Thanks @stainlu and @mushuiyu886.

170171

- Gateway: avoid false degraded event-loop health during rapid health/readiness/status probes unless sustained load has delay co-evidence, while keeping hard delay detection immediate. (#77028) Thanks @rubencu.

171172

- Markdown: keep blockquote spans off trailing paragraph separators. Fixes #79646.

172173

- Plugin SDK/LM Studio: recover Harmony plain-text tool calls from LM Studio streams. Fixes #78326.

Original file line numberDiff line numberDiff line change

@@ -2042,13 +2042,15 @@ export async function runEmbeddedPiAgent(

20422042

(await advanceAuthProfile())

20432043

) {

20442044

if (failedPromptProfileId && promptProfileFailureReason) {

2045-

maybeMarkAuthProfileFailure({

2046-

profileId: failedPromptProfileId,

2047-

reason: promptProfileFailureReason,

2048-

modelId,

2049-

}).catch((err) =>

2050-

log.warn(`deferred prompt profile failure mark failed: ${String(err)}`),

2051-

);

2045+

try {

2046+

await maybeMarkAuthProfileFailure({

2047+

profileId: failedPromptProfileId,

2048+

reason: promptProfileFailureReason,

2049+

modelId,

2050+

});

2051+

} catch (err) {

2052+

log.warn(`prompt profile failure mark failed: ${String(err)}`);

2053+

}

20522054

}

20532055

traceAttempts.push({

20542056

provider,

@@ -2077,13 +2079,15 @@ export async function runEmbeddedPiAgent(

20772079

});

20782080

}

20792081

if (failedPromptProfileId && promptProfileFailureReason) {

2080-

maybeMarkAuthProfileFailure({

2081-

profileId: failedPromptProfileId,

2082-

reason: promptProfileFailureReason,

2083-

modelId,

2084-

}).catch((err) =>

2085-

log.warn(`deferred prompt profile failure mark failed: ${String(err)}`),

2086-

);

2082+

try {

2083+

await maybeMarkAuthProfileFailure({

2084+

profileId: failedPromptProfileId,

2085+

reason: promptProfileFailureReason,

2086+

modelId,

2087+

});

2088+

} catch (err) {

2089+

log.warn(`prompt profile failure mark failed: ${String(err)}`);

2090+

}

20872091

}

20882092

const fallbackThinking = pickFallbackThinkingLevel({

20892093

message: errorText,

Original file line numberDiff line numberDiff line change

@@ -153,7 +153,7 @@ export async function handleAssistantFailover(params: {

153153

}

154154
155155

const rotated = await params.advanceAuthProfile();

156-

void markFailedProfile();

156+

await markFailedProfile();

157157

if (params.timedOut && !params.isProbeSession && failedProfileId) {

158158

params.warn(`Profile ${failedProfileId} timed out. Trying next account...`);

159159

}

Original file line numberDiff line numberDiff line change

@@ -81,6 +81,7 @@ describe("resolveAttemptTranscriptPolicy", () => {

8181

sanitizeToolCallIds: true,

8282

toolCallIdMode: "strict",

8383

repairToolUseResultPairing: true,

84+

validateAnthropicTurns: false,

8485

allowSyntheticToolResults: false,

8586

});

8687

expect(resolveProviderRuntimePluginMock).toHaveBeenCalledWith({

@@ -90,4 +91,22 @@ describe("resolveAttemptTranscriptPolicy", () => {

9091

env,

9192

});

9293

});

94+
95+

it("inherits Claude-family OpenAI Responses turn validation from legacy fallback", () => {

96+

const policy = resolveAttemptTranscriptPolicy({

97+

runtimePlanModelContext: {

98+

workspaceDir: "/tmp/openclaw-transcript-policy",

99+

modelApi: "openai-responses",

100+

},

101+

provider: "anthropic-foundry",

102+

modelId: "anthropic-foundry/claude-opus-4-7",

103+

});

104+
105+

expect(policy).toMatchObject({

106+

sanitizeToolCallIds: true,

107+

toolCallIdMode: "strict",

108+

validateAnthropicTurns: true,

109+

validateGeminiTurns: false,

110+

});

111+

});

93112

});

Original file line numberDiff line numberDiff line change

@@ -89,7 +89,7 @@ describe("resolveSandboxFsPathWithMounts", () => {

8989

expect(resolved.writable).toBe(true);

9090

});

9191
92-

it("preserves legacy sandbox-root error for outside paths", () => {

92+

it("includes the container workspace root in outside-path errors", () => {

9393

const sandbox = createSandbox();

9494

const mounts = buildSandboxFsMounts(sandbox);

9595

expect(() =>

@@ -100,7 +100,31 @@ describe("resolveSandboxFsPathWithMounts", () => {

100100

defaultContainerRoot: sandbox.containerWorkdir,

101101

mounts,

102102

}),

103-

).toThrow(/Path escapes sandbox root/);

103+

).toThrow(

104+

/Path escapes sandbox root \(.*container root \/workspace\): \/etc\/passwd\. Use a path under \/workspace\/ instead\./,

105+

);

106+

});

107+
108+

it("uses the configured custom container root in outside-path errors", () => {

109+

const sandbox = createSandbox({

110+

containerWorkdir: "/sandbox-root",

111+

docker: {

112+

...createSandbox().docker,

113+

workdir: "/sandbox-root",

114+

},

115+

});

116+

const mounts = buildSandboxFsMounts(sandbox);

117+

expect(() =>

118+

resolveSandboxFsPathWithMounts({

119+

filePath: "/tmp/healthcheck-alert/config.json",

120+

cwd: sandbox.workspaceDir,

121+

defaultWorkspaceRoot: sandbox.workspaceDir,

122+

defaultContainerRoot: sandbox.containerWorkdir,

123+

mounts,

124+

}),

125+

).toThrow(

126+

/Path escapes sandbox root \(.*container root \/sandbox-root\): \/tmp\/healthcheck-alert\/config\.json\. Use a path under \/sandbox-root\/ instead\./,

127+

);

104128

});

105129
106130

it("prefers custom bind mounts over default workspace mount at /workspace", () => {

Original file line numberDiff line numberDiff line change

@@ -151,13 +151,30 @@ export function resolveSandboxFsPathWithMounts(params: {

151151

};

152152

}

153153
154-

// Preserve legacy error wording for out-of-sandbox paths.

155-

resolveSandboxPath({

156-

filePath: input,

157-

cwd: params.cwd,

158-

root: params.defaultWorkspaceRoot,

154+

const escapeMessage = formatSandboxRootEscapeMessage({

155+

input,

156+

defaultWorkspaceRoot: params.defaultWorkspaceRoot,

157+

defaultContainerRoot: params.defaultContainerRoot,

159158

});

160-

throw new Error(`Path escapes sandbox root (${params.defaultWorkspaceRoot}): ${input}`);

159+

try {

160+

resolveSandboxPath({

161+

filePath: input,

162+

cwd: params.cwd,

163+

root: params.defaultWorkspaceRoot,

164+

});

165+

} catch {

166+

throw new Error(escapeMessage);

167+

}

168+

throw new Error(escapeMessage);

169+

}

170+
171+

function formatSandboxRootEscapeMessage(params: {

172+

input: string;

173+

defaultWorkspaceRoot: string;

174+

defaultContainerRoot: string;

175+

}): string {

176+

const containerRoot = normalizeContainerPath(params.defaultContainerRoot);

177+

return `Path escapes sandbox root (${params.defaultWorkspaceRoot}; container root ${containerRoot}): ${params.input}. Use a path under ${containerRoot}/ instead.`;

161178

}

162179
163180

function compareMountsByContainerPath(a: SandboxFsMount, b: SandboxFsMount): number {

Original file line numberDiff line numberDiff line change

@@ -366,6 +366,25 @@ describe("resolveTranscriptPolicy", () => {

366366

expectStrictOpenAiCompatibleReplayDefaults("custom-openai-proxy");

367367

});

368368
369+

it("enables assistant prefill stripping for unowned Claude OpenAI Responses routes (#79688)", () => {

370+

const claudePolicy = resolveTranscriptPolicy({

371+

provider: "anthropic-foundry",

372+

modelId: "anthropic-foundry/claude-opus-4-7",

373+

modelApi: "openai-responses",

374+

});

375+

expect(claudePolicy.sanitizeToolCallIds).toBe(true);

376+

expect(claudePolicy.toolCallIdMode).toBe("strict");

377+

expect(claudePolicy.validateAnthropicTurns).toBe(true);

378+

expect(claudePolicy.validateGeminiTurns).toBe(false);

379+
380+

const gptPolicy = resolveTranscriptPolicy({

381+

provider: "custom-openai-proxy",

382+

modelId: "gpt-5.4",

383+

modelApi: "openai-responses",

384+

});

385+

expect(gptPolicy.validateAnthropicTurns).toBe(false);

386+

});

387+
369388

it("preserves thinking blocks for newer Claude models in unowned Anthropic transport fallback", () => {

370389

// Opus 4.6 via custom proxy: should NOT drop thinking blocks

371390

const opus46 = resolveTranscriptPolicy({

Original file line numberDiff line numberDiff line change

@@ -71,6 +71,19 @@ function isAnthropicApi(modelApi?: string | null): boolean {

7171

return modelApi === "anthropic-messages" || modelApi === "bedrock-converse-stream";

7272

}

7373
74+

function isOpenAiResponsesCompatibleApi(modelApi?: string | null): boolean {

75+

return (

76+

modelApi === "openai-responses" ||

77+

modelApi === "openai-codex-responses" ||

78+

modelApi === "azure-openai-responses"

79+

);

80+

}

81+
82+

function isClaudeFamilyModelId(modelId?: string | null): boolean {

83+

const id = normalizeLowercaseStringOrEmpty(modelId);

84+

return /(?:^|[./:_-])claude(?:$|[./:_-])/.test(id);

85+

}

86+
7487

/**

7588

* Provides a narrow replay-policy fallback for providers that do not have an

7689

* owning runtime plugin.

@@ -101,6 +114,9 @@ function buildUnownedProviderTransportReplayFallback(params: {

101114

}

102115
103116

const modelId = normalizeLowercaseStringOrEmpty(params.modelId);

117+

const isClaudeOpenAiResponses = isOpenAiResponsesCompatibleApi(params.modelApi)

118+

? isClaudeFamilyModelId(modelId)

119+

: false;

104120

return {

105121

...(isGoogle || isAnthropic ? { sanitizeMode: "full" as const } : {}),

106122

...(isGoogle || isAnthropic || requiresOpenAiCompatibleToolIdSanitization

@@ -126,7 +142,9 @@ function buildUnownedProviderTransportReplayFallback(params: {

126142

: {}),

127143

...(isGoogle || isStrictOpenAiCompatible ? { applyAssistantFirstOrderingFix: true } : {}),

128144

...(isGoogle || isStrictOpenAiCompatible ? { validateGeminiTurns: true } : {}),

129-

...(isAnthropic || isStrictOpenAiCompatible ? { validateAnthropicTurns: true } : {}),

145+

...(isAnthropic || isStrictOpenAiCompatible || isClaudeOpenAiResponses

146+

? { validateAnthropicTurns: true }

147+

: {}),

130148

...(isGoogle || isAnthropic ? { allowSyntheticToolResults: true } : {}),

131149

};

132150

}