Files and locations
AITrax writes to a set of paths under your home directory. This page lists the client-side paths and what each contains. Server-side paths are out of scope here.
- Deployment: SaaS, On-premises
Knowing these paths helps when diagnosing setup problems or reporting an issue. To see which of them exist on your own machine, see Read the path inventory from the command line.
The first path below is the tracker binary itself. It is not added to PATH, so you run it
by its full path — see
Where the tracker binary lives.
System paths
System paths are written by aitrax setup system.
The following table lists the core system paths:
| Path | Contents | OS |
|---|---|---|
~/.codetogether/tracker/aitrax | Native binary (core build, handles daily tracking) | macOS and Linux |
%USERPROFILE%\.codetogether\tracker\aitrax.exe | Native binary (core build, handles daily tracking) | Windows |
~/.codetogether/tracker/aitrax-full | Full build (owns setup, token redemption, and diagnostics) | macOS and Linux |
%USERPROFILE%\.codetogether\tracker\aitrax-full.exe | Full build (owns setup, token redemption, and diagnostics) | Windows |
~/.codetogether/tracker/aitrax-full.etag | Download validator for the full build, so an update re-downloads only a changed binary | macOS and Linux |
%USERPROFILE%\.codetogether\tracker\aitrax-full.exe.etag | Download validator for the full build, so an update re-downloads only a changed binary | Windows |
~/.codetogether/tracker/aitrax.etag, %USERPROFILE%\.codetogether\tracker\aitrax.etag | The same validator for the core build. It appears once the core build has been downloaded on that machine, so a workstation set up from a packaged installer may not have it yet | All |
~/.codetogether/tracker/aitrax.json | User-level configuration: server URL and endpoint | All |
~/.codetogether/aitrax.jsonl | Local audit log recording binary download, spawn, and handshake failures | macOS and Linux |
%USERPROFILE%\.codetogether\aitrax.jsonl | Local audit log recording binary download, spawn, and handshake failures | Windows |
~/.codetogether/tracker/scope-<tenant>.json | Cache of the collection scope the server returned for this tenant | All |
The audit log is the most useful attachment when reporting a tracking problem, because it records failure paths that produce no visible error in the IDE. It rotates by size.
Further paths can appear under ~/.codetogether/ without aitrax setup system having
written them, because the tracker writes them as it runs:
tracker/repos.json, the registry of worktrees registered for daemon Git observation. It is written when a worktree is registered, and a machine that has completed setup but registered none does not have it. A worktree's entry is removed byaitrax uninstall repo, not byaitrax uninstall system, which is whyrepos.jsondoes not appear in the system inventory later on this page.tracker/box-install.json, the ingest credential for this workstation. On SaaS,aitrax setup system --activation-code <code>writes it while redeeming the code. An on-premises workstation that authenticated with--urldoes not have it.tracker/capture-v3-server.json, a record of what your server told the tracker it accepts: whether it takes the current upload format, which optional capture fields, and which commit-lane revision. It is refreshed about hourly, so a restart resumes on a real answer instead of probing blind, and a newer tracker in front of an older server adapts its uploads rather than losing records.aitrax healthreports it underTRACKER V3 UPLOAD:.tracker/tracker-policy.json, a cache of your organization's tracker policy — the integration-branch patterns an administrator configured. The background tracker fetches it from your server when it starts and roughly hourly after that, so attribution keeps using the right policy even while the server is unreachable.otel-listener/, which holds one small file per port while a workstation is running the AITrax VS Code extension and that extension is relaying Copilot's telemetry. Setup does not create it.
One more, tracker/mcp/, is a launcher-shim directory that an older tracker created. Setup
deletes it rather than writing it, so it is present only until the first run of a current
tracker.
$ ~/.codetogether/tracker/aitrax setup system --url https://ctai.yourcompany.com
aitrax: downloading aitrax-full
aitrax: staged aitrax-full at /home/dev/.codetogether/tracker/aitrax-full (11718948 bytes)
▸ User-level configuration 27 changed
✓ Done · 27 changed, 1 unchanged · 17ms
$ ls ~/.codetogether/tracker/
aitrax aitrax-full aitrax-full.etag aitrax.json
User-level integration files
aitrax setup system writes configuration for each AI tool that is installed. Only the
tools that are present on the workstation receive entries; a missing entry for a tool you
do not use is correct, not a failure.
These tables list the surfaces setup owns. To see which of them exist on one particular machine, read the report the tracker itself prints — see Read the path inventory from the command line.
- macOS and Linux
- Windows
The following table lists the user-level integration files aitrax setup system writes
on macOS and Linux:
| Tool | Path | Contents |
|---|---|---|
| Claude Code | ~/.claude/settings.json | Managed hooks entries for SessionStart, SessionEnd, and PreToolUse, and the AITrax MCP permission rule |
| Claude Code CLI | ~/.claude.json | User-level mcpServers.aitrax entry |
| Claude Code instructions | ~/.claude/rules/aitrax.md | Managed agent instruction block |
| Claude Desktop | ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) | User-level mcpServers.aitrax entry |
| Claude Desktop | ~/.config/claude/claude_desktop_config.json (Linux) | User-level mcpServers.aitrax entry |
| Cursor | ~/.cursor/mcp.json | User-level mcpServers.aitrax entry |
| Cursor allowlist | ~/.cursor/permissions.json | AITrax entry in the mcpAllowlist auto-run list |
| Cursor hooks | ~/.cursor/hooks.json | User-level hook entries |
| VS Code Copilot | ~/Library/Application Support/Code/User/mcp.json (macOS) | User-level servers.aitrax entry |
| VS Code Copilot | ~/.config/Code/User/mcp.json (Linux) | User-level servers.aitrax entry |
| VS Code Copilot OTEL | ~/Library/Application Support/Code/User/settings.json (macOS) | github.copilot.chat.otel.enabled and github.copilot.chat.otel.exporterType, plus github.copilot.chat.otel.captureContent turned off unless the AITrax VS Code extension is installed and relaying |
| VS Code Copilot OTEL | ~/.config/Code/User/settings.json (Linux) | github.copilot.chat.otel.enabled and github.copilot.chat.otel.exporterType, plus github.copilot.chat.otel.captureContent turned off unless the AITrax VS Code extension is installed and relaying |
| VS Code Copilot Chat instructions | ~/Library/Application Support/Code/User/prompts/aitrax.instructions.md (macOS), ~/.config/Code/User/prompts/aitrax.instructions.md (Linux) | Managed instruction file VS Code Copilot Chat auto-applies |
| VS Code Copilot Chat instructions (fallback) | ~/.copilot/instructions/aitrax.instructions.md | Second copy, read by non-default VS Code profiles, Insiders, VSCodium, and remote-dev setups |
| JetBrains Copilot | ~/.config/github-copilot/intellij/mcp.json | User-level servers.aitrax entry |
| Copilot CLI MCP | ~/.copilot/mcp-config.json | User-level mcpServers.aitrax entry |
| Copilot CLI hooks | ~/.copilot/hooks/aitrax.json | User-level hook entries |
| Copilot CLI instructions | ~/.copilot/copilot-instructions.md | Managed agent instruction block |
| Codex | ~/.codex/config.toml | mcp_servers.aitrax entry and tool pre-approval |
| Codex hooks | ~/.codex/hooks.json | SessionStart hook entry |
| Codex instructions | ~/.codex/AGENTS.md | Managed agent instruction block |
| Kiro | ~/.kiro/settings/mcp.json | User-level mcpServers.aitrax entry |
| Kiro steering | ~/.kiro/steering/aitrax-instructions.md | Managed steering mandate |
| Kiro permissions | ~/.kiro/settings/permissions.yaml | AITrax entry in the Kiro Trust permissions list |
| OpenCode | ~/.config/opencode/opencode.json, or ~/.config/opencode/opencode.jsonc when that file already exists | mcp.aitrax entry and instruction-file reference |
| OpenCode instructions | ~/.config/opencode/aitrax-instructions.md | Managed instruction file |
| OpenCode plugin | ~/.config/opencode/plugin/aitrax.js | Correlation plugin |
The following table lists the user-level integration files aitrax setup system writes
on Windows:
| Tool | Path | Contents |
|---|---|---|
| Claude Code | %USERPROFILE%\.claude\settings.json | Managed hooks entries for SessionStart, SessionEnd, and PreToolUse, and the AITrax MCP permission rule |
| Claude Code CLI | %USERPROFILE%\.claude.json | User-level mcpServers.aitrax entry |
| Claude Code instructions | %USERPROFILE%\.claude\rules\aitrax.md | Managed agent instruction block |
| Claude Desktop | %APPDATA%\Claude\claude_desktop_config.json | User-level mcpServers.aitrax entry |
| Cursor | %USERPROFILE%\.cursor\mcp.json | User-level mcpServers.aitrax entry |
| Cursor allowlist | %USERPROFILE%\.cursor\permissions.json | AITrax entry in the mcpAllowlist auto-run list |
| Cursor hooks | %USERPROFILE%\.cursor\hooks.json | User-level hook entries |
| VS Code Copilot | %APPDATA%\Code\User\mcp.json | User-level servers.aitrax entry |
| VS Code Copilot OTEL | %APPDATA%\Code\User\settings.json | github.copilot.chat.otel.enabled and github.copilot.chat.otel.exporterType, plus github.copilot.chat.otel.captureContent turned off unless the AITrax VS Code extension is installed and relaying |
| VS Code Copilot Chat instructions | %APPDATA%\Code\User\prompts\aitrax.instructions.md | Managed instruction file VS Code Copilot Chat auto-applies |
| VS Code Copilot Chat instructions (fallback) | %USERPROFILE%\.copilot\instructions\aitrax.instructions.md | Second copy, read by non-default VS Code profiles, Insiders, VSCodium, and remote-dev setups |
| JetBrains Copilot | %LOCALAPPDATA%\github-copilot\intellij\mcp.json | User-level servers.aitrax entry |
| Visual Studio | %USERPROFILE%\.mcp.json | Top-level servers.aitrax entry |
| Copilot CLI MCP | %USERPROFILE%\.copilot\mcp-config.json | User-level mcpServers.aitrax entry |
| Copilot CLI hooks | %USERPROFILE%\.copilot\hooks\aitrax.json | User-level hook entries |
| Copilot CLI instructions | %USERPROFILE%\.copilot\copilot-instructions.md | Managed agent instruction block |
| Codex | %USERPROFILE%\.codex\config.toml | mcp_servers.aitrax entry and tool pre-approval |
| Codex hooks | %USERPROFILE%\.codex\hooks.json | SessionStart hook entry |
| Codex instructions | %USERPROFILE%\.codex\AGENTS.md | Managed agent instruction block |
| Kiro | %USERPROFILE%\.kiro\settings\mcp.json | User-level mcpServers.aitrax entry |
| Kiro steering | %USERPROFILE%\.kiro\steering\aitrax-instructions.md | Managed steering mandate |
| Kiro permissions | %USERPROFILE%\.kiro\settings\permissions.yaml | AITrax entry in the Kiro Trust permissions list |
| OpenCode | %USERPROFILE%\.config\opencode\opencode.json, or opencode.jsonc when that file already exists | mcp.aitrax entry and instruction-file reference |
| OpenCode instructions | %USERPROFILE%\.config\opencode\aitrax-instructions.md | Managed instruction file |
| OpenCode plugin | %USERPROFILE%\.config\opencode\plugin\aitrax.js | Correlation plugin |
If a tool is configured to use a non-default home directory (for example, Codex respects
$CODEX_HOME/%CODEX_HOME%, and Copilot CLI respects $COPILOT_HOME/%COPILOT_HOME%),
the path resolves relative to that override rather than the user home. The OpenCode paths
follow $XDG_CONFIG_HOME the same way.
Setup does not write an [otel] table into ~/.codex/config.toml, and removes one if it
finds one — Codex activity is collected through the tracker instead. Setup likewise does not
write Kiro's kiroTelemetryConfig.endpoint into Kiro's settings.json
(~/Library/Application Support/Kiro/User/settings.json on macOS,
~/.config/Kiro/User/settings.json on Linux, %APPDATA%\Kiro\User\settings.json on
Windows), and removes one if it finds one.
Telemetry settings setup does not export to your environment
Setup does not put telemetry settings into your shell profile or your user environment. Every tool it configures has its own source for the figures the platform reports, so none of them needs an exported endpoint. The paths below therefore carry nothing of AITrax's, and setup removes a managed block it finds in any of them:
| Path | OS |
|---|---|
.bashrc, .zshrc, .profile | macOS and Linux |
~/.config/environment.d/ct-ai-telemetry.conf | Linux |
~/Library/LaunchAgents/ai.codetogether.telemetry.plist | macOS |
| PowerShell 5.1 and 7+ user profiles | Windows |
HKCU\Environment | Windows |
Only AITrax's own managed block is removed. Telemetry environment settings you set yourself are never written to and never removed, in any of these locations.
Read the path inventory from the command line
To see what aitrax uninstall system would remove on your machine, run the tracker by its
full path with --dry-run --verbose:
- macOS and Linux
- Windows
~/.codetogether/tracker/aitrax uninstall system --dry-run --verbose
& "$env:USERPROFILE\.codetogether\tracker\aitrax.exe" uninstall system --dry-run --verbose
--dry-run reports planned removals without changing anything, and --verbose turns the
summary line into the per-file report. Without --verbose, the command prints only the
counts. This reflects the actual state of the machine rather than a fixed list, so it stays
correct even as tools are added or removed.
Read it as the uninstall plan, not as a complete inventory of what setup wrote. Two files
setup writes are absent from it because uninstall does not remove them, and you delete them
by hand if you want them gone: Kiro's ~/.kiro/settings/mcp.json entry and the OpenCode
plugin at ~/.config/opencode/plugin/aitrax.js.
? marks a path the uninstall would remove. · marks a surface AITrax knows about that is
not present on this machine — a tool you do not use, an operating-system-specific path, or a
path left behind by an older tracker. The report covers the user-level surfaces; the
repository registry is reported by aitrax uninstall repo instead.
$ ~/.codetogether/tracker/aitrax uninstall system --dry-run --verbose
▸ User-level configuration
? ~/.codetogether/tracker/aitrax.json AITrax config
· ~/.codetogether/tracker/box-install.json box ingest credential
· ~/.codetogether/tracker/mcp/aitrax MCP shim
· ~/.codetogether/tracker/mcp/aitrax.cmd MCP shim
· ~/.codetogether/tracker/mcp/aitrax-health aitrax-health console
· ~/.codetogether/tracker/mcp/aitrax-health.cmd aitrax-health console
? ~/.config/claude/claude_desktop_config.json Claude Desktop MCP
? ~/.cursor/mcp.json Cursor MCP
? ~/.cursor/permissions.json Cursor MCP allowlist
? ~/.cursor/hooks.json Cursor hooks
? ~/.copilot/hooks/aitrax.json Copilot hooks
? ~/.config/opencode/opencode.json OpenCode instructions ref
? ~/.config/opencode/aitrax-instructions.md OpenCode instructions
? ~/.kiro/steering/aitrax-instructions.md Kiro steering mandate
? ~/.kiro/settings/permissions.yaml Kiro Trust v2 permissions
· ~/.config/Kiro/User/settings.json Kiro telemetry OTEL
? ~/.config/Code/User/mcp.json VS Code MCP
? ~/.config/Code/User/settings.json Copilot OTEL
? ~/.config/Code/User/prompts/aitrax.instructions.md VS Code Copilot Chat instructions
? ~/.copilot/instructions/aitrax.instructions.md VS Code Copilot Chat instructions
? ~/.config/github-copilot/intellij/mcp.json JetBrains Copilot MCP
· ~/.mcp.json Visual Studio MCP
? ~/.copilot/mcp-config.json Copilot CLI MCP
? ~/.claude.json Claude Code CLI MCP
? ~/.codex/config.toml Codex MCP
? ~/.codex/hooks.json Codex SessionStart hook
· ~/.claude/settings.json Claude Code telemetry
? ~/.claude/settings.json Claude hooks
? ~/.claude/settings.json Claude Code MCP permissions
· shell env Native telemetry
· ~/.config/environment.d/ct-ai-telemetry.conf Native telemetry (user env)
? ~/.codetogether/tracker/aitrax AITrax cache
? ~/.codetogether/tracker/aitrax-full AITrax cache
? ~/.codetogether/tracker/aitrax-full.etag AITrax cache
? ~/.codex/AGENTS.md agent instructions
? ~/.claude/rules/aitrax.md agent instructions
? ~/.copilot/copilot-instructions.md agent instructions
✓ Done · 27 would remove, 10 unchanged · 1ms
A single file appears more than once when AITrax owns several independent things inside it.
~/.claude/settings.json is listed three times: once for the hook entries, once for the MCP
permission rule, and once for a telemetry block, which setup removes rather than writes and
which is therefore absent on a machine set up by a current tracker.
Related
- Verify your installation — confirming setup is complete and data is arriving.
- Remove AITrax tracking — removing what is listed here.
- AITrax CLI reference — the commands that report on and manage these paths.