Skip to content

Commit 5fe103b

Browse files
committed
docs: narrow cleanup instructions
1 parent 441913c commit 5fe103b

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

docs/privacy.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ Raw body logs may contain sensitive payload text. Treat logs as sensitive data a
5252

5353
## Data Cleanup
5454

55+
These commands delete local state. Review the resolved paths before running them, and do not run them automatically from an agent unless the user explicitly asked for cleanup.
56+
5557
Bash:
5658

5759
```bash
@@ -76,7 +78,12 @@ Remove-Item "$HOME\.codex\multi-auth\quota-cache.json" -Force -ErrorAction Silen
7678
Remove-Item "$HOME\.codex\multi-auth\logs\codex-plugin" -Recurse -Force -ErrorAction SilentlyContinue
7779
Remove-Item "$HOME\.codex\multi-auth\cache" -Recurse -Force -ErrorAction SilentlyContinue
7880
# Override-root cleanup examples (if overrides are set):
79-
if ($env:CODEX_MULTI_AUTH_DIR) { Remove-Item "$env:CODEX_MULTI_AUTH_DIR\\*" -Recurse -Force -ErrorAction SilentlyContinue }
81+
if ($env:CODEX_MULTI_AUTH_DIR) { Remove-Item "$env:CODEX_MULTI_AUTH_DIR\settings.json" -Force -ErrorAction SilentlyContinue }
82+
if ($env:CODEX_MULTI_AUTH_DIR) { Remove-Item "$env:CODEX_MULTI_AUTH_DIR\openai-codex-accounts.json" -Force -ErrorAction SilentlyContinue }
83+
if ($env:CODEX_MULTI_AUTH_DIR) { Remove-Item "$env:CODEX_MULTI_AUTH_DIR\openai-codex-flagged-accounts.json" -Force -ErrorAction SilentlyContinue }
84+
if ($env:CODEX_MULTI_AUTH_DIR) { Remove-Item "$env:CODEX_MULTI_AUTH_DIR\quota-cache.json" -Force -ErrorAction SilentlyContinue }
85+
if ($env:CODEX_MULTI_AUTH_DIR) { Remove-Item "$env:CODEX_MULTI_AUTH_DIR\logs\codex-plugin" -Recurse -Force -ErrorAction SilentlyContinue }
86+
if ($env:CODEX_MULTI_AUTH_DIR) { Remove-Item "$env:CODEX_MULTI_AUTH_DIR\cache" -Recurse -Force -ErrorAction SilentlyContinue }
8087
if ($env:CODEX_MULTI_AUTH_CONFIG_PATH) { Remove-Item "$env:CODEX_MULTI_AUTH_CONFIG_PATH" -Force -ErrorAction SilentlyContinue }
8188
```
8289

0 commit comments

Comments
 (0)