[BUG]: 权限确认框重复提交 permission.reply 导致 TTY 崩溃 (setRawMode EIO),键盘永久失效
作者: SlainTroyard创建于 2026年9月28日更新于 2026年9月28日
标签bug
- Start
mimoand have the agent execute a bash command with deletion, such asrmorrm -rf, to trigger the forced-ask permission box (the "△ Permission required" or "✗ Confirm irreversible deletion" message). - First, use
/skip-permissions- this mode is intentionally not overridden forbash_delete, and the permission box will still appear. - 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).
- Observe the logs in
~/.local/share/mimocode/log/*worker*.log(this is relatively easier to encounter): multiple POST requests to/permission/per_.../replywith the samerequestID(in actual testing, a single ID was posted 11 to 32 times; this is normal for a single post). - In some cases (intermittently), the main log
main-*.logmay appear:setRawMode failed with errno: 5/EIO: i/o error, write exception...
内容来源: XiaomiMiMo/MiMo-Code