[FEATURE] sessions, plans and context hooks
Resolved 💬 2 comments Opened Feb 16, 2026 by HornetGit Closed Mar 20, 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
Claude may partly lose context, do not track sessions, can not rollback files from a former session or plans, and names plans with fuzzy names.
Proposed Solution
I did set up and test appropriate hooks to solve these issues, simply using a local git repository. Each hook solves these real annoyances:
- Git session safety net — every session automatically snapshots the working tree onto a parallel branch; Claude can use the rollback helper to trace and restore any file to any checkpoint, across sessions, autonomously
- Session memory — pick up where a session left off; sessions leave a searchable paper trail instead of vanishing
- Plan rename — Claude's random three-word plan filenames (
bubbly-imagining-stearns.md) become dated, human-readable names (20260211-1620-add-user-auth.md) - Git safety — preflight checks for SSH connectivity, GPG signing, and accidental secret commits before every
git commit - Plugin cache sync — edit plugin source files and have the frozen cache update automatically, no IDE reload needed
All details shared here (i am he owner): claude-code-hooks
I did not test it with Team Mates, but i guess this approach may bring it some added value.
Alternative Solutions
i fetched for it, not found, so i did set my own ones.
Priority
High - Significant impact on productivity
Feature Category
CLI commands and flags
Use Case Example
working on a complex full stack.
Additional Context
See shared repo claude-code-hooks, including screenshots and use cases. Hope this helps.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗