> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Bring your own tracker

> Point the backlog at GitHub Issues or Linear, read one item, and record your checkout and PR on it.

The backlog is the list of work your fleet works from. The built-in graph store keeps that list in your repository. A tracker backend reads it from GitHub Issues or Linear instead, so your team edits the work in the tool it already uses.

After this page, you can select a backend, read one tracker item, and record your checkout and pull request (PR) on it.

> **Note:** The `tracker.backend` key and the `--tracker-backend` flag are for F\[no] 0.4.9. F\[no] 0.4.8 selects the backend only through the `FNO_TRACKER_BACKEND` environment variable. Check your build with `fno backlog --help`. If the help prints the `--tracker-backend` line, your build carries the flag.

## Before you begin

Install F\[no] through the [quickstart](/docs/quickstart.md), and read [Manage a backlog](/docs/guides/manage-backlog.md) for the node and board basics. Run commands from your project repository.

The github backend reads issues through the `gh` CLI. Install GitHub CLI and run `gh auth login` once. Without it, tracker reads fail with an authentication error.

## Pick the backend

One key selects the backend for every backlog read and write. Set it in `.fno/config.toml` in your repository, or in `~/.fno/config.toml` for every repository. If the file or its `.fno/` directory is not there, create it:

```toml theme={"theme":{"light":"min-light","dark":"min-dark"}}
[tracker]
backend = "github"   # or "linear", or "graph" (the built-in store, the default)
```

The default is `graph`, so nothing changes until you select a backend. A project key answers for that repository. A global key answers everywhere a project does not set its own. Switching the backend changes which store the backlog commands read and write. It moves nothing: your graph nodes stay in the graph store, and `--tracker-backend graph` reads them again.

The flag selects for one command and beats the config key:

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
fno backlog get owner/repo#123 --tracker-backend github
```

The flag rides anywhere in the command: before or after the command word. An unknown value refuses and names the three backends:

```text theme={"theme":{"light":"min-light","dark":"min-dark"}}
Error: unknown tracker backend "jira". Available: graph, github, linear
```

The environment variable `FNO_TRACKER_BACKEND` selects for one shell or one CI job. The chain reads in this order: the flag, then the variable, then the config key, then `graph`. Use `--tracker-backend graph` to pin the built-in store over an inherited variable or a standing key.

The rest of this page runs with the config key set, so the examples carry no flag. If you drive the backend by flag alone, add `--tracker-backend github` to each command.

![The same read at each tier: no node on graph, the receipt on github, the pin over the variable, and an unknown value refusing](https://mintcdn.com/fno/BE92clNm154JZLQG/images/tracker-backend-select.png?fit=max\&auto=format\&n=BE92clNm154JZLQG\&q=85\&s=0611466a441a06346739a9beb570aa9f)

*The same read through each tier of the backend chain, against a disposable state and the public fnodotdev/fno issues.*

## Set the scope and credentials

Scope and auth ride environment variables by design. A config file never carries a secret.

| Variable | What it names |
| - | - |
| `FNO_TRACKER_GITHUB_REPO` | `owner/repo` of the repository whose issues answer the backlog |
| `FNO_TRACKER_LINEAR_TEAM` | The Linear team key, for example `ENG`, that scopes which items the backend lists |
| `FNO_TRACKER_LINEAR_API_KEY` | The Linear API key, from Linear's settings. Every linear backend operation refuses without it. |

If the github backend has no repo scope, the listings warn and answer nothing:

![A backlog listing that warns the github backend has no FNO\_TRACKER\_GITHUB\_REPO scope and answers an empty list](https://mintcdn.com/fno/BE92clNm154JZLQG/images/tracker-backend-scope.png?fit=max\&auto=format\&n=BE92clNm154JZLQG\&q=85\&s=e5c13c1af4c58c5d3afeb9b2fa05bfb1)

*The github backend without its repo scope variable.*

## Read an item and bind your work

Export the scope variable for your shell session, then read one issue:

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
export FNO_TRACKER_GITHUB_REPO=owner/repo
fno backlog get owner/repo#123
```

The receipt tells you who answered: the graph store answers its no-node error, and the tracker answers the item receipt. The tier shot above shows a real one. A receipt carries the tracker's fields (the id, the title, the state) beside F\[no]'s own (the `status`, the parent, the session record). The scope variable scopes the listings. A full id reads from the repo its id names. Linear items use the `TEAM-123` id shape instead. An id that contains `:` refuses everywhere: F\[no] reserves that character inside its own keys.

The update binds (records) your checkout and plan on the tracker item:

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
fno backlog update owner/repo#123 cwd="$PWD" plan_path=plans/my-plan.md
```

It prints `bound owner/repo#123: cwd, plan_path`. `plan_path` names the plan file for the work. The bind stores the pointer. It does not open the file. Under an external backend, `update` binds exactly four keys: `cwd`, `plan_path`, `pr_number`, and `pr_url`. Bind any subset of the four in one command. The receipt names the keys it set. Any other key refuses:

```text theme={"theme":{"light":"min-light","dark":"min-dark"}}
fno backlog update: under the github tracker backend the tracker owns this item; update binds only cwd, plan_path, pr_number, pr_url. Edit every other field in the tracker.
```

That refusal is the ownership rule, not a malfunction. Edit titles, state, and labels in the tracker itself.

When the pull request exists, record it on the item. Standing alone, `update` carries the PR keys by hand:

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
fno backlog update owner/repo#123 pr_number=123 pr_url="https://github.com/owner/repo/pull/123"
```

Inside a delivery loop, the ship phase records the PR link itself with `fno do pr bind-created`. Standing alone it refuses: it resolves the item from the loop's bound branch, so outside a loop the `update` line above is the way.

Some commands own graph-only state. Under an external backend they refuse before they touch anything:

```text theme={"theme":{"light":"min-light","dark":"min-dark"}}
fno backlog maintain: this command owns graph state; under the github tracker backend it is refused. Track the item in the tracker by its id.
```

`fno backlog find` refuses for its own reason: the node metadata it ranks by lives only in the graph store.

## What the tracker owns, and what F\[no] keeps

The tracker stores what any backlog stores: titles, state, parents, and blockers. F\[no] stores beside it what no tracker can express: the checkout (`cwd`), the plan pointer, the PR number, cost, and session provenance. Session provenance records which sessions worked the item. Nothing mirrors in both places.

GitHub parents and blockers stay empty in the receipt. Reading them costs two requests per open issue per refresh, so the github backend skips those reads.

The board reads an external backend through a snapshot (a copy of the tracker's items) refreshed every 10 seconds. If the tracker is unreachable, the board answers its last good snapshot instead of going blank.

## Next steps

* [Manage a backlog](/docs/guides/manage-backlog.md): the built-in graph store and the board commands.
* [Ship a change](/docs/guides/ship-a-change.md): the delivery loop whose ship phase records the PR link.
* [CLI reference](/docs/reference/cli.md#backlog): every backlog door.
* [Configuration reference](/docs/reference/configuration.md): where `tracker.backend` sits among the keys.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.