Temporary working directory files (tmpclaude-*.cwd) scattered in project root instead of .specstory/history

Status Closed — duplicate
Maintainer reply None cached
Activity 3 comments · opened Jan 18, 2026 · closed Jan 21, 2026

Issue

Temporary working directory tracking files are being created in the project root directory instead of being properly organized in the .specstory/history/ directory.

Expected Behavior

tmpclaude-*-cwd files should be stored in .specstory/history/ directory (as per SpecStory integration)

Actual Behavior

  • Files are being created in the project root directory
  • Multiple files accumulate over time in the same directory (example: 20+ files in a single project)
  • Cannot be controlled via user settings
  • This behavior started suddenly on Jan 17, 2026

Example

Project: C:\Users\SH\dev\wp\test-plugin

Expected location: C:\Users\SH\dev\wp\test-plugin\.specstory\history\tmpclaude-*.cwd
Actual location: C:\Users\SH\dev\wp\test-plugin\tmpclaude-*.cwd

Environment

  • Claude Code version: 2.1.x (after recent update)
  • OS: Windows
  • Affected: Multiple newly created projects

View original on GitHub ↗

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