Prerequisites
- Entire CLI installed
- Droid installed
- A Git repository with Entire enabled
How It Works
Entire integrates with Droid through hook configuration in.factory/settings.json. When you enable Entire with the Droid agent, hooks are installed automatically:
- Session Start - Fires when Droid launches, creating a new Entire session
- Turn Tracking - Each user prompt triggers tracking via
user-prompt-submithooks - Subagent Tracking -
pre-tool-useandpost-tool-usehooks capture Task tool invocations for nested session support - Session End - Fires when Droid exits, finalizing the session
- Transcript Capture - Session transcript is read from Droid’s JSONL log files
- Session Storage - Data saved to the
entire/checkpoints/v1branch
Captured Data
| Data | Description |
|---|---|
| Conversation | Full transcript of prompts and responses |
| File changes | All files modified during the session |
| Tool calls | Tool invocations with inputs and outputs |
| Token usage | Input, output, reasoning, and cache tokens |
| Timestamps | Session, message, and checkpoint timing |
Features
Nested Session Support
When Droid spawns sub-agents via the Task tool, Entire captures these as nested sessions throughpre-tool-use and post-tool-use hooks:
Rewind Support
Rewind to previous checkpoints during or after a session:| Flag | Description |
|---|---|
--to <commit> | Rewind to specific commit ID (non-interactive) |
--list | List available rewind points (JSON output) |
--logs-only | Only restore logs, don’t modify working directory |
--reset | Reset branch to commit (destructive) |
Resume Previous Sessions
Resume a previous Droid session by switching to its branch:- Checks out the specified branch
- Finds the session ID from commits unique to this branch
- Restores the session log if it doesn’t exist locally
- Shows the command to resume the session (e.g.,
droid --session-id <id>)
| Flag | Description |
|---|---|
-f, --force | Resume from older checkpoint without confirmation |
Explain Commits
View or generate explanations of how code was written:| Flag | Description |
|---|---|
-c, --checkpoint <id> | Explain a specific checkpoint (ID or prefix) |
--commit <sha> | Explain a specific commit (SHA or ref) |
--full | Show full parsed transcript (all prompts/responses) |
-s, --short | Show summary only (omit prompts and files) |
Best Practices
Commit at Logical Points
Commit when you’ve made meaningful progress:Check Status Regularly
Monitor your session:Example Workflow
Troubleshooting
Session not detected
Session not detected
- Ensure you’re in an Entire-enabled repo:
entire status - Verify Droid is running from within the repository
- Check that hooks are installed in
.factory/settings.json - Check Git hooks are installed:
ls .git/hooks
No checkpoints created
No checkpoints created
- Checkpoints require file changes — ensure Droid is modifying files
- Check your settings in
.entire/settings.json - Verify the
.factory/settings.jsonhooks are present
Transcript not captured
Transcript not captured
- Ensure Droid’s session storage exists at
~/.factory/sessions/<repo>/ - Check that JSONL transcript files are being written
- Look for errors in the Entire hook output
Limitations
- The integration is in preview and may have rough edges
- Session detection relies on hook-based process detection
- Transcript capture depends on Droid writing JSONL session logs