#2565·MiMo-Code

[BUG]: 权限确认框重复提交 permission.reply 导致 TTY 崩溃 (setRawMode EIO),键盘永久失效

作者: SlainTroyard创建于 2026年9月28日更新于 2026年9月28日
标签bug
  1. Start mimo and have the agent execute a bash command with deletion, such as rm or rm -rf, to trigger the forced-ask permission box (the "△ Permission required" or "✗ Confirm irreversible deletion" message).
  2. First, use /skip-permissions - this mode is intentionally not overridden for bash_delete, and the permission box will still appear.
  3. Press Enter once to confirm. If the dialog box is still visible, quickly press Enter 3 to 10 times (or hold down Enter for a while).
  4. Observe the logs in ~/.local/share/mimocode/log/*worker*.log (this is relatively easier to encounter): multiple POST requests to /permission/per_.../reply with the same requestID (in actual testing, a single ID was posted 11 to 32 times; this is normal for a single post).
  5. In some cases (intermittently), the main log main-*.log may appear: setRawMode failed with errno: 5 / EIO: i/o error, write exception...

内容来源: XiaomiMiMo/MiMo-Code