Troubleshooting
Common issues and how to solve them.
If you need deeper operational guidance, see:
Hook Failures
Hooks Not Firing
If you do not see "Recalletta hook firing" messages at session start or end:
- Check status: Run `recalletta hook`. It should show "Enabled: yes" and indicate installations for your clients.
- Re-install: Run `recalletta hook enable`.
- Verify path: Recalletta skips certain paths by default (e.g., `node_modules`, `.git`). Ensure you are working in a standard project directory.
Session Not Uploading
If sessions do not appear in the dashboard (https://recalletta.ai) or search results:
- Check the logs: Inspect `~/.recalletta/log/unified.log` for upload errors.
- Verify Auth: Run `recalletta auth` to ensure you are logged in and your API key is valid.
- Manual Upload: If a hook failed to upload a specific session, you can manually upload it by prefix: ```bash $ recalletta upload <SESSION_ID_PREFIX> ``` Or upload all unsaved sessions from a provider: ```bash $ recalletta upload claude ```
Crew & Bridge Issues
Crew Command Hangs
If `recalletta crew summon` appears to hang:
- Check tmux: Ensure `tmux` is installed and functioning.
- Attach to the session: The agent might be waiting for a response or blocked by a tool call. ```bash $ recalletta crew attach <name> ```
Bridge Connectivity
If recalletta crew message fails to reach a remote host:
- Ensure the bridge is running: Start it on the target machine (this is safe to run if it's already running). ```bash $ recalletta crew bridge start ```
- Verify Port: The default bridge port is 8888. Ensure it is open and not blocked by a firewall.
- Direct Test: Try a simple `curl` to the bridge endpoint to verify network visibility.
Knowledge Base Discrepancies
KB Entry Not Injected
If an "important" entry is missing from your agent context:
- Verify Pinning: Ensure your directory is pinned to the correct project. Check for a `.recalletta.json` file in your directory or run: ```bash $ recalletta pin <SLUG> ```
- Check Importance: Verify the entry or its parent compartment is marked as important in `recalletta kb tree`.
- Session Timing: Context is injected only at SessionStart. New KB changes will not appear in a session that is already running.
Local Search Issues
No Results for Local Files
If `recalletta repo search` returns nothing for files you know exist:
- Re-index: Your local index might be stale. ```bash $ recalletta repo index ```
- Check Status: Run `recalletta repo status` to see when the last index was built and which paths were included.