Problem Description
Entire CLI tracks agent checkpoints as local Git refs (refs/entire/checkpoints/*). By default, Entire installs a .git/hooks/pre-push hook that pushes these refs alongside normal branch pushes to GitHub so entire.io can ingest and display agent sessions.
However, in this repository, Git hooks are managed by hk via hk.pkl. When hk install runs, it overwrites .git/hooks/pre-push with repository:pre-push (npx nx run repository:pre-push), omitting Entire's pre-push hook. As a result, agent checkpoints are not automatically synced on git push.
Proposed Solution
Add an entire step to the pre-push hook definition in hk.pkl:
["pre-push"] {
steps {
["entire"] {
check = "entire hooks git pre-push origin"
}
["repository-control-plane"] {
check = "npx nx run repository:pre-push"
}
}
}
Then regenerate git hooks with:
mise exec hk -- hk install --mise
Problem Description
Entire CLI tracks agent checkpoints as local Git refs (
refs/entire/checkpoints/*). By default, Entire installs a.git/hooks/pre-pushhook that pushes these refs alongside normal branch pushes to GitHub soentire.iocan ingest and display agent sessions.However, in this repository, Git hooks are managed by
hkviahk.pkl. Whenhk installruns, it overwrites.git/hooks/pre-pushwithrepository:pre-push(npx nx run repository:pre-push), omitting Entire's pre-push hook. As a result, agent checkpoints are not automatically synced ongit push.Proposed Solution
Add an
entirestep to thepre-pushhook definition inhk.pkl:Then regenerate git hooks with:
mise exec hk -- hk install --mise