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

推荐订阅源

D
DataBreaches.Net
Engineering at Meta
Engineering at Meta
C
Cisco Blogs
H
Heimdal Security Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
S
Securelist
N
Netflix TechBlog - Medium
雷峰网
雷峰网
D
Darknet – Hacking Tools, Hacker News & Cyber Security
T
The Exploit Database - CXSecurity.com
I
InfoQ
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Project Zero
Project Zero
Spread Privacy
Spread Privacy
Stack Overflow Blog
Stack Overflow Blog
The GitHub Blog
The GitHub Blog
T
Threatpost
The Hacker News
The Hacker News
WordPress大学
WordPress大学
AWS News Blog
AWS News Blog
Latest news
Latest news
P
Privacy International News Feed
T
Tenable Blog
Google DeepMind News
Google DeepMind News
aimingoo的专栏
aimingoo的专栏
NISL@THU
NISL@THU
酷 壳 – CoolShell
酷 壳 – CoolShell
GbyAI
GbyAI
The Cloudflare Blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Blog — PlanetScale
Blog — PlanetScale
K
Kaspersky official blog
小众软件
小众软件
C
Cyber Attacks, Cyber Crime and Cyber Security
G
GRAHAM CLULEY
MongoDB | Blog
MongoDB | Blog
博客园 - 聂微东
Recent Commits to openclaw:main
Recent Commits to openclaw:main
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Know Your Adversary
Know Your Adversary
B
Blog RSS Feed
N
News and Events Feed by Topic
人人都是产品经理
人人都是产品经理
N
News | PayPal Newsroom
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
TaoSecurity Blog
TaoSecurity Blog
P
Proofpoint News Feed
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
A
About on SuperTechFans
V
Visual Studio 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(doctor): diagnose malformed provider catalogs · openclaw/openclaw@cc29005
vincentkoc · 2026-05-31 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -80,6 +80,9 @@ function createDeps(overrides: Partial<CoreHealthCheckDeps> = {}): CoreHealthChe

8080

async collectRuntimeToolSchemaFindings() {

8181

return [];

8282

},

83+

async collectProviderCatalogProjectionFindings() {

84+

return [];

85+

},

8386

...overrides,

8487

};

8588

}

@@ -664,4 +667,41 @@ describe("registerCoreHealthChecks", () => {

664667

}),

665668

);

666669

});

670+
671+

it("reports active provider catalog projection findings", async () => {

672+

const check = getCheck(

673+

createCoreHealthChecks(

674+

createDeps({

675+

async collectProviderCatalogProjectionFindings(): Promise<readonly HealthFinding[]> {

676+

return [

677+

{

678+

checkId: "core/doctor/provider-catalog-projection",

679+

severity: "error",

680+

message:

681+

"Provider catalog mockplugin cannot be projected into the unified text model catalog.",

682+

path: "plugins.entries.mockplugin",

683+

target: "mockplugin",

684+

requirement: "mockplugin provider catalog entry read failed",

685+

},

686+

];

687+

},

688+

}),

689+

),

690+

"core/doctor/provider-catalog-projection",

691+

);

692+
693+

await expect(

694+

check.detect({

695+

mode: "doctor",

696+

runtime,

697+

cfg: {},

698+

}),

699+

).resolves.toContainEqual(

700+

expect.objectContaining({

701+

checkId: "core/doctor/provider-catalog-projection",

702+

severity: "error",

703+

target: "mockplugin",

704+

}),

705+

);

706+

});

667707

});

Original file line numberDiff line numberDiff line change

@@ -42,6 +42,9 @@ export type CoreHealthCheckDeps = {

4242

readonly collectRuntimeToolSchemaFindings: (

4343

ctx: HealthCheckContext,

4444

) => Promise<readonly HealthFinding[]>;

45+

readonly collectProviderCatalogProjectionFindings: (

46+

ctx: HealthCheckContext,

47+

) => Promise<readonly HealthFinding[]>;

4548

};

4649
4750

async function detectUnavailableSkillsWithRuntime(

@@ -79,11 +82,19 @@ async function collectRuntimeToolSchemaFindingsWithRuntime(

7982

return runtime.collectRuntimeToolSchemaFindings(ctx.cfg);

8083

}

8184
85+

async function collectProviderCatalogProjectionFindingsWithRuntime(

86+

ctx: HealthCheckContext,

87+

): Promise<readonly HealthFinding[]> {

88+

const runtime = await loadDoctorCoreChecksRuntimeModule();

89+

return runtime.collectProviderCatalogProjectionFindings(ctx.cfg);

90+

}

91+
8292

const defaultCoreHealthCheckDeps: CoreHealthCheckDeps = {

8393

detectUnavailableSkills: detectUnavailableSkillsWithRuntime,

8494

collectSecurityWarnings: collectSecurityWarningsWithRuntime,

8595

collectWorkspaceSuggestionNotes: collectWorkspaceSuggestionNotesWithRuntime,

8696

collectRuntimeToolSchemaFindings: collectRuntimeToolSchemaFindingsWithRuntime,

97+

collectProviderCatalogProjectionFindings: collectProviderCatalogProjectionFindingsWithRuntime,

8798

};

8899
89100

export function configValidationIssuesToHealthFindings(

@@ -421,6 +432,18 @@ function createRuntimeToolSchemaCheck(deps: CoreHealthCheckDeps): HealthCheck {

421432

};

422433

}

423434
435+

function createProviderCatalogProjectionCheck(deps: CoreHealthCheckDeps): HealthCheck {

436+

return {

437+

id: "core/doctor/provider-catalog-projection",

438+

kind: "core",

439+

description: "Provider catalog hooks project into unified text model catalog rows.",

440+

source: "doctor",

441+

async detect(ctx) {

442+

return deps.collectProviderCatalogProjectionFindings(ctx);

443+

},

444+

};

445+

}

446+
424447

function normalizeDoctorNoteLine(line: string): string {

425448

return line.replace(/^- /, "").trim();

426449

}

@@ -896,6 +919,7 @@ function createConvertedWorkflowChecks(deps: CoreHealthCheckDeps): readonly Heal

896919

openAIOAuthTlsCheck,

897920

hooksModelCheck,

898921

bootstrapSizeCheck,

922+

createProviderCatalogProjectionCheck(deps),

899923

createRuntimeToolSchemaCheck(deps),

900924

createWorkspaceSuggestionsCheck(deps),

901925

];

Original file line numberDiff line numberDiff line change

@@ -384,6 +384,49 @@ describe("doctor health contributions", () => {

384384

);

385385

});

386386
387+

it("reports provider catalog projection blockers during normal doctor runs", async () => {

388+

const contribution = requireDoctorContribution("doctor:provider-catalog-projection");

389+

mocks.getHealthCheck.mockReturnValue({

390+

id: "core/doctor/provider-catalog-projection",

391+

detect: vi.fn(async () => [

392+

{

393+

checkId: "core/doctor/provider-catalog-projection",

394+

severity: "error",

395+

message:

396+

"Provider catalog mockplugin cannot be projected into the unified text model catalog.",

397+

path: "plugins.entries.mockplugin",

398+

target: "mockplugin",

399+

requirement: "provider catalog entry read failed",

400+

fixHint:

401+

"Fix the plugin provider catalog hook or disable the plugin, then rerun doctor before relying on model discovery.",

402+

},

403+

]),

404+

});

405+

const ctx = {

406+

cfg: {},

407+

configResult: { cfg: {} },

408+

sourceConfigValid: true,

409+

prompter: buildDoctorPrompter(false),

410+

runtime: { log: vi.fn(), error: vi.fn(), exit: vi.fn() },

411+

options: {},

412+

cfgForPersistence: {},

413+

configPath: "/tmp/fake-openclaw.json",

414+

env: {},

415+

} as Parameters<(typeof contribution)["run"]>[0];

416+
417+

await contribution.run(ctx);

418+
419+

expect(ctx.healthOk).toBe(false);

420+

expect(mocks.note).toHaveBeenCalledWith(

421+

expect.stringContaining("Provider catalog mockplugin cannot be projected"),

422+

"Doctor warnings",

423+

);

424+

expect(mocks.note).toHaveBeenCalledWith(

425+

expect.stringContaining("issue: provider catalog entry read failed"),

426+

"Doctor warnings",

427+

);

428+

});

429+
387430

it("skips doctor config writes under legacy update parents", () => {

388431

expect(

389432

shouldSkipLegacyUpdateDoctorConfigWrite({

Original file line numberDiff line numberDiff line change

@@ -935,7 +935,7 @@ async function runFinalConfigValidationHealth(ctx: DoctorHealthFlowContext): Pro

935935

}

936936

}

937937
938-

function formatRuntimeToolSchemaFindings(findings: readonly HealthFinding[]): string {

938+

function formatHealthFindings(findings: readonly HealthFinding[]): string {

939939

return findings

940940

.map((finding) => {

941941

const lines = [`- ${finding.message}`];

@@ -953,6 +953,31 @@ function formatRuntimeToolSchemaFindings(findings: readonly HealthFinding[]): st

953953

.join("\n");

954954

}

955955
956+

async function runProviderCatalogProjectionHealth(ctx: DoctorHealthFlowContext): Promise<void> {

957+

const { registerCoreHealthChecks } = await loadDoctorCoreChecksModule();

958+

const { getHealthCheck } = await loadHealthCheckRegistryModule();

959+

const { resolveAgentWorkspaceDir, resolveDefaultAgentId } = await loadAgentScopeModule();

960+

const { note } = await loadNoteModule();

961+
962+

registerCoreHealthChecks();

963+

const check = getHealthCheck("core/doctor/provider-catalog-projection");

964+

if (!check) {

965+

return;

966+

}

967+

const findings = await check.detect({

968+

mode: "doctor",

969+

runtime: ctx.runtime,

970+

cfg: ctx.cfg,

971+

cwd: resolveAgentWorkspaceDir(ctx.cfg, resolveDefaultAgentId(ctx.cfg)),

972+

configPath: ctx.configPath,

973+

});

974+

if (findings.length === 0) {

975+

return;

976+

}

977+

ctx.healthOk = false;

978+

note(formatHealthFindings(findings), "Doctor warnings");

979+

}

980+
956981

async function runRuntimeToolSchemasHealth(ctx: DoctorHealthFlowContext): Promise<void> {

957982

const { registerCoreHealthChecks } = await loadDoctorCoreChecksModule();

958983

const { getHealthCheck } = await loadHealthCheckRegistryModule();

@@ -975,7 +1000,7 @@ async function runRuntimeToolSchemasHealth(ctx: DoctorHealthFlowContext): Promis

9751000

return;

9761001

}

9771002

ctx.healthOk = false;

978-

note(formatRuntimeToolSchemaFindings(findings), "Doctor warnings");

1003+

note(formatHealthFindings(findings), "Doctor warnings");

9791004

}

9801005
9811006

export function resolveDoctorHealthContributions(): DoctorHealthContribution[] {

@@ -1116,6 +1141,12 @@ export function resolveDoctorHealthContributions(): DoctorHealthContribution[] {

11161141

label: "Tool result cap",

11171142

run: runToolResultCapHealth,

11181143

}),

1144+

createDoctorHealthContribution({

1145+

id: "doctor:provider-catalog-projection",

1146+

label: "Provider catalog projection",

1147+

healthCheckIds: ["core/doctor/provider-catalog-projection"],

1148+

run: runProviderCatalogProjectionHealth,

1149+

}),

11191150

createDoctorHealthContribution({

11201151

id: "doctor:runtime-tool-schemas",

11211152

label: "Runtime tool schemas",

Original file line numberDiff line numberDiff line change

@@ -179,6 +179,12 @@ export const doctorHealthConversionRules = [

179179

target: ["core/doctor/tool-result-cap"],

180180

rule: "Detect explicit live tool-result cap overrides that are stale or ineffective; preserve deep-mode effective cap output as finding metadata.",

181181

},

182+

{

183+

contributionId: "doctor:provider-catalog-projection",

184+

conversion: "detect-only",

185+

target: ["core/doctor/provider-catalog-projection"],

186+

rule: "Validate provider catalog hooks against unified text catalog projection and report malformed plugin catalog rows during doctor.",

187+

},

182188

{

183189

contributionId: "doctor:runtime-tool-schemas",

184190

conversion: "detect-only",

Original file line numberDiff line numberDiff line change

@@ -14,6 +14,8 @@ export function projectProviderCatalogResultToUnifiedTextRows(params: {

1414

? { [params.providerId]: params.result.provider }

1515

: params.result.providers;

1616

const rows: UnifiedModelCatalogEntry[] = [];

17+

// Doctor owns malformed plugin catalog diagnostics; runtime projection stays on

18+

// the typed provider catalog contract instead of carrying fallback semantics.

1719

for (const [providerId, providerConfig] of Object.entries(providers)) {

1820

for (const model of providerConfig.models ?? []) {

1921

rows.push({