mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-28 14:03:48 +00:00
Fixes memory CLI numeric parsing bugs found by clawpatch. - memory CLI numeric options now reject non-finite values before command runtime. - wiki apply `--confidence` now enforces the documented 0..1 range before metadata mutation. - Commander parse-error UX is preserved without importing `commander` at bundled plugin runtime. Proof: - `node scripts/run-vitest.mjs extensions/memory-core/src/cli.test.ts extensions/memory-wiki/src/cli.test.ts` - `pnpm exec oxfmt --check --threads=1 extensions/memory-core/src/cli.ts extensions/memory-core/src/cli.test.ts extensions/memory-wiki/src/cli.ts extensions/memory-wiki/src/cli.test.ts` - `git diff --check` - `.agents/skills/autoreview/scripts/autoreview --mode branch --base origin/main` - Real CLI proof: invalid memory `--max-results` and wiki `--confidence` both fail with Commander parse errors before actions run. - GitHub PR checks green: 67 success, 29 skipped, 1 neutral.