Common Issues
Solutions for frequently encountered problems with Bitloops.
Session Appears Stuck
Symptom: bitloops status shows an active session that should have ended.
Solution: Run the doctor command to diagnose:
bitloops doctor
If the session is genuinely stuck, reset the state:
bitloops reset
This clears the shadow state without deleting checkpoint data.
Hooks Not Firing
Symptom: You're using an AI agent but bitloops status shows no session activity.
Possible causes:
- Bitloops not enabled — run
bitloops enable - Hooks not installed — reinitialize:
bitloops init --agent <name> --force - Agent not detected — specify the agent explicitly:
bitloops init --agent claude-code
DevQL Ingestion Fails
Symptom: bitloops devql ingest errors out.
Steps:
-
Check store connectivity:
bitloops --connection-status -
Re-initialize the schema:
bitloops devql init -
If using PostgreSQL or ClickHouse, verify the connection string in
.bitloops/config.json
Dashboard Won't Start
Symptom: bitloops dashboard fails or the page doesn't load.
Possible causes:
-
Port already in use — try a different port:
bitloops dashboard --port 8080 -
Stores not initialized — run
bitloops devql initfirst -
Check for errors in the terminal output when starting the dashboard
No Checkpoints After Committing
Symptom: You committed code from an AI session but no checkpoint was created.
Check:
- Is capture enabled?
bitloops status - Are git hooks installed? Check
.git/hooks/for Bitloops hooks - Reinitialize if needed:
bitloops init --agent <name> --force
Orphaned Data
Symptom: Storage grows unexpectedly or data seems inconsistent.
Solution: Clean up orphaned data:
bitloops clean
This removes data that's no longer linked to valid sessions or checkpoints.
Getting More Help
If these solutions don't resolve your issue:
- Run
bitloops doctorfor a comprehensive diagnostic - Check the FAQ for common questions
- Open an issue on GitHub
- Join the Discord community