[Bug] `/stats` command executes `/status` instead due to MISTAKEN command prefix matching
Status Closed — duplicate
Reported on v2.1.12
Maintainer reply None cached
Activity 3 comments · opened Jan 19, 2026 · closed Jan 23, 2026
Bug Description
/stats<RET> runs the /status cmd rather than the /stats cmd
Environment Info
- Platform: darwin
- Terminal: xterm-256color
- Version: 2.1.12
- Feedback ID: bd014604-5466-45c5-b6dd-f2d3af29c877
Errors
[{"error":"Error: Error opening file /Users/brucer42/.claude/projects/-Users-brucer42-git-bdfd-bdfd-react-native/1c5e7ebc-6fbd-4d3b-8b2f-76515d17a91c.jsonl: Error: ENOENT: no such file or directory, open '/Users/brucer42/.claude/projects/-Users-brucer42-git-bdfd-bdfd-react-native/1c5e7ebc-6fbd-4d3b-8b2f-76515d17a91c.jsonl'\n at Lb (file:///Users/brucer42/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:66:170)\n at async file:///Users/brucer42/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:4206:3920\n at async Promise.all (index 10)\n at async iHA (file:///Users/brucer42/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:4206:3756)\n at async file:///Users/brucer42/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:4206:10992\n at async TT0 (file:///Users/brucer42/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:4206:203)\n at async CY9 (file:///Users/brucer42/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:4206:10490)","timestamp":"2026-01-19T04:45:13.575Z"},{"error":"MaxFileReadTokenExceededError: File content (30039 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n at P62 (file:///Users/brucer42/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1552:13647)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async Object.call (file:///Users/brucer42/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1561:996)\n at async file:///Users/brucer42/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:4609:1551","timestamp":"2026-01-19T04:56:31.399Z"},{"error":"Error: Request was aborted.\n at hI1 (file:///Users/brucer42/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2362:50360)\n at hI1.next (<anonymous>)\n at ZJ9 (file:///Users/brucer42/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:4512:1451)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at runNextTicks (node:internal/process/task_queues:69:3)\n at process.processImmediate (node:internal/timers:459:9)\n at async file:///Users/brucer42/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:4510:3799\n at async uJ0 (file:///Users/brucer42/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1106:1997)\n at async EKA (file:///Users/brucer42/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:4510:3769)\n at async yU (file:///Users/brucer42/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2700:3908)","timestamp":"2026-01-19T05:13:57.758Z"},{"error":"Error: Request was aborted.\n at hI1 (file:///Users/brucer42/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2362:50360)\n at hI1.next (<anonymous>)\n at ZJ9 (file:///Users/brucer42/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:4512:1451)\n at runNextTicks (node:internal/process/task_queues:65:5)\n at process.processImmediate (node:internal/timers:459:9)\n at async file:///Users/brucer42/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:4510:3799\n at async uJ0 (file:///Users/brucer42/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1106:1997)\n at async EKA (file:///Users/brucer42/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:4510:3769)\n at async yU (file:///Users/brucer42/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2700:3908)\n at async iu (file:///Users/brucer42/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2603:1603)","timestamp":"2026-01-19T05:32:19.657Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗