Release Date: January 2, 2026
Fixed hardcoded "MirrorBot/CVMP" fallback in SessionStart hook that showed misleading project name when no pool activity existed.
Before:
## Session Context
- **Codebase**: MirrorBot/CVMP ❌ (wrong project)
- **Instance Pool**: No recent activityAfter:
## Session Context
- **Codebase**: your-actual-project ✅ (correctly detected)
- **Instance Pool**: No recent activityAdded get_project_name() function that intelligently detects project name from multiple sources:
- Git remote URL - Extracts repository name from origin remote
- Git repo root - Uses git repository directory name
- Current directory - Falls back to working directory name
- Generic fallback - "Current Project" if all detection fails
This ensures users see their actual project name instead of confusing development artifacts.
cd ~
git clone https://github.com/GMaN1911/claude-cognitive.git .claude-cognitive
cp -r .claude-cognitive/scripts ~/.claude/scripts/
cat .claude-cognitive/hooks-config.json >> ~/.claude/settings.jsoncd ~/.claude-cognitive
git pull origin main
cp -r scripts/* ~/.claude/scripts/No configuration changes required - the fix is automatic.
- Fixed by: Garret Sutherland
- Reported by: @sbozh (thank you! 🙏)
- Issue: #2
See CHANGELOG.md for complete version history.
- GitHub: https://github.com/GMaN1911/claude-cognitive
- Documentation: https://github.com/GMaN1911/claude-cognitive#readme
- Issues: https://github.com/GMaN1911/claude-cognitive/issues
- Discussions: https://github.com/GMaN1911/claude-cognitive/discussions
Questions? Open an issue or discussion
Updates? Watch the repo for releases