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

推荐订阅源

Google DeepMind News
Google DeepMind News
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Security Latest
Security Latest
P
Palo Alto Networks Blog
AWS News Blog
AWS News Blog
NISL@THU
NISL@THU
T
Threatpost
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Latest news
Latest news
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
WordPress大学
WordPress大学
J
Java Code Geeks
P
Privacy International News Feed
阮一峰的网络日志
阮一峰的网络日志
S
Schneier on Security
博客园 - 聂微东
Project Zero
Project Zero
美团技术团队
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Scott Helme
Scott Helme
I
Intezer
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
H
Hacker News: Front Page
S
Security @ Cisco Blogs
博客园 - 司徒正美
O
OpenAI News
Last Week in AI
Last Week in AI
L
LINUX DO - 热门话题
酷 壳 – CoolShell
酷 壳 – CoolShell
SecWiki News
SecWiki News
月光博客
月光博客
S
Security Affairs
The GitHub Blog
The GitHub Blog
P
Privacy & Cybersecurity Law Blog
S
Secure Thoughts
V
V2EX
S
Securelist
F
Fortinet All Blogs
W
WeLiveSecurity
D
Docker
博客园 - 三生石上(FineUI控件)
Simon Willison's Weblog
Simon Willison's Weblog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
C
Cyber Attacks, Cyber Crime and Cyber Security
V
Visual Studio Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Webroot Blog
Webroot Blog
Engineering at Meta
Engineering at Meta

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(qa): sanitize evidence gallery metadata · openclaw/openclaw@f60aec6
vincentkoc · 2026-06-20 · via Recent Commits to openclaw:main

@@ -114,6 +114,20 @@ function sanitizeGalleryPreview(

114114

return value === null ? null : sanitizeGalleryText(value, params);

115115

}

116116117+

function sanitizeGalleryStringArray(

118+

values: Iterable<unknown>,

119+

params: {

120+

extraRoots?: readonly string[];

121+

repoRoot: string;

122+

},

123+

) {

124+

return readOrderedStringArray(

125+

Array.from(values)

126+

.filter((value): value is string => typeof value === "string")

127+

.map((value) => sanitizeGalleryText(value, params)),

128+

);

129+

}

130+117131

async function realpathIfExists(filePath: string): Promise<string | null> {

118132

return fs.realpath(filePath).catch(() => null);

119133

}

@@ -422,11 +436,11 @@ async function buildArtifactView(params: {

422436

? "Evidence artifact is not declared by this evidence summary."

423437

: "Evidence artifact not found.",

424438

href: null,

425-

kind: params.artifact.kind,

439+

kind: sanitizeGalleryText(params.artifact.kind, params),

426440

mediaKind,

427441

path: displayPath,

428442

preview: null,

429-

source: params.artifact.source,

443+

source: sanitizeGalleryText(params.artifact.source, params),

430444

};

431445

}

432446

const hrefArtifactPath =

@@ -437,7 +451,7 @@ async function buildArtifactView(params: {

437451

exists: true,

438452

error: null,

439453

href: artifactHref(params.hrefEvidencePath, hrefArtifactPath),

440-

kind: params.artifact.kind,

454+

kind: sanitizeGalleryText(params.artifact.kind, params),

441455

mediaKind,

442456

path: displayPath,

443457

preview: await readPreview(realFile, mediaKind)

@@ -453,7 +467,7 @@ async function buildArtifactView(params: {

453467

repoRoot: params.repoRoot,

454468

}),

455469

),

456-

source: params.artifact.source,

470+

source: sanitizeGalleryText(params.artifact.source, params),

457471

};

458472

}

459473

@@ -489,19 +503,26 @@ function readStringArray(values: Iterable<unknown>) {

489503

return readOrderedStringArray(values).toSorted();

490504

}

491505492-

function readMatrixDimensionIds(value: unknown, fallback: readonly string[]): string[] {

493-

if (!Array.isArray(value)) {

494-

return readOrderedStringArray(fallback);

506+

function readMatrixDimensionIds(params: {

507+

extraRoots: readonly string[];

508+

fallback: readonly string[];

509+

repoRoot: string;

510+

value: unknown;

511+

}): string[] {

512+

if (!Array.isArray(params.value)) {

513+

return sanitizeGalleryStringArray(params.fallback, params);

495514

}

496-

const ids = readOrderedStringArray(

497-

value.map((entry) => {

515+

const ids = sanitizeGalleryStringArray(

516+

params.value.map((entry) => {

498517

if (typeof entry === "string") {

499518

return entry;

500519

}

501520

return readString(readRecord(entry)?.id);

502521

}),

522+

params,

503523

);

504-

for (const fallbackId of fallback) {

524+

for (const rawFallbackId of params.fallback) {

525+

const fallbackId = sanitizeGalleryText(rawFallbackId, params);

505526

if (!ids.includes(fallbackId)) {

506527

ids.push(fallbackId);

507528

}

@@ -549,35 +570,41 @@ function readMatrixCells(params: {

549570

: [];

550571

const entriesByCell = buildUxMatrixEvidenceEntryIndex(params.summaryEntries);

551572

return rawCells.flatMap((cell): QaEvidenceMatrixCellView[] => {

552-

const surface = readString(cell.surface);

553-

const stage = readString(cell.stage);

554-

const status = readString(cell.status) ?? "proof-gap";

555-

if (!surface || !stage) {

573+

const rawSurface = readString(cell.surface);

574+

const rawStage = readString(cell.stage);

575+

const rawStatus = readString(cell.status) ?? "proof-gap";

576+

if (!rawSurface || !rawStage) {

556577

return [];

557578

}

558579

const entry =

559-

status === "proof-gap" ? null : (entriesByCell.get(`${surface}:${stage}`) ?? null);

580+

rawStatus === "proof-gap" ? null : (entriesByCell.get(`${rawSurface}:${rawStage}`) ?? null);

560581

const artifacts = entry?.execution?.artifacts ?? [];

561582

const runner = readRecord(cell.runner);

583+

const sanitizeCellString = (value: string) =>

584+

sanitizeGalleryText(value, {

585+

extraRoots: params.extraRoots,

586+

repoRoot: params.repoRoot,

587+

});

562588

const readRunnerString = (value: unknown) => {

563589

const text = readString(value);

564-

return text

565-

? sanitizeGalleryText(text, {

566-

extraRoots: params.extraRoots,

567-

repoRoot: params.repoRoot,

568-

})

569-

: null;

590+

return text ? sanitizeCellString(text) : null;

570591

};

571592

return [

572593

{

573-

artifactKinds: readStringArray(artifacts.map((artifact) => artifact.kind)),

594+

artifactKinds: readStringArray(

595+

artifacts.map((artifact) => sanitizeCellString(artifact.kind)),

596+

),

574597

artifactPaths: artifacts.map((artifact) =>

575598

displayGalleryPath(artifact.path, {

576599

extraRoots: params.extraRoots,

577600

repoRoot: params.repoRoot,

578601

}),

579602

),

580-

coverageIds: readStringArray(Array.isArray(cell.coverageIds) ? cell.coverageIds : []),

603+

coverageIds: readStringArray(

604+

(Array.isArray(cell.coverageIds) ? cell.coverageIds : []).map((coverageId) =>

605+

typeof coverageId === "string" ? sanitizeCellString(coverageId) : coverageId,

606+

),

607+

),

581608

runner: runner

582609

? {

583610

availability: readRunnerString(runner.availability),

@@ -586,11 +613,11 @@ function readMatrixCells(params: {

586613

workflow: readRunnerString(runner.workflow),

587614

}

588615

: null,

589-

stage,

590-

status,

591-

surface,

592-

testId: entry?.test.id ?? null,

593-

title: entry?.test.title ?? null,

616+

stage: sanitizeCellString(rawStage),

617+

status: sanitizeCellString(rawStatus),

618+

surface: sanitizeCellString(rawSurface),

619+

testId: entry?.test.id ? sanitizeCellString(entry.test.id) : null,

620+

title: entry?.test.title ? sanitizeCellString(entry.test.title) : null,

594621

},

595622

];

596623

});

@@ -670,6 +697,9 @@ async function buildProducerContext(params: {

670697

const manifest = await readJsonIfExists(manifestPath, allowedRoots);

671698

const matrix = await readJsonIfExists(matrixPath, allowedRoots);

672699

const releaseLedger = await readJsonIfExists(releaseLedgerPath, allowedRoots);

700+

const run = readRecord(manifest?.run);

701+

const runId = readString(run?.runId);

702+

const runStatus = readString(run?.status);

673703

const producerFiles = Object.fromEntries(

674704

await Promise.all(

675705

UX_MATRIX_PRODUCER_FILES.map(async (file) => [

@@ -702,23 +732,27 @@ async function buildProducerContext(params: {

702732

manifest && producerFiles.manifest

703733

? {

704734

...producerFiles.manifest,

705-

runId: readString(readRecord(manifest.run)?.runId),

706-

runStatus: readString(readRecord(manifest.run)?.status),

735+

runId: runId ? sanitizeGalleryText(runId, params) : null,

736+

runStatus: runStatus ? sanitizeGalleryText(runStatus, params) : null,

707737

}

708738

: null,

709739

matrix: matrix

710740

? {

711741

cells: matrixCells,

712742

counts: readCountRecord(matrix.counts),

713743

path: toRepoRelativePath(repoRoot, matrixPath),

714-

stages: readMatrixDimensionIds(

715-

matrix.stages,

716-

matrixCells.map((cell) => cell.stage),

717-

),

718-

surfaces: readMatrixDimensionIds(

719-

matrix.surfaces,

720-

matrixCells.map((cell) => cell.surface),

721-

),

744+

stages: readMatrixDimensionIds({

745+

extraRoots: params.extraRoots,

746+

fallback: matrixCells.map((cell) => cell.stage),

747+

repoRoot,

748+

value: matrix.stages,

749+

}),

750+

surfaces: readMatrixDimensionIds({

751+

extraRoots: params.extraRoots,

752+

fallback: matrixCells.map((cell) => cell.surface),

753+

repoRoot,

754+

value: matrix.surfaces,

755+

}),

722756

}

723757

: null,

724758

preflight: {

@@ -788,6 +822,11 @@ export async function buildQaEvidenceGalleryModel(params: {

788822

const entries = await Promise.all(

789823

summary.entries.map(async (entry): Promise<QaEvidenceGalleryEntryView> => {

790824

counts[entry.result.status] += 1;

825+

const sanitizeEntryText = (value: string) =>

826+

sanitizeGalleryText(value, {

827+

extraRoots: [requestedRepoRoot],

828+

repoRoot,

829+

});

791830

return {

792831

artifacts: await Promise.all(

793832

(entry.execution?.artifacts ?? []).map((artifact) =>

@@ -803,23 +842,23 @@ export async function buildQaEvidenceGalleryModel(params: {

803842

),

804843

),

805844

),

806-

coverage: entry.coverage,

845+

coverage: entry.coverage.map((coverage) => ({

846+

id: sanitizeEntryText(coverage.id),

847+

role: sanitizeEntryText(coverage.role),

848+

})),

807849

failureReason: entry.result.failure?.reason

808-

? sanitizeGalleryText(entry.result.failure.reason, {

809-

extraRoots: [requestedRepoRoot],

810-

repoRoot,

811-

})

850+

? sanitizeEntryText(entry.result.failure.reason)

812851

: null,

813-

id: entry.test.id,

814-

kind: entry.test.kind,

852+

id: sanitizeEntryText(entry.test.id),

853+

kind: sanitizeEntryText(entry.test.kind),

815854

sourcePath: entry.test.source?.path

816855

? displayGalleryPath(entry.test.source.path, {

817856

extraRoots: [requestedRepoRoot],

818857

repoRoot,

819858

})

820859

: null,

821860

status: entry.result.status,

822-

title: entry.test.title,

861+

title: sanitizeEntryText(entry.test.title),

823862

};

824863

}),

825864

);

@@ -829,7 +868,9 @@ export async function buildQaEvidenceGalleryModel(params: {

829868

evidenceMode: summary.evidenceMode,

830869

evidencePath: hrefEvidencePath,

831870

generatedAt: summary.generatedAt,

832-

profile: summary.profile ?? null,

871+

profile: summary.profile

872+

? sanitizeGalleryText(summary.profile, { extraRoots: [requestedRepoRoot], repoRoot })

873+

: null,

833874

producerContext: await buildProducerContext({

834875

evidencePath,

835876

extraRoots: [requestedRepoRoot],