Skip to main content

Verify your installation

Use this guide to confirm a workstation is set up and actually reporting. The built-in diagnostics answer the question faster and more reliably than checking files by hand, so start there.

  • Deployment: SaaS, On-premises

1. Run the diagnostics​

Run aitrax setup check first. It takes under a second. It repairs two settings it owns as it runs, so unlike aitrax doctor it is not read-only.

Setup does not add the tracker to PATH, so run it by its full path — see Where the tracker binary lives:

~/.codetogether/tracker/aitrax setup check
Terminal
$ ~/.codetogether/tracker/aitrax setup check
{
  "system": {
    "configured": true,
    "missing": [],
    "loginCleanup": {
      "state": "clean"
    }
  }
}

The output is a single system object. If it shows as configured, setup is complete and you can proceed to step 2. If it shows as not configured, see Setup reports not configured.

Next, run aitrax health the same way — the full path, then the command. It reads local files only and never contacts the server, so it is safe to run on a locked-down or air-gapped machine.

Terminal
$ ~/.codetogether/tracker/aitrax health
VERDICT: healthy
13 events across 1 file(s), 4 source(s); no problems.

RECENT ACTIVITY (last 7d | last 24h):
  ACTIVITY                           SOURCE        7D  24H
  Managed tracker lifecycle / probe  setup-check   8   8
  Managed tracker lifecycle / probe  post-tracker  2   2
  Telemetry upload OK                aitrax-full   1   1
  Telemetry upload OK                otlp          1   1
  Tracker process launch             post-tracker  1   1
  TOTAL                                            13  13

A healthy verdict means the tracker lifecycle is operating correctly on this workstation. The other verdicts are degraded, broken, and indeterminate — the last meaning the command found no usable evidence to judge on, which on a machine set up minutes ago usually just means nothing has happened yet.

Below the activity table, every run reports on capture itself:

  • INCOMPLETE SESSION CAPTURE (last 7 days): lists a row per capture source and the share of sessions that were captured incompletely. A share above the threshold the line names reads DEGRADED, and that alone lowers a healthy verdict to degraded — so this section is worth reading even when nothing else looks wrong. On a workstation where no AI session has been captured yet, it says so on one line instead.
  • TRACKER V3 UPLOAD: appears once the tracker has a delivery report to show. It states what your server last answered when asked which capture features it accepts, the upload pipeline in use, how much is waiting in the outbox and how old the oldest record is, and whether delivery is ok or DEGRADED. A lane the server is refusing is named here.

Add --sessions to list the individual held and incomplete sessions behind that first section. To report on a single repository's undelivered commits instead of the whole lifecycle, run aitrax health --quarantine in the repository.

Reading the missing list​

aitrax setup check includes a missing list. Entries in it follow a consistent naming convention:

  • No suffix (cursor-global-mcp, claude-code-cli-mcp, kiro-trust-permissions, kiro-steering-mandate, and so on): the surface is expected but not configured. Either the tool is not installed, or aitrax setup system has not run since it was — install the tool if needed, then run aitrax setup system.
  • -stale suffix (cursor-global-mcp-stale): the AITrax-managed entry is there but is not what your tracker would write — either it differs from the current form in some way, or it is a kind of setting AITrax does not write at all, in which case it is a leftover. Run aitrax setup system again, which replaces or removes it. This never means a setting of your own, which is reported as -foreign and left alone.
  • -foreign suffix (claude-code-telemetry-foreign): a configuration you own is in place and AITrax respects it rather than overwriting it. This is informational, not an error.
  • -missing and -partial suffixes on the hook families (claude-hooks-missing, claude-hooks-partial, and the same for cursor-hooks and copilot-hooks): no managed hook entry at all, or some of the required events configured and some not. Both resolve by running aitrax setup system again.

Not every entry appears on every machine. AITrax configures only the AI tools that are actually installed, so an absent entry for a tool you do not use is correct, not a failure.

An update can also leave a managed instruction file carrying an older release's text. That is not reported in the missing list, because nothing is missing; aitrax setup reconcile rewrites those files, and the tracker runs it for you after an update.

2. Check the integration files​

After setup runs, these files should be present for each AI tool you use.

The following table lists the files aitrax setup system writes on macOS and Linux for each supported tool:

ToolPath
Binary (core)~/.codetogether/tracker/aitrax
Binary (full build)~/.codetogether/tracker/aitrax-full
User config~/.codetogether/tracker/aitrax.json
Audit log~/.codetogether/aitrax.jsonl
Claude Code hooks and MCP permission rule~/.claude/settings.json
Claude Code CLI user MCP~/.claude.json
Cursor global MCP~/.cursor/mcp.json
VS Code Copilot user MCP~/Library/Application Support/Code/User/mcp.json (macOS)
VS Code Copilot user MCP~/.config/Code/User/mcp.json (Linux)
VS Code Copilot OTEL settings~/Library/Application Support/Code/User/settings.json (macOS)
VS Code Copilot OTEL settings~/.config/Code/User/settings.json (Linux)
JetBrains Copilot user MCP~/.config/github-copilot/intellij/mcp.json
Copilot CLI user MCP~/.copilot/mcp-config.json
Copilot CLI user hooks~/.copilot/hooks/aitrax.json
Codex user config~/.codex/config.toml
Kiro user MCP~/.kiro/settings/mcp.json
OpenCode user config~/.config/opencode/opencode.json

A missing file for a tool you do not use is expected. aitrax setup system writes only the entries for tools it detects as installed.

The full path inventory, including which setup scope owns each file, is in Files and locations.

3. Confirm the Copilot settings in VS Code​

Copilot's own telemetry is what gives a Copilot chat in VS Code its exact token counts and the model that answered, so setup owns three settings in VS Code's settings.json. Open that file — Preferences: Open User Settings (JSON) in the Command Palette — and confirm all three are present:

SettingValue setup keeps
github.copilot.chat.otel.enabledtrue
github.copilot.chat.otel.exporterType"otlp-http"
github.copilot.chat.otel.captureContentfalse, unless the AITrax VS Code extension is installed and relaying, which is the only thing that turns it on

No endpoint is set. The AITrax VS Code extension receives Copilot's telemetry on a local listener and forwards the figures, so setup never points Copilot at your server directly, and it removes an endpoint that points there if an older install left one.

vscode-copilot-otel-user in the missing list means these settings are not in place. Run aitrax setup system again, then restart VS Code.

Developers do not set any of this by hand. If a check reports something missing, re-running setup is the correct fix.

AITrax does not export telemetry settings to your shell

Setup writes nothing to .bashrc, .zshrc, .profile, a PowerShell profile, or your user environment, and every tool it configures has its own source for the figures the platform reports. If copilot-cli-otel-env-stale appears in the missing list, a managed block from an older install is still in a shell profile; running aitrax setup system removes it. copilot-cli-otel-env-foreign means telemetry environment settings of your own are there, which AITrax leaves alone — that entry is informational.

4. Confirm collection​

Configuration and data collection are two separate claims. A workstation can be fully configured while uploads are blocked, so confirm that data is actually arriving.

  1. Do a short piece of real work in a Git repository — edit a file, write a few lines.

  2. Make a commit.

  3. Check the local audit log for recent activity:

    tail -20 ~/.codetogether/aitrax.jsonl

    Recent entries confirm the tracker observed the commit. They do not confirm it reached the server, so continue.

  4. Sign in to the portal, open a team or project work area you belong to from Home, and select the Flow tab. Flow is the dashboard that carries commits and coding time.

  5. Set the date range to include today. The range control at the top right defaults to the last four complete Monday-to-Sunday weeks, which ends on the most recent Sunday — so the commit you just made is outside it, and the dashboard will look unchanged no matter how long you wait. Widen the range to cover today, then allow a few minutes for processing and refresh.

Your own row in the Active developers table, under the Developer roster heading further down Flow, is the confirmation: its coding time, commit, and agentic-code figures are yours. Sessions are not a column there — the Sessions tile in Flow's Overview row is where a session count shows up. On the All Areas scope and on a Combined work area that section lists work areas rather than people, which is why this step names a team or project area.

The tab that carries the Activity label is a different dashboard, a heat grid of the directories the team worked in. A work area's full strip is Home, Activity, Flow, Tooling and Tracking, but Tracking is shown only to that work area's Owners and Admins, so as a developer you will usually see four tabs rather than five. See Dashboards for what each one is for.

The Flow tab of a work area, showing the Home, Activity, Flow, Tooling, and Tracking tab strip and the Overview KPI row

The Flow tab on a work area, seen by an administrator, showing the full tab strip and the Overview KPI row. Figures shown are from a sample environment.

If activity does not appear after other developers' activity from the same period has appeared, the next step is an administrator's: ask whoever administers your organization to work through No activity appears for a developer, which needs portal access you may not have.

Known failure modes​

A blocked upload path still reports as configured​

aitrax setup check reports on configuration alone, so a workstation whose uploads are blocked by network policy still reports as configured. It is aitrax health that notices: upload failures are recorded in the local lifecycle log, so they appear under PROBLEMS, and the TRACKER V3 UPLOAD: section shows the outbox filling and names a lane the server is refusing. A verdict of degraded with upload failures in it, while aitrax setup check reports configured, is the signature of this.

Because the tracker keeps the work and retries, nothing is lost in the meantime. If health reports the uploads as ok and you still never appear in the portal, the cause is further on; see No activity appears for a developer.

Invalid ~/.claude/settings.json skips the Claude Code steps​

aitrax setup system merges managed hook entries and the AITrax MCP permission rule into ~/.claude/settings.json. If that file is not valid JSON when setup runs, those steps are skipped rather than overwriting a file that may contain credentials or other user content — the report counts them as skipped and the rest of setup completes.

aitrax setup check then reports claude-hooks-missing and claude-code-permissions:

Terminal
$ ~/.codetogether/tracker/aitrax setup check
{
  "system": {
    "configured": false,
    "missing": [
      "claude-hooks-missing",
      "claude-code-permissions"
    ],
    "loginCleanup": {
      "state": "clean"
    }
  }
}

Re-running setup does not clear this, because the file still cannot be parsed. Inspect it for a JSON syntax error, correct it, and run aitrax setup system again.

On an on-premises deployment, the build the portal is running is printed at the foot of the left nav, under Settings — quote it when you report a problem.