Skip to content

Config Files and State

This page is for lookup, not onboarding. If you are still setting things up for the first time, go back to the guided chapters.

LocationPurpose
~/.config/track/cli.jsonCLI-side settings such as the backend URL and local model override.
backend state directoryStores the live SQLite database plus managed remote-agent secrets.
backend state track.sqliteRegistered projects, tasks, runs, reviews, and settings.
backend state remote-agent/id_ed25519Managed SSH private key used by the backend for remote work.
backend state remote-agent/known_hostsManaged known_hosts file for remote SSH calls.

When you run the shipped Docker Compose setup, the backend state bind-mounts from:

${HOME}/.track/backend

Compose creates that host directory if it is missing.

When you run the backend outside Docker, the default state directory is:

~/.track/backend

You can override that with TRACK_STATE_DIR.

The smallest useful ~/.config/track/cli.json file looks like this:

{
"backendBaseUrl": "http://127.0.0.1:3210"
}

With a custom local model override:

{
"backendBaseUrl": "http://127.0.0.1:3210",
"llamaCpp": {
"modelPath": "/home/user/.models/custom.gguf"
}
}