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

推荐订阅源

IT之家
IT之家
Recent Announcements
Recent Announcements
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
The GitHub Blog
The GitHub Blog
MyScale Blog
MyScale Blog
爱范儿
爱范儿
GbyAI
GbyAI
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
美团技术团队
Y
Y Combinator Blog
博客园 - 叶小钗
Apple Machine Learning Research
Apple Machine Learning Research
Martin Fowler
Martin Fowler
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
罗磊的独立博客
M
MIT News - Artificial intelligence
博客园 - Franky
V
Visual Studio Blog
I
InfoQ
V
V2EX
Hugging Face - Blog
Hugging Face - Blog
腾讯CDC
博客园 - 司徒正美
L
LangChain 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
chore(autoreview): scope Testbox policy to maintainers · ...
vincentkoc · 2026-05-18 · via Recent Commits to openclaw:main

@@ -27,6 +27,10 @@ Options:

2727

--dry-run Print selected commands, do not run.

2828

-h, --help Show help.

292930+

Environment:

31+

OPENCLAW_TESTBOX=1 or AUTOREVIEW_OPENCLAW_MAINTAINER_VALIDATION=1

32+

Enable maintainer-only OpenClaw Crabbox/Testbox validation policy.

33+3034

Modes:

3135

local codex review --uncommitted

3236

branch codex review --base <base>

@@ -52,6 +56,7 @@ output=${AUTOREVIEW_OUTPUT:-${CODEX_REVIEW_OUTPUT:-}}

5256

parallel_tests=

5357

dry_run=false

5458

codex_review_prompt=

59+

openclaw_maintainer_validation=${AUTOREVIEW_OPENCLAW_MAINTAINER_VALIDATION:-${OPENCLAW_TESTBOX:-0}}

55605661

while [[ $# -gt 0 ]]; do

5762

case "$1" in

@@ -203,12 +208,16 @@ else

203208

fi

204209205210

repo_url=$(git -C "$repo_root" config --get remote.origin.url 2>/dev/null || true)

206-

if [[ "$repo_url" == *"openclaw/openclaw"* ]]; then

211+

case "$openclaw_maintainer_validation" in

212+

1|true|True|TRUE|yes|Yes|YES|on|On|ON) openclaw_maintainer_validation=1 ;;

213+

*) openclaw_maintainer_validation=0 ;;

214+

esac

215+

if [[ "$repo_url" == *"openclaw/openclaw"* && "$openclaw_maintainer_validation" == 1 ]]; then

207216

codex_review_prompt=$(cat <<'EOF'

208-

OpenClaw autoreview validation policy:

217+

OpenClaw maintainer autoreview validation policy:

209218

- Review the diff by reading code, tests, and dependency contracts.

210219

- Do not run local memory-heavy Node validation from review mode. This includes local pnpm checks/tests, Vitest, tsgo, npm test, and node scripts/run-vitest.mjs.

211-

- If runtime proof is needed, use existing proof or route validation through OPENCLAW_TESTBOX=1 / Crabbox / Blacksmith Testbox and report the exact provider and id.

220+

- If runtime proof is needed, use existing proof or route validation through Crabbox / Blacksmith Testbox and report the exact provider and id.

212221

- If remote validation is not necessary for the finding, state the targeted proof that should be run instead of starting local tests.

213222

EOF

214223

)

@@ -236,7 +245,7 @@ if [[ "$reviewer" == auto || "$reviewer" == codex ]]; then

236245

printf ' %q' "${review_cmd[@]}"

237246

printf '\n'

238247

if [[ -n "$codex_review_prompt" ]]; then

239-

printf 'review policy: OpenClaw Crabbox/Testbox-aware validation prompt injected\n'

248+

printf 'review policy: OpenClaw maintainer Crabbox/Testbox-aware validation prompt injected\n'

240249

fi

241250

else

242251

printf 'review: %s prompt review\n' "$reviewer"

@@ -327,7 +336,7 @@ Rules:

327336

- Review the proposed code change as a closeout reviewer.

328337

- Focus on the diff below. If your CLI exposes read-only repository tools, inspect surrounding code and tests to verify findings; never modify files.

329338

- Do not modify files.

330-

- In OpenClaw, do not run local memory-heavy Node validation from review mode. Avoid local pnpm checks/tests, Vitest, tsgo, npm test, and node scripts/run-vitest.mjs. If runtime proof is needed, use existing proof or route validation through OPENCLAW_TESTBOX=1 / Crabbox / Blacksmith Testbox and report the exact provider and id.

339+

${codex_review_prompt}

331340

- Report only discrete, actionable issues introduced by this change.

332341

- Prioritize correctness, regressions, security, data loss, performance cliffs, and missing tests that would catch a real bug.

333342

- Do not report pre-existing issues, speculative risks, broad rewrites, style nits, changelog gaps, or findings that depend on unstated assumptions.