auspex Issues Troubleshooting Guide (macOS)
Last updated: November 19, 2026
This guide covers known auspex problems on macOS devices: what each one means, what causes it, and how to fix it. It is written for IT and platform admins, and each problem has its own section.
Why it matters
When auspex can't capture on a device, that engineer's agent traces are missing and their AI usage reads low in Span. Fleet diagnostics, under Settings > Traces > Fleet diagnostics in Span, shows which people and devices have a problem. This guide shows how to fix each problem on the device. For how Fleet diagnostics decides a status, see the article Fleet diagnostics: check auspex health across your organization.
For IT and platform admins: each fix can run from your MDM as root or in Terminal on the device.
For engineering leaders: fixing these problems restores trace coverage before you rely on trace-based metrics for a team.
Hooks not wired
What it is. auspex captures AI coding activity through hooks registered in each supported tool's configuration: Claude Code, Codex, GitHub Copilot, Cursor and VS Code. On every heartbeat, auspex checks that its hook is present and turned on in each of those configurations. When one or more are missing, the device reports its capture wiring check as failed. Once the failure persists, Fleet diagnostics shows the person as Issues with the reason Hooks are not wired.
The check covers every supported tool, whether or not the person has it installed. auspex wires them all at install time, so a missing hook means something removed it, never placed it, or turned it off in the tool.
Impact.
Activity from the unwired tools is not captured on that device, so its AI usage is under-reported in Span.
Tools that are still wired keep capturing normally.
The heartbeat reports only that the check failed, not which tools are affected. Run the script below on the device to name them.
Common causes.
The package's setup step didn't run or failed. The
.pkgwires the hooks for the user logged in at install time. If no user was logged in, auspex runs the step at the next console login instead. A failure in this step doesn't fail the package install. The package's output is in/var/log/install.log, and auspex records the result of each managed install step, including errors, in/Library/Logs/auspex/install.log.A tool's configuration was overwritten. An app update, a user edit, or another configuration tool replaced the file that holds auspex's hook.
A tool turned hooks off. For example, Codex hooks were turned off in the user's Codex
config.toml, or VS Code'schat.useHookssetting was set tofalse.The auspex agent hasn't restarted since setup. If the agent started before the hooks were placed, it keeps reporting them as missing until it restarts. Capture itself works in this case.
If the device passes this check but Claude Code activity is still missing, see auspex: Claude Code Remote Settings and Managed Hooks (macOS).
Fix it on an MDM-managed device. The script below re-places the hooks, restarts the agent, re-checks, and ends with a single verdict line. It needs a user logged in on the device.
From your MDM: deliver it as a script that runs as root (no password prompt).
On the device: paste the whole block into Terminal and enter an administrator password once.
sudo /bin/bash <<'EOF'
BIN=/usr/local/bin/auspex
U=$(/usr/bin/stat -f%Su /dev/console)
case "$U" in ""|root|loginwindow|_*) echo "No logged-in console user ('$U'); re-run while a user is logged in."; echo "RESULT: NOT VERIFIED - no console user"; exit 1;; esac
UID_=$(/usr/bin/id -u "$U")
wiring() { out=$(/usr/bin/sudo -H -u "$U" "$BIN" status --json 2>&1); echo "$out" | /usr/bin/awk '/"name": "capture_wiring"/{f=1} f&&/"(status|detail)"/{sub(/^ +/,"");print;p=1} f&&/}/{exit} END{exit !p}' || echo "status: $(echo "$out" | head -3)"; }
echo "== capture_wiring BEFORE ($U)"; wiring
echo "== re-placing managed hooks"; "$BIN" install --system --target-user "$U"; RC=$?; echo "install exit: $RC"
echo "== restarting auspex agent"; /bin/launchctl kickstart -k "gui/$UID_/app.span.auspex"; sleep 10
echo "== capture_wiring AFTER"; AFTER=$(wiring); echo "$AFTER"
echo "== per-tool wiring"; HS=$(/usr/bin/sudo -H -u "$U" "$BIN" hooks status 2>&1); echo "$HS"
WHY=""
[ "$RC" -ne 0 ] && WHY="$WHY install failed (exit $RC);"
echo "$AFTER" | /usr/bin/grep -q '"status": "pass"' || WHY="$WHY capture_wiring not passing ($(echo "$AFTER" | /usr/bin/grep -E '"detail"|^status:' | head -1));"
echo "$HS" | /usr/bin/grep -q 'placed at the system tier' || WHY="$WHY machine-wide hooks are not placed;"
echo "$HS" | /usr/bin/grep -qE '✗|⚠' && WHY="$WHY hooks status shows unwired/unknown tools;"
echo "=================================================="
if [ -z "$WHY" ]; then echo "RESULT: OK - auspex capture hooks are wired and the agent reports healthy"; else echo "RESULT: NOT WORKING -$WHY"; fi
EOF
Reading the result.
RESULT: OKmeans every tool is wired and the agent reports healthy. The device's next heartbeat reports the check as passing, and Fleet diagnostics drops the reason at its next data refresh.RESULT: NOT WORKINGlists the reasons. Thecapture_wiring AFTERline names the tools that are still unwired (for example2 of 5 tools unwired: codex, vscode). A✗ <tool> failed: …line in the re-placing step gives the error for that tool.RESULT: NOT VERIFIEDmeans no user was logged in. Re-run it while one is.
On MDM-managed devices, the per-tool list shows the machine-wide tools. It lists VS Code, in a separate user-scoped section, only when VS Code is wired, so an unwired VS Code doesn't appear there. The capture_wiring lines always include it.
Fix it on a self-installed device. The script above is for MDM-managed devices: auspex install --system stops with "no managed configuration present" on a device without the MDM's managed configuration. On a self-installed device, the engineer runs auspex hooks install in their own Terminal, without sudo. It wires every supported tool and reports any tool it couldn't wire.
If it persists. Send the full script output to the Span team, together with a support bundle from the device. Run this in the engineer's own Terminal session, without sudo. It writes auspex-support-<timestamp>.zip to the current folder, with auspex's logs, both install logs, a redacted copy of its configuration and its health report:
auspex support # redacted support bundle
Things to know
Fleet diagnostics doesn't name the tool. The heartbeat carries only whether each check passed, so the tool names appear only on the device, in
auspex statusandauspex hooks status.A configuration auspex can't read counts as wired. If auspex can't read a tool's configuration (for example, after a permissions change), the capture wiring check doesn't fail for that tool.
auspex hooks statusshows that tool as⚠ … unknownwith the error.Don't use
auspex hooks installon a managed device. auspex refuses it there, because per-user hooks on top of the machine-wide ones would capture every event twice. Re-place hooks withsudo auspex install --system --target-user <username>or the script above.auspex repairs some of this on its own. On a managed Mac, the managed install step runs again whenever a user logs in at the console, and the running agent re-wires VS Code for its user. Other missing hooks stay missing until the step runs again.
Wired doesn't always mean firing. The check confirms auspex's hook is in place in each configuration. A tool setting that tells the tool to ignore it, such as Claude Code remote settings, shows up as missing traces instead.
Worked example. On a managed Mac, auspex status shows [FAIL] capture_wiring: 2 of 5 tools unwired: codex, vscode, followed by a note that the machine-wide hooks are re-placed by auspex install --system and that auspex re-wires VS Code on its next start. The script re-places the Codex hook, and the agent restart lets auspex re-wire VS Code. The capture_wiring AFTER line then reads all 5 tools wired and the result is RESULT: OK. If Codex is still listed, check the user's Codex config.toml for hooks turned off.
Related articles
Fleet diagnostics: check auspex health across your organization
auspex Issues Troubleshooting Guide (Windows)
auspex: Claude Code Remote Settings and Managed Hooks (macOS)
Verify that auspex is sending traces
auspex: IT Admin User Guide for Jamf Pro (macOS)
Need help?
Contact your Span account team or reach out to support@span.app.