Under the hood
A locked cleanup routine removes stray history staging copies while leaving recently-written ones alone.
A new locked cleanup routine removes stray history.jsonl staging-copy files older than a minute, after acquiring a lock on history.jsonl. It reports distinct error codes/messages when a file can't be removed, and leaves recently-written files alone, flagging them as possibly still live (history_siblings_remain).
Names in the bundlehistory.jsonl
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed since
Anthropic's documentation has since written up history.jsonl, on Explore the .claude directory.
| `~/.claude/history.jsonl` | Up-arrow prompt recall, `Ctrl+R` history search, and `!` shell-command completion |claude-directory see the edit
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agrees
Anthropic's documentation has since written up history.jsonl, on Explore the .claude directory.