Entire
Record Autohand Code CLI sessions as Entire checkpoints so you can review session history and rewind to earlier states.
What is the Autohand Entire integration?
Entire is a CLI that captures session checkpoints for coding agents. When you enable it for Autohand Code CLI, Entire records each session’s prompts, tool usage, file changes, and token consumption, so you can review session history, rewind to an earlier state, and keep agent context alongside your commits.
| Status | Available |
| Requires | Autohand Code CLI, a git repository, and the Entire CLI on your PATH. |
| Configure with | Run entire enable --agent autohand-code inside the repository. Entire writes lifecycle hooks to .autohand/config.json. |
| Best for | Keeping an auditable, rewindable history of agent sessions next to your git history. |
How it works
Entire plugs into Autohand through the hooks system. Enabling Entire registers hooks in the project’s .autohand/config.json that run on session lifecycle events. Each time the agent completes a turn, Entire saves a checkpoint containing the session transcript and a snapshot of the changed files.
- You start an Autohand session, and the
session-starthook initialises checkpoint tracking. - Before each prompt, the
pre-prompthook captures your instruction. - After each agent response, the
stophook saves a full checkpoint (transcript and file state). - When a subagent finishes, the
subagent-stophook saves a checkpoint for that task. - When the session ends, the
session-endhook finalises the session state.
Checkpoints are stored on git shadow branches (entire/<hash>) and condensed to a permanent entire/checkpoints/v1 branch when you commit. Entire never creates commits on your working branch.
Setup
Install the prerequisites
Make sure Autohand Code CLI works in the repository and that the repository is a git repository. Install the Entire CLI, for example with Homebrew:
brew install entireio/tap/entireSee the Entire docs for other installation methods.
Enable Entire for Autohand
From the root of your git repository, run:
entire enable --agent autohand-codeThis command creates .autohand/config.json if it does not exist, registers the lifecycle hooks listed below, and adds a permission rule that stops Autohand from reading Entire’s internal metadata.
Verify the installation
entire statusautohand-code should be listed as an active agent with hooks installed. You can also run /hooks in an Autohand session to see the Entire hooks.
Installed hooks
entire enable --agent autohand-code registers these hooks in .autohand/config.json:
| Hook event | Entire command | Purpose |
|---|---|---|
session-start |
entire hooks autohand-code session-start |
Initialise session tracking |
pre-prompt |
entire hooks autohand-code pre-prompt |
Capture the prompt before the agent processes it |
stop |
entire hooks autohand-code stop |
Save a checkpoint after the agent completes a turn |
session-end |
entire hooks autohand-code session-end |
Finalise session state |
subagent-stop |
entire hooks autohand-code subagent-stop |
Save a checkpoint when a subagent task completes |
Each hook is enabled with a 10-second timeout. Entire also handles the notification event, but it takes no checkpoint action for it.
After enabling, .autohand/config.json contains entries like these:
{
"hooks": {
"hooks": [
{
"event": "session-start",
"command": "entire hooks autohand-code session-start",
"description": "Entire: session start checkpoint",
"enabled": true,
"timeout": 10000
},
{
"event": "stop",
"command": "entire hooks autohand-code stop",
"description": "Entire: save checkpoint on agent stop",
"enabled": true,
"timeout": 10000
}
]
},
"permissions": {
"rules": [
{
"tool": "read_file",
"pattern": ".entire/metadata/**",
"action": "deny"
}
]
}
}
The permission rule keeps Autohand from reading Entire’s session metadata files, which are not relevant to coding tasks.
Checkpoints and rewind
Once Entire is enabled, it runs in the background. Your Autohand workflow does not change.
# View session history
entire log
# Rewind to a previous checkpoint
entire rewind
# Show the current session state, checkpoint count, and active agent
entire status
entire rewind lets you pick a checkpoint and restores both the working tree files and the session transcript to that point.
Uninstall
To remove the Entire hooks from a repository:
entire disable --agent autohand-code
This removes the Entire hook entries and permission rules from .autohand/config.json. Checkpoints already saved on entire/checkpoints/v1 are kept.
Troubleshooting
| Issue | Fix |
|---|---|
| Hooks are not firing | Run entire status, check that .autohand/config.json contains entire hooks commands, and run which entire to confirm Entire is on your PATH. |
entire: command not found in hooks |
Some environments, such as certain IDE terminals, do not inherit your shell PATH. Use the full path to the Entire binary in the hook commands, or export the correct PATH in your shell profile. |
| Checkpoints missing after commits | Entire condenses checkpoints to the permanent branch when you commit. If entire status shows checkpoints but entire log does not, make a commit. |
| Hooks slow Autohand down | Each hook has a 10-second timeout. Check .entire/logs/ for timeout errors, or temporarily set "enabled": false on individual hooks. |
| Hooks out of sync | Run entire disable --agent autohand-code and then entire enable --agent autohand-code to reinstall them. |
How do I configure the Autohand Entire integration?
Install the Entire CLI, then run entire enable --agent autohand-code from the root of your git repository. Entire adds the hooks to .autohand/config.json for you.
Does Entire create commits on my branch?
No. Checkpoints live on entire/<hash> shadow branches and are condensed to entire/checkpoints/v1 when you commit. Your working branch stays clean.
Can I pause Entire without uninstalling it?
Yes. Set "enabled": false on the Entire hooks in .autohand/config.json, or toggle them with /hooks manage. Set them back to true to resume checkpointing.
What limitations should I know about?
Entire only works inside a git repository, and each hook must finish within its 10-second timeout. The Entire commands are maintained by Entire, so their behaviour can change independently of Autohand.