-
Notifications
You must be signed in to change notification settings - Fork 217
Open
Open
auto-commit: 0 checkpoints created during active Claude Code session#487
Description
Environment
- Entire CLI: 0.4.7 (80695ef), also reproduced on 0.4.6
- OS: macOS 14.3 (Darwin 23.3.0), arm64
- Agent: Claude Code (Opus 4.6) -- active session via CLI
- Strategy:
auto-commit - Git hooks path:
~/.config/git/hooks(globalcore.hooksPath)
Problem
Entire is enabled with auto-commit strategy, hooks are installed, and commits are being made during an active Claude Code CLI session -- but entire explain always shows 0 checkpoints. The checkpoint branch (entire/checkpoints/v1) only has the initial metadata commit.
Steps to reproduce
entire enablein a repo (auto-commit strategy)- Start a Claude Code CLI session
- Make commits from within the session
entire explain- 0 checkpoints
Diagnostic details
$ entire status
* Enabled * auto-commit * branch main
$ entire explain
Branch: main
Checkpoints: 0
$ entire doctor
No stuck sessions found.
$ git log entire/checkpoints/v1 --oneline
efd3644 Initialize metadata branch
entire hooks git post-commitexits 0 with no output- Running with
ENTIRE_DEBUG=1andENTIRE_LOG_LEVEL=debugproduces no output .entire/logs/entire.logis empty- No log files found in
~/Library/Logs,/tmp, or~/.entire/ - Tried
entire disable && entire enableand upgrading from 0.4.6 - 0.4.7 -- no change
Hook chain
There is a pre-existing post-commit hook (renamed to post-commit.pre-entire by Entire during setup) that runs a git-to-daily log generator. Entire's wrapper correctly chains to it. Both hooks run and exit cleanly -- the issue is not a hook conflict.
# ~/.config/git/hooks/post-commit (installed by Entire)
#!/bin/sh
entire hooks git post-commit 2>/dev/null || true
_entire_hook_dir="$(dirname "$0")"
if [ -x "$_entire_hook_dir/post-commit.pre-entire" ]; then
"$_entire_hook_dir/post-commit.pre-entire" "$@"
fi
#!/bin/sh
entire hooks git post-commit 2>/dev/null || true
_entire_hook_dir="$(dirname "$0")"
if [ -x "$_entire_hook_dir/post-commit.pre-entire" ]; then
"$_entire_hook_dir/post-commit.pre-entire" "$@"
fi
Expected behavior
Commits made during an active Claude Code session with auto-commit strategy should create checkpoints on entire/checkpoints/v1.