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

# Roadmap

> See what each initiative and project costs in inference and CI, how spend splits by priority, and how much spend is unplanned.

The **Roadmap** shows what each Linear initiative and project costs in agent inference and CI, how the spend splits by priority, and how much spend reaches no project. You do not tag sessions or pull requests. Agent Golf links them for you.

## How it works

Your Linear workspace sends change events to Agent Golf through the Agent Golf Linear app, and Agent Golf reads Linear with the token of the connection. Agent Golf stores the initiatives, projects, milestones, and issues, links the issues to GitHub pull requests, and shows the spend on the roadmap.

Linear tells Agent Golf that an item changed. Agent Golf then reads the item from Linear. Agent Golf makes every
Linear call. Linear never connects to Uplink.

1. **A session links to its pull requests.** Agent Golf links each agent session to the pull requests that it authored or reviewed. See [Attribution](https://docs.agent.golf/dashboard/attribution.md).
2. **A pull request links to its issues.** The GitHub integration of Linear attaches a pull request to an issue. Agent Golf reads these attachments. See [Pull-Request Links](https://docs.agent.golf/linear/pull-request-links.md).
3. **Spend rolls up the plan.** A pull request's spend is its inference cost plus its CI cost. Agent Golf adds it to each linked issue, and to the milestone, project, and initiative above it, each once. A pull request that reaches no project is unplanned. See [How Spend Counts](https://docs.agent.golf/linear/project-spend.md).

Agent Golf reads Linear with read-only access and writes nothing to it. See [What Agent Golf Imports](https://docs.agent.golf/linear/imports.md).

## Before you begin

* A [connected GitHub organization](https://docs.agent.golf/github/organization.md) and agent sessions that link to its pull requests.
* A Linear connection, a Jira connection, or both. An organization admin [connects Linear](https://docs.agent.golf/linear/connect.md) and chooses the teams, or [connects Jira](https://docs.agent.golf/jira/connect.md) and chooses the spaces. See [Jira on the roadmap](#jira-on-the-roadmap).

Every active user of the workspace can open the roadmap. Some parts need a permission:

* **View Team Activity** to count the sessions of all users. Without it, the costs count only your own sessions.
* **View Pull Requests and Repositories** to see the pull requests of an item, and to open the page of a pull request.
* **View Own Sessions** to open your own sessions, and **View Team Sessions** to open the sessions of other users.

See [Default roles](https://docs.agent.golf/account/users.md#default-roles) for the roles that include them.

Linear data also shows on the **Dashboard**, the **Team** page, and the pull-request and session pages. See [Dashboard and Team](https://docs.agent.golf/linear/dashboard-and-team.md).

## The roadmap page

Open **Roadmap** in the **Workspace** section of the navigation, and choose the period at the top of the page. The header names the Linear workspace and the time of the last sync, for example "Synced 5 minutes ago".

The page starts with the answer. For example: "Project spend was **$36,900** (77%) in this period, and unplanned spend was **$11,300**." Without **View Team Activity**, it reads "Your project spend was … and your unplanned spend was …". When no pull request links to a project or an initiative, it reads "No spend in this period links to a project yet. Unplanned spend was **\$48,200**." The share is a part of the period's spend, which includes the [spend with no pull request](https://docs.agent.golf/linear/project-spend.md#unplanned-spend).

Below the answer, the page shows [Following](#following), the [totals](#totals), [Spend by Initiative](#spend-by-initiative) and [Spend by Priority](#spend-by-priority), the [Initiatives and All Projects](#initiatives-and-all-projects) tables, and [Unplanned Work](#unplanned-work).

### Following

**Following** shows the initiatives and projects that you follow, in your order. Only you see your list, and each workspace has a separate list.

To change the list, select **Choose Items**. In **Choose What You Follow**, search by name or team key, or filter by **All**, **Your Work**, **Active**, or **Past Target**. Select up to 8 initiatives and projects, then select **Save**. You can also follow an item with the star in a table, or with **Follow** on its page. You cannot follow a milestone or an issue.

A switch selects the view:

* **Cards**: one card for each item, with its spend in the period and its CI part, the change against the previous period of the same length, your part, for example "You: \$1,200", the weekly spend, its progress, and its target date. Drag a card to change the order.
* **Spend Over Time**: the cumulative spend of each followed item over the period.
* **Spend vs Progress**: the followed items in the groups **High Priority, Slowing**, **High Spend, Low Priority**, **Slowing**, and **On Track**. An item goes in the first group that matches. Each item shows its spend, its priority, and its weekly rate, for example "1.5 issues/week (was 3.0)".
  * An item with open issues is slowing when it completed less than half as many issues per week in the last 4 weeks as in the weeks before, or when it completed no issue in the last 2 weeks.
  * **High Priority, Slowing** holds the slowing **Urgent** and **High** items.
  * **High Spend, Low Priority** holds the **Low** and **No Priority** items with spend at or above the median of the followed items.

When you leave a workspace, Agent Golf deletes your follow list of that workspace.

### Totals

| Tile | Value |
| - | - |
| **Project Spend** | The spend of the pull requests that link to a project or an initiative. |
| **Unplanned Spend** | The spend of the pull requests with no project or initiative, plus the spend with no pull request. See [Unplanned Work](#unplanned-work). The caption counts the unplanned pull requests and the sessions with no pull request. Select the pull-request count to see these pull requests on the **Pull Requests** page. |
| **Initiatives** | The top-level initiatives that are in progress, and the projects below them. |
| **Linked Pull Requests** | The pull requests of active contributors that link to a Linear item, of all their pull requests in the period, for example "120 of 160". See [Unplanned spend](https://docs.agent.golf/linear/project-spend.md#unplanned-spend). |

### Spend by Initiative

**Spend by Initiative** splits the period's spend across the top-level initiatives, **No Initiative**, and **Unplanned**. Select an initiative to see its projects with the most spend, and **Other Projects** for the rest. Select **All Initiatives** to go back.

A pull request in more than one initiative or project splits its spend evenly here. The parts add up to the period's spend. See [Split views](https://docs.agent.golf/linear/project-spend.md#split-views).

### Spend by Priority

**Spend by Priority** splits the spend by the Linear priority of each project: **Urgent**, **High**, **Medium**, **Low**, and **No Priority**. **Unplanned** shows apart. See [Spend by priority](https://docs.agent.golf/linear/project-spend.md#spend-by-priority).

### Initiatives and All Projects

**Initiatives** lists the top-level initiatives with their priority. Use its **Priority** filter to show fewer initiatives. **All Projects** lists every project, with its initiative and its priority. Use the **Initiative** and **Priority** filters to show fewer projects.

| Column | Value |
| - | - |
| Star | Follow or unfollow the item. |
| **Initiative** or **Project** | The item, its status, its team key, and its target date. An initiative also shows its number of projects. |
| **Initiative** | The initiative of the project (**All Projects** only). |
| **Priority** | The Linear priority of the initiative or the project. |
| **Progress** | Done issues of all issues. See [Progress](https://docs.agent.golf/linear/project-spend.md#progress). |
| **Pull Requests** | The linked pull requests of the period. |
| **Spend** | The spend of these pull requests, each once. The CI cost shows under it. |
| **Share** | The spend of the item divided by the spend of the period. Shares can add up to more than 100%. |
| **Trend** | The spend in each week of the period. |

The rows can add up to more than the total. See [Why the rows can add up to more than the total](https://docs.agent.golf/linear/project-spend.md#why-the-rows-can-add-up-to-more-than-the-total).

### Unplanned Work

**Unplanned Work** shows the unplanned spend: the pull requests with no project or initiative, and the spend that has no pull request. See [Unplanned spend](https://docs.agent.golf/linear/project-spend.md#unplanned-spend).

The card shows the count of unplanned pull requests and their share of the period's spend, and the count of sessions with no pull request. **Top Repositories** shows the repositories with the most unplanned pull request spend. A session with no pull request has no repository, so it is not in this list. **View Pull Requests** opens the **Pull Requests** page with the **Unplanned** filter.

## Initiative and project pages

Select an item in a table to open its page, with its spend split into inference and CI, its milestones, its issues, and its pull requests. See [Initiatives and Projects](https://docs.agent.golf/linear/projects.md).

## Jira on the roadmap

With Jira, the roadmap shows Jira initiatives, epics, and work items, and uses the Jira words. With Linear and Jira both connected, it shows the items of both, and each table row shows the mark of its work tracker. The rules of [How Spend Counts](https://docs.agent.golf/linear/project-spend.md) apply, with an epic in the place of a project.

| With Linear | With Jira | With Linear and Jira |
| - | - | - |
| **Project Spend** | **Epic Spend** | **Planned Spend** |
| **All Projects** | **All Epics** | **All Projects and Epics** |
| **Other Projects** in **Spend by Initiative** | **Other Epics** | **Other Projects and Epics** |
| "Linked through Linear issues" | "Linked through Jira work items" | "Linked through Linear issues and Jira work items" |

The answer, the captions, and the **Project Spend** card of the **Dashboard** and the **Team** page use the same words.

An epic page shows its **Versions** in the place of milestones, with **Version Spend**, and its **Work Items** tab with the **Fix Versions** of each work item. The header shows the due date, the space, and **Open in Jira**. See [Initiatives and Projects](https://docs.agent.golf/linear/projects.md).

A pull request links to a Jira work item when the key of the work item is in the pull request. See [Pull-request links](https://docs.agent.golf/jira/connect.md#pull-request-links).

| Message | Meaning |
| - | - |
| "Importing from Jira: N of M epics." | The first import runs. The tables fill in as the data arrives. See [The first import](https://docs.agent.golf/jira/connect.md#the-first-import). |
| **No Pull Request Names a Jira Work Item Yet** | No pull request of the period names an imported Jira work item. |
| "Jira was disconnected on … The roadmap shows the Jira data from that date." | An admin disconnected Jira. The data stays, but it does not change. See [Reconnect](https://docs.agent.golf/jira/connect.md#reconnect). |

The empty states below name Linear. With Jira only, **No Linear team is shown** means that Agent Golf imports no Jira space. Choose the spaces on the Jira page. See [Spaces](https://docs.agent.golf/jira/connect.md#spaces).

## When the roadmap is empty

| Message | Meaning |
| - | - |
| **See what your initiatives cost** | The organization has no Linear connection, or only a disconnected connection with no imported team. With **Manage Organization Integrations**, select **Connect Linear**. Other users see no button and must ask an organization admin. See [Connect Linear](https://docs.agent.golf/linear/connect.md). |
| **No Linear team is shown** | Linear is connected, but Agent Golf imports no Linear team. With **Manage Organization Integrations**, select **Choose Linear Teams**, and choose the teams in the **Teams** card. Other users must ask an organization admin. See [Teams](https://docs.agent.golf/linear/connect.md#teams). |
| "Importing from Linear: N of M projects." | The first import runs. The tables fill in as the data arrives. See [The first import](https://docs.agent.golf/linear/imports.md#the-first-import). |
| **No pull request is linked to Linear yet** | No pull request of the period links to a Linear issue. See [Pull-Request Links](https://docs.agent.golf/linear/pull-request-links.md). |
| "Linear was disconnected on … The roadmap shows data from that date." | An admin disconnected Linear. The data stays, but it does not change. See [Reconnect](https://docs.agent.golf/linear/connect.md#reconnect). |


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