Title: Improve safety for git operations and context preservation

Resolved 💬 4 comments Opened Jun 27, 2025 by jamiefaye Closed Jan 7, 2026

Description:
Two suggestions to improve developer workflow safety:

  1. Git operations safety: Don't perform destructive git operations (like git clean, git reset --hard) unless

explicitly requested by the user. When a user asks to "clean" something, interpret it as cleaning build artifacts,
not source code operations.

  1. Context preservation:
  • Create periodic checkpoints of conversation context
  • Show "are you sure?" prompt when user hits Ctrl+C to quit Claude
  • This would prevent accidental loss of detailed implementation context

Real-world impact: Today I lost working changes when Claude interpreted "clean build" as including git operations,
and later lost detailed context about UI improvements when accidentally hitting Ctrl+C instead of Esc.

View original on GitHub ↗

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