[FEATURE] Persist session history with IDs and dates for easy resuming

Resolved 💬 1 comment Opened Apr 29, 2026 by Tacombel Closed May 31, 2026

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 Code exits, it shows a session ID that can be used to resume the conversation with claude --resume <id>. However, this ID is only shown momentarily and is not persisted anywhere accessible.

Proposed Solution

Suggestion: Maintain a local log file (e.g., ~/.claude/sessions.log or similar) that records each session with:

  • Session ID
  • Start/end timestamps
  • Working directory

This would allow users to:

  1. Review past sessions by date
  2. Easily copy the ID to resume a specific session
  3. Identify which session corresponds to a given task without relying on memory

Alternative Solutions

_No response_

Priority

High - Significant impact on productivity

Feature Category

CLI commands and flags

Use Case Example

After multiple working sessions across different days, it's currently impossible to resume a specific past session unless you noted the ID at exit time. A simple append-only log would solve this completely.

Additional Context

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗