Peter Steinberger
d569e41c58
fix(memory): reject invalid CLI numeric options
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.
2026-05-26 22:42:48 +01:00
..
2026-05-11 14:21:08 +01:00
2026-05-25 21:20:41 +01:00
2026-05-19 01:24:54 +00:00
2026-05-13 13:33:38 +01:00
2026-05-25 21:20:41 +01:00
2026-05-08 21:35:49 +01:00
2026-05-10 12:37:10 +01:00
2026-05-26 22:42:48 +01:00
2026-05-26 22:42:48 +01:00
2026-05-25 23:49:43 +01:00
2026-05-25 23:49:43 +01:00
2026-05-26 08:45:28 +01:00
2026-05-24 05:11:12 +01:00
2026-05-16 22:31:02 +05:30
2026-05-11 11:27:02 +01:00
2026-05-25 21:20:41 +01:00
2026-05-12 19:09:31 +01:00
2026-05-06 02:15:17 +01:00
2026-05-12 21:28:56 +01:00
2026-05-02 10:55:37 +01:00
2026-05-13 13:33:38 +01:00
2026-05-11 21:01:56 +01:00
2026-05-25 21:20:41 +01:00
2026-05-24 05:11:12 +01:00
2026-05-24 05:11:12 +01:00
2026-05-13 13:33:38 +01:00
2026-05-13 13:33:38 +01:00
2026-05-18 14:15:30 +01:00
2026-05-25 21:20:41 +01:00
2026-05-19 01:24:54 +00:00
2026-05-10 12:37:10 +01:00
2026-05-13 13:33:38 +01:00
2026-05-06 02:15:17 +01:00
2026-05-01 20:22:55 +01:00
2026-05-18 16:34:11 +00:00
2026-05-18 16:34:11 +00:00
2026-05-13 13:33:38 +01:00
2026-05-10 12:37:10 +01:00
2026-05-13 13:33:38 +01:00
2026-05-13 13:33:38 +01:00