What's wrong with this entry?
When a user opts in at the context-gathering prompt, Claude now reads shell command history from common history files and includes a filtered view (command words only, no arguments that might carry secrets) in the system prompt context.
- Supported history files:
~/.bash_history,~/.zsh_history,~/.local/share/fish/fish_history,~/.local/share/powershell/PSReadLine/ConsoleHost_history.txt(Linux/macOS), and%APPDATA%\...\PSReadLine\ConsoleHost_history.txt(Windows) - Only command words are included — raw history lines with inline arguments (which may contain secrets) are never read into the transcript
- If the home directory is a network path (UNC share or automount), history is skipped to avoid unintended network authentication
- The feature is gated by an explicit user opt-in at the Q3 context question; if not asked, history is marked "NOT GATHERED"
History file paths (search for "~/.bash_history" and "PSReadLine")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.