Problem
There is no way to see a summary of all file changes the agent made during the current session. The only diff capability is `/rollback diff ` which shows changes since a specific checkpoint — but requires checkpoints to be enabled and a specific checkpoint number.
Users finishing a long session have no quick way to review "what did you actually change?" before committing.
Suggested fix
Add a `/diff` command that shows all file modifications since the session started. Two possible approaches:
- Git-based: If in a git repo, `git diff` against the commit that was HEAD when the session started (tracked at session init).
- Checkpoint-based: If checkpoints are enabled, diff against checkpoint 0 (session start).
Output should show a file stat summary (files changed, insertions, deletions) and optionally the full diff with syntax highlighting via Rich.
Problem
There is no way to see a summary of all file changes the agent made during the current session. The only diff capability is `/rollback diff ` which shows changes since a specific checkpoint — but requires checkpoints to be enabled and a specific checkpoint number.
Users finishing a long session have no quick way to review "what did you actually change?" before committing.
Suggested fix
Add a `/diff` command that shows all file modifications since the session started. Two possible approaches:
Output should show a file stat summary (files changed, insertions, deletions) and optionally the full diff with syntax highlighting via Rich.