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

推荐订阅源

月光博客
月光博客
IT之家
IT之家
Hugging Face - Blog
Hugging Face - Blog
J
Java Code Geeks
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 叶小钗
MyScale Blog
MyScale Blog
G
Google Developers Blog
Microsoft Azure Blog
Microsoft Azure Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
大猫的无限游戏
大猫的无限游戏
博客园 - 三生石上(FineUI控件)
Google DeepMind News
Google DeepMind News
Engineering at Meta
Engineering at Meta
The Cloudflare Blog
Martin Fowler
Martin Fowler
酷 壳 – CoolShell
酷 壳 – CoolShell
N
Netflix TechBlog - Medium
MongoDB | Blog
MongoDB | Blog
I
InfoQ
WordPress大学
WordPress大学
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
H
Help Net Security

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
fix(doctor): avoid launchagent false positives · openclaw...
steipete · 2026-05-17 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

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

2525
2626

- Agents/edit tool: honor `file_path` and related path aliases when resolving edit-recovery targets, so post-write errors no longer surface false edit failures after the file actually changed. Fixes #81909. Thanks @giodl73-repo.

2727

- Gateway/diagnostics: add opt-in critical memory pressure stability snapshots with gateway logs, V8 heap, cgroup, active-resource, and redacted large session-file evidence. Fixes #82518.

28+

- Doctor/Gateway: avoid treating unrelated macOS LaunchAgents as legacy gateways just because their environment values mention old checkout paths.

2829

- CLI/setup: collapse raw gateway config keys in existing-config summaries into friendly `Model` and `Gateway` rows.

2930

- CLI/config: show concise human config-write output with an indented backup path instead of printing checksum-heavy overwrite audit details by default.

3031

- CLI/docs: call the canonical lowercase docs MCP search tool and surface MCP errors instead of returning empty search results. Fixes #82702. (#82704) Thanks @hclsys.

Original file line numberDiff line numberDiff line change

@@ -267,6 +267,27 @@ describe("findExtraGatewayServices (darwin / scanLaunchdDir) — real filesystem

267267

}

268268

});

269269
270+

it("does not report non-gateway LaunchAgents that mention clawdbot in environment values", async () => {

271+

const tmpHome = await fs.mkdtemp(path.join(os.tmpdir(), "openclaw-test-"));

272+

const launchdDir = path.join(tmpHome, "Library", "LaunchAgents");

273+

try {

274+

await fs.mkdir(launchdDir, { recursive: true });

275+

await fs.writeFile(

276+

path.join(launchdDir, "com.github.facebook.watchman.plist"),

277+

`<?xml version="1.0" encoding="UTF-8"?>

278+

<plist version="1.0"><dict>

279+

<key>Label</key><string>com.github.facebook.watchman</string>

280+

<key>EnvironmentVariables</key><dict><key>PATH</key><string>/Users/test/Projects/clawdbot2/node_modules/.bin:/opt/homebrew/bin</string></dict>

281+

<key>ProgramArguments</key><array><string>/opt/homebrew/bin/watchman</string><string>--foreground</string></array>

282+

</dict></plist>`,

283+

);

284+

const result = await findExtraGatewayServices({ HOME: tmpHome });

285+

expect(result).toStrictEqual([]);

286+

} finally {

287+

await fs.rm(tmpHome, { recursive: true, force: true });

288+

}

289+

});

290+
270291

it("reports custom LaunchAgents that execute openclaw gateway", async () => {

271292

const tmpHome = await fs.mkdtemp(path.join(os.tmpdir(), "openclaw-test-"));

272293

const launchdDir = path.join(tmpHome, "Library", "LaunchAgents");

Original file line numberDiff line numberDiff line change

@@ -300,7 +300,7 @@ async function scanLaunchdDir(params: {

300300

const marker =

301301

hasGatewayServiceMarker(contents) || executionMarker === "openclaw"

302302

? "openclaw"

303-

: executionMarker === "clawdbot" || legacyLabel || detectMarker(contents) === "clawdbot"

303+

: executionMarker === "clawdbot" || legacyLabel

304304

? "clawdbot"

305305

: null;

306306

if (!marker) {