1
0
Fork 0
mirror of https://github.com/imjasonh/cnotes synced 2026-07-11 10:21:44 +00:00
cnotes/internal/handlers
Jason Hall 7b6cdffa8a
Add git notes preservation system with backup/restore functionality
- Added WarnAboutGitNotesLoss hook that warns before destructive git operations
- Implemented comprehensive backup/restore system for conversation notes
- Added CLI commands: hooks notes backup/restore/list
- Configured git to automatically copy notes during rebase operations
- Created backup.go with full notes backup and restoration functionality

This ensures conversation context is never lost during rebasing, squashing, or other destructive git operations.
2025-07-21 12:39:13 -04:00
..
gitcommit.go Complete git notes implementation with clean code 2025-07-21 12:33:10 -04:00
gitrebase.go Add git notes preservation system with backup/restore functionality 2025-07-21 12:39:13 -04:00
goimports.go Complete hooks implementation with comprehensive features 2025-07-21 11:27:18 -04:00
handlers.go Scaffold all 7 hook events and eliminate type casting 2025-07-21 12:01:55 -04:00
notification.go Scaffold all 7 hook events and eliminate type casting 2025-07-21 12:01:55 -04:00
posttooluse.go Scaffold all 7 hook events and eliminate type casting 2025-07-21 12:01:55 -04:00
precompact.go Scaffold all 7 hook events and eliminate type casting 2025-07-21 12:01:55 -04:00
pretooluse.go Complete hooks implementation with comprehensive features 2025-07-21 11:27:18 -04:00
stop.go Scaffold all 7 hook events and eliminate type casting 2025-07-21 12:01:55 -04:00
subagentstop.go Scaffold all 7 hook events and eliminate type casting 2025-07-21 12:01:55 -04:00
userprompt.go Scaffold all 7 hook events and eliminate type casting 2025-07-21 12:01:55 -04:00