Fix plugin-only tool and registry latency regressions#75922
Conversation
|
Codex review: needs changes before merge. Summary Reproducibility: yes. On exact PR head, Next step before merge Security Review findings
Review detailsBest possible solution: Keep the registry-cache split, but derive fast-path core detection and plugin conflict names from the canonical built-in tool inventory before automerge. Do we have a high-confidence way to reproduce the issue? Yes. On exact PR head, Is this the best way to solve the issue? No. The latency optimization direction is sound, but the hardcoded classifier and empty conflict context are less maintainable than reusing a canonical core-tool inventory or shared helper. Full review comments:
Overall correctness: patch is incorrect Security concerns:
Acceptance criteria:
What I checked:
Likely related people:
Remaining risk / open question:
Codex review notes: model gpt-5.5, reasoning high; reviewed against 4d801fadab61. |
55fcd34 to
8fecaf0
Compare
8fecaf0 to
769b818
Compare
|
@clawsweeper automerge |
|
ClawSweeper 🐠 automerge status ClawSweeper took another look; no safe branch change was available on this pass. Executor outcome: Codex /review did not pass after 2 attempt(s): Not merge-ready. Security-sensitive issues appear absent, changelog credit follows repo policy, and Worker actions:
ClawSweeper left the PR as-is: no push, no rebase, no replacement PR, no merge, and no fresh ClawSweeper pass. fish notes: model gpt-5.5, reasoning high. Automerge progress:
|
185bba0 to
0e0b297
Compare
837abc7 to
4b94d4d
Compare
4b94d4d to
a2f321e
Compare
|
@clawsweeper stop |
|
🦞🦞 I added |
a2f321e to
409a4e5
Compare
Summary
Tests
OPENCLAW_VITEST_MAX_WORKERS=1 pnpm test src/agents/pi-embedded-runner/run/attempt.tools-allow-regression.test.ts src/agents/pi-embedded-runner/run/attempt.test.ts src/agents/tool-policy.plugin-only-allowlist.test.ts src/agents/pi-tools.create-openclaw-coding-tools.test.ts src/plugins/plugin-lru-cache.test.ts src/plugins/loader.runtime-registry.test.ts src/plugins/loader.test.tspnpm exec oxfmt --check --threads=1 src/agents/pi-embedded-runner/run/attempt.ts src/agents/pi-embedded-runner/run/attempt.spawn-workspace.test-support.ts src/agents/pi-embedded-runner/run/attempt.tools-allow-regression.test.ts src/plugins/loader.ts src/plugins/loader.runtime-registry.test.tsgit diff --check origin/main...HEADFixes #75882
Fixes #75907
Fixes #75906
Fixes #75887
Fixes #75851