[FEATURE] Add option to disable memory feature or show CLAUDE.md edits as inline diffs
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
When Claude edits CLAUDE.md, changes are hidden behind "Wrote 1 memory (ctrl+o to expand)" instead of showing inline diffs.
I cannot review what Claude wrote before changes are applied. Claude may write incorrect information based on misunderstandings, and I have no way to disable this feature.
I maintain CLAUDE.md as version-controlled SSoT and need to see every edit like any other file.
Proposed Solution
Add setting to disable memory feature or show inline diffs:
{
"memory": {
"enabled": false,
"showInlineDiffs": true
}
}
Alternative Solutions
Currently I run git diff CLAUDE.md after each change to see what was written. This breaks workflow.
Related issue: #23210
Priority
High - Significant impact on productivity
Feature Category
CLI commands and flags
Use Case Example
- I maintain project documentation in CLAUDE.md (SSoT)
- Claude suggests adding something to memory
- I see only "Wrote 1 memory" - no diff shown
- Change is already applied without my review
- Later I discover Claude wrote something incorrect
- I have to manually fix CLAUDE.md and commit
Additional Context
This was introduced in recent versions (~2.1.x). Previously edits to CLAUDE.md showed inline diffs like other files.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗