Troubleshooting
No events being recorded
Section titled “No events being recorded”Symptom: You used Codex or Claude Code but ~/.eyes4ai/private/events/ is empty or unchanged.
Checklist:
-
Did you run
eyes4ai install --global? Installing the npm package only puts the binary on your PATH. You must runeyes4ai install --globalto configure your AI tools, set up git hooks, and start the daemon. -
Did you restart your AI tool after install? Codex and Claude Code only read their config at startup. If they were already running when you ran
eyes4ai install, they won’t emit telemetry until restarted. Quit and reopen the tool. -
Is the daemon running?
Terminal window curl http://127.0.0.1:4318/healthYou should see
{"ok":true,...}. If not, start it manually:Terminal window eyes4ai serve -
Does the config exist?
- Codex:
cat ~/.codex/config.toml— look for the[otel]block between# eyes4ai:beginand# eyes4ai:end - Claude Code:
cat ~/.claude/settings.json— look forOTEL_EXPORTER_OTLP_ENDPOINTin theenvkey
- Codex:
Commits not being linked to AI sessions
Section titled “Commits not being linked to AI sessions”Symptom: The report shows AI activity but zero AI-linked commits.
-
Is the git hook installed?
Terminal window git config --global core.hooksPathShould return
~/.eyes4ai/hooks(or similar). Check the hook exists:Terminal window ls -la ~/.eyes4ai/hooks/post-commit -
Is the hook executable?
Terminal window chmod +x ~/.eyes4ai/hooks/post-commit
Daemon won’t start on boot
Section titled “Daemon won’t start on boot”macOS: Check the launchd plist:
cat ~/Library/LaunchAgents/com.eyes4ai.server.plistReload it:
launchctl unload ~/Library/LaunchAgents/com.eyes4ai.server.plistlaunchctl load ~/Library/LaunchAgents/com.eyes4ai.server.plistLinux: Check the systemd service:
systemctl --user status com.eyes4ai.serverjournalctl --user -u com.eyes4ai.serverPort conflict
Section titled “Port conflict”If port 4318 is already in use, install with a custom port:
eyes4ai install --global 4319Checking daemon logs
Section titled “Checking daemon logs”cat ~/.eyes4ai/logs/eyes4ai.stdout.logcat ~/.eyes4ai/logs/eyes4ai.stderr.logReinstalling from scratch
Section titled “Reinstalling from scratch”eyes4ai uninstallnpm uninstall -g @eyes4ai/clinpm install -g @eyes4ai/clieyes4ai install --globalThen restart any running Codex or Claude Code sessions.