Skip to content

fix(warp): correct Windows permissions settings.toml path to LOCALAPPDATA/config - #1873

Merged
dyoshikawa merged 3 commits into
mainfrom
resolve-scrap-issue-1871-warp-windows-path
Jun 15, 2026
Merged

fix(warp): correct Windows permissions settings.toml path to LOCALAPPDATA/config#1873
dyoshikawa merged 3 commits into
mainfrom
resolve-scrap-issue-1871-warp-windows-path

Conversation

@dyoshikawa

Copy link
Copy Markdown
Owner

Background

Follow-up from #1871.

Warp's documented Windows (Stable) settings file is %LOCALAPPDATA%\warp\Warp\config\settings.toml (verified against Warp's settings file-locations doc). But WARP_WIN32_DIR pointed at AppData/Roaming/warp/Warp/data — wrong on both axes: Roaming instead of Local, and the data subfolder instead of config.

As a result, rulesync generate --targets warp --features permissions --global wrote the agent_mode_command_execution_allowlist/denylist to a path Warp never reads on Windows, so command permissions silently took no effect for Windows users. macOS (~/.warp/settings.toml) and Linux (~/.config/warp-terminal/settings.toml) were already correct.

Changes

  • Point WARP_WIN32_DIR at AppData/Local/warp/Warp/config (maps %LOCALAPPDATA%).
  • Update the stale doc comment in warp-permissions.ts and the Windows path in docs/reference/file-formats.md (synced to skills/rulesync/).
  • Update the Windows expectation in warp-permissions.test.ts.

All checks pass via pnpm cicheck.

Closes #1871

…DATA/config

Follow-up from #1871.

Warp's documented Windows (Stable) settings file is
`%LOCALAPPDATA%\warp\Warp\config\settings.toml`, but `WARP_WIN32_DIR` pointed at
`AppData/Roaming/warp/Warp/data` — wrong on both axes (Roaming vs Local, data vs
config). As a result `rulesync generate --targets warp --features permissions
--global` wrote the command allow/deny lists to a path Warp never reads on
Windows, so the rules silently took no effect there. macOS and Linux were
already correct.

- Point `WARP_WIN32_DIR` at `AppData/Local/warp/Warp/config`.
- Update the stale doc comment in `warp-permissions.ts` and the Windows path in
  `docs/reference/file-formats.md`.
- Update the Windows expectation in `warp-permissions.test.ts`.

Closes #1871
Address review finding: the e2e-permissions spec still referenced the old
`AppData/Roaming/warp/Warp/data` Windows path; align it with the corrected
`AppData/Local/warp/Warp/config` so the Windows e2e runner reads the right file.
The corrected Warp Windows path comment references %LOCALAPPDATA%.
@dyoshikawa
dyoshikawa merged commit 6aa00ce into main Jun 15, 2026
8 checks passed
@dyoshikawa

Copy link
Copy Markdown
Owner Author

@dyoshikawa Thank you!

@dyoshikawa
dyoshikawa deleted the resolve-scrap-issue-1871-warp-windows-path branch June 15, 2026 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix Warp permissions Windows settings.toml path (Local/config, not Roaming/data)

2 participants