"Yes, allow always" doesn't work if LLM makes many WriteFile calls in a single response

### What happened?

```

 ███            █████████  ██████████ ██████   ██████ █████ ██████   █████ █████
░░░███         ███░░░░░███░░███░░░░░█░░██████ ██████ ░░███ ░░██████ ░░███ ░░███
  ░░░███      ███     ░░░  ░███  █ ░  ░███░█████░███  ░███  ░███░███ ░███  ░███
    ░░░███   ░███          ░██████    ░███░░███ ░███  ░███  ░███░░███░███  ░███
     ███░    ░███    █████ ░███░░█    ░███ ░░░  ░███  ░███  ░███ ░░██████  ░███
   ███░      ░░███  ░░███  ░███ ░   █ ░███      ░███  ░███  ░███  ░░█████  ░███
 ███░         ░░█████████  ██████████ █████     █████ █████ █████  ░░█████ █████
░░░            ░░░░░░░░░  ░░░░░░░░░░ ░░░░░     ░░░░░ ░░░░░ ░░░░░    ░░░░░ ░░░░░

Tips for getting started:
1. Ask questions, edit files, or run commands.
2. Be specific for the best results.
3. Create GEMINI.md files to customize your interactions with Gemini.
4. /help for more information.

╭────────────────────────────────╮
│  > 阅读并执行计划 @plan.md 。  │
╰────────────────────────────────╯

 ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
 │ ✔  ReadManyFiles Will attempt to read and concatenate files using patterns: `plan.md` (within target directory: `/home/ick/repos/typs…  │
 │                                                                                                                                         │
 │    ### ReadManyFiles Result (Target Dir: `/home/ick/repos/typsio`)                                                                      │
 │                                                                                                                                         │
 │    Successfully read and concatenated content from **1 file(s)**.                                                                       │
 │                                                                                                                                         │
 │    **Processed Files:**                                                                                                                 │
 │    - `plan.md`                                                                                                                          │
 ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
✦ Okay, I will execute the plan. First, I will create the necessary directory structure.
 ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
 │ ✔  Shell mkdir -p packages/py_typsio/src/typsio packages/ts_typsio/src generator examples/backend/src/my_app examples/frontend/src/ge…  │
 ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
✦ Directory structure created. Now, I will write all the necessary files.
 ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
 │ o  WriteFile Writing to packages/py_typsio/pyproject.toml                                                                            │
 │ o  WriteFile Writing to ...packages/py_typsio/src/typsio/rpc.py                                                                      │
 │ o  WriteFile Writing to ...kages/py_typsio/src/typsio/__init__.py                                                                    │
 │ o  WriteFile Writing to packages/ts_typsio/package.json                                                                              │
 │ o  WriteFile Writing to packages/ts_typsio/tsconfig.json                                                                             │
 │ o  WriteFile Writing to packages/ts_typsio/src/index.ts                                                                              │
 │ ?  WriteFile Writing to generator/typsio_gen.py ←                                                                                    │
 │                                                                                                                                      │
 │ ... first 40 lines hidden ...                                                                                                        │
 │ 41     return f                                                                                                                      │
 │                                                                                                                                      │
 │ Apply this change?                                                                                                                   │
 │                                                                                                                                      │
 │ ● 1. Yes, allow once                                                                                                                 │
 │   2. Yes, allow always                                                                                                               │
 │   3. Modify with external editor                                                                                                     │
 │   4. No, suggest changes (esc)                                                                                                       │
 │                                                                                                                                      │
 │ ?  WriteFile Writing to examples/backend/pyproject.toml                                                                              │
 │ ?  WriteFile Writing to ...xamples/backend/src/my_app/api_defs.py                                                                    │
 │ ?  WriteFile Writing to ...examples/backend/src/my_app/server.py                                                                     │
 │ ?  WriteFile Writing to ...xamples/backend/src/my_app/__init__.py                                                                    │
 │ ?  WriteFile Writing to examples/frontend/package.json                                                                               │
 │ ?  WriteFile Writing to examples/frontend/src/api.ts                                                                                 │
 │ ?  WriteFile Writing to examples/frontend/src/main.ts                                                                                │
 │ ?  WriteFile Writing to README.md                                                                                                    │
 │ ?  WriteFile Writing to examples/frontend/index.html                                                                                 │
 │ ?  WriteFile Writing to examples/frontend/src/style.css                                                                              │
 ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Press ctrl-s to show more lines
⠏ Waiting for user confirmation...

                                                                                                 accepting edits (shift + tab to toggle)
~/repos/typsio                                no sandbox (see /docs)                                   gemini-2.5-pro (99% context left)
```

### What did you expect to happen?

Only ask me once if I should apply this change.

### Client information

<details>

```console
╭────────────╮
│  > /about  │
╰────────────╯


╭──────────────────────────────────────────────────────────────────╮
│                                                                  │
│ About Gemini CLI                                                 │
│                                                                  │
│ CLI Version           0.1.19                                     │
│ Git Commit            67c60331                                   │
│ Model                 gemini-2.5-pro                             │
│ Sandbox               no sandbox                                 │
│ OS                    linux                                      │
│ Auth Method           OAuth                                      │
│ GCP Project           eco-rune-468803-f0                         │
│                                                                  │
╰──────────────────────────────────────────────────────────────────╯
```

</details>

### Login information

_No response_

### Anything else we need to know?

_No response_

Labels: priority/p2, area/agent
State: closed