{"name":"history.jsonl","slug":"history-jsonl","family":"setting","title":"Settings keys","noun":"settings key","description":"Your prompt history could be saved to a record store instead of history.jsonl, but nothing uses it yet.","description_source":"entry","described_by":{"version":"2.1.221","anchor":"prompt-history-can-be-written-to-a-record-store-instead-of-h"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.308","builds":0,"mined_builds":149,"first_cited":{"version":"2.1.259","released_at":"2026-09-02 21:21:42","spans":3}},"aliases":[],"entries":[{"version":"2.1.300","anchor":"purge-history-fallback-message-and-tool-result-delivery-stat","heading":"History purge message says history.jsonl is rewritten directly on failure","line":"When purging history, Claude Code's log now says history.jsonl is rewritten directly if replacing its records fails","released_at":"2026-10-14 14:27:26","reason":"found in this entry's text"},{"version":"2.1.259","anchor":"history-retention-prune-rewritten-to-a-two-pass-integrity-v","heading":"History retention prune rewritten to a two-pass, integrity-verified streaming scan","line":"History pruning now scans lock-free and verifies the file hasn't changed, deferring the prune instead of erroring if it has.","released_at":"2026-09-02 21:21:42","reason":"found in this entry's text"},{"version":"2.1.259","anchor":"new-integrity-checked-incremental-reader-for-historyjsonl","heading":"New integrity-checked incremental reader for history.jsonl","line":"History reads now stream in chunks with a running digest and verify the file wasn't rewritten mid-scan.","released_at":"2026-09-02 21:21:42","reason":"found in this entry's text"},{"version":"2.1.257","anchor":"optional-hipaa-history-retention-pruning","heading":"Optional HIPAA history-retention pruning","line":"HIPAA-configured organizations get an extra retention pass that prunes stale entries from local history files.","released_at":"2026-09-01 17:15:33","reason":"found in this entry's text, named in this entry"},{"version":"2.1.257","anchor":"history-purge-now-preserves-the-original-file-mode","heading":"History purge now preserves the original file mode","line":"Purging history now keeps the original file's permission mode instead of writing a fixed one.","released_at":"2026-09-01 17:15:33","reason":"found in this entry's text, named in this entry"},{"version":"2.1.257","anchor":"new-locked-cleanup-path-for-stray-historyjsonl-staging-copi","heading":"New locked cleanup path for stray history.jsonl staging copies","line":"A locked cleanup routine removes stray history staging copies while leaving recently-written ones alone.","released_at":"2026-09-01 17:15:33","reason":"found in this entry's text, named in this entry"},{"version":"2.1.235","anchor":"history-purge-goes-through-the-storage-backend-with-a-hard","heading":"History purge goes through the storage backend, with a hard refusal when it cannot","line":"History purge now goes through the storage backend, with a hard error when it can't rewrite safely","released_at":"2026-08-18 18:24:10","reason":"found in this entry's text"},{"version":"2.1.221","anchor":"prompt-history-can-be-written-to-a-record-store-instead-of-h","heading":"Prompt history can be written to a record store instead of history.jsonl","line":"Your prompt history could be saved to a record store instead of history.jsonl, but nothing uses it yet.","released_at":"2026-08-03 22:16:25","reason":"named in this entry, found in this entry's text"}],"entries_total":8,"docs":[{"source":"claude-code","path":"claude-directory","title":"Explore the .claude directory","documented":false},{"source":"claude-code","path":"hipaa-setup","title":"Set up Claude Code (local mode) for a HIPAA-ready organization","documented":false}],"docs_total":2,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/setting\/history-jsonl","family_url":"https:\/\/changelogs.core-directive.com\/reference\/setting.json"}