[BUG] Renaming session via /resume picker fails with ENOENT: open 'n/a'

Resolved 💬 3 comments Opened Dec 30, 2025 by greghughespdx Closed Jan 3, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When attempting to rename a session using the interactive /resume picker, the rename fails with an ENOENT error because the transcript path is stored as "n/a" instead of the actual file path.

What Should Happen?

Session should be successfully renamed

Error Messages/Logs

Error: ENOENT: no such file or directory, open 'n/a'
      at Module.openSync (node:fs:560:18)
      at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:1210
      at oI (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:8084)
      at Object.appendFileSync (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:1139)
      at D12 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1110:3100)

Steps to Reproduce

  1. Run claude in terminal
  2. Type /resume to open the session picker
  3. Select a session
  4. Press R to rename
  5. Enter a new name and press Enter

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.0.76

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

The transcript_path appears to be "n/a" instead of the actual .jsonl file path. Possibly related to other transcript_path bugs: #13668, #9188, #8564

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗