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

推荐订阅源

D
DataBreaches.Net
N
Netflix TechBlog - Medium
F
Fortinet All Blogs
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
宝玉的分享
宝玉的分享
Y
Y Combinator Blog
博客园 - 聂微东
WordPress大学
WordPress大学
酷 壳 – CoolShell
酷 壳 – CoolShell
B
Blog RSS Feed
小众软件
小众软件
The GitHub Blog
The GitHub Blog
S
SegmentFault 最新的问题
Hugging Face - Blog
Hugging Face - Blog
Jina AI
Jina AI
Microsoft Azure Blog
Microsoft Azure Blog
V
V2EX
B
Blog
H
Help Net Security
D
Docker
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
罗磊的独立博客
月光博客
月光博客
博客园 - 司徒正美

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(test): add env mutation report help · openclaw/opencl...
vincentkoc · 2026-06-20 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -367,11 +367,13 @@ export function renderTestEnvMutationReport(

367367

}

368368
369369

function parseArgs(argv: string[]): {

370+

help: boolean;

370371

includeAllowed: boolean;

371372

json: boolean;

372373

limit: number;

373374

repoRoot: string;

374375

} {

376+

let help = false;

375377

let includeAllowed = false;

376378

let json = false;

377379

let limit = 120;

@@ -382,6 +384,10 @@ function parseArgs(argv: string[]): {

382384

if (arg === "--") {

383385

continue;

384386

}

387+

if (arg === "--help" || arg === "-h") {

388+

help = true;

389+

continue;

390+

}

385391

if (arg === "--include-allowed") {

386392

includeAllowed = true;

387393

continue;

@@ -411,11 +417,31 @@ function parseArgs(argv: string[]): {

411417

throw new Error(`Unknown argument: ${arg}`);

412418

}

413419
414-

return { includeAllowed, json, limit, repoRoot };

420+

return { help, includeAllowed, json, limit, repoRoot };

421+

}

422+
423+

function printHelp(): void {

424+

process.stdout.write(`OpenClaw test env mutation report

425+
426+

Usage:

427+

pnpm test:env-mutations:report [options]

428+
429+

Options:

430+

--include-allowed Include allowed harness findings in text output

431+

--json Print the full JSON report

432+

--limit <n> Maximum text findings to print; use 0 for all (default: 120)

433+

--repo-root <path> Repository root to scan (default: current working directory)

434+

--help, -h Show this help message

435+

`);

415436

}

416437
417438

export function main(argv = process.argv.slice(2)): number {

418439

const args = parseArgs(argv);

440+

if (args.help) {

441+

printHelp();

442+

return 0;

443+

}

444+
419445

const report = collectTestEnvMutationReport({ repoRoot: args.repoRoot });

420446

if (args.json) {

421447

process.stdout.write(`${JSON.stringify(report, null, 2)}\n`);