You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(hooks): auto-stage .gemini, .claude, .codex directories on commit
- Remove .claude from .gitignore so it can be tracked alongside .gemini and .codex
- Add auto-staging logic to pre-commit hook for AI agent config directories
- Update setup-pre-commit-hook.js to include AI dir staging in generated hook
- Auto-configure core.hooksPath in setup script instead of requiring manual step
Previously the pre-commit hook only staged .knowledge directories. The .claude
directory was also listed in .gitignore, making it impossible to track. The setup
script required a manual `git config core.hooksPath .githooks` step that was
easy to forget, causing all hooks (including pre-push session backup) to never
activate.
Fixes#170
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments