Linear

Connect your Linear workspace to Factory and delegate issues to Droid using your organization's Agent Profile.

Assign a Linear issue to Factory or mention @Factory in an issue comment to have Droid investigate, implement, and test the work. Droid runs on a remote computer and posts progress and results in Linear.

You delegate directly from an issue; you do not need to create an automation. The Delegations settings control the shared Agent Profile.

A personal Linear connector gives Droid tools to use inside a session. It does not install the Factory agent in Linear or enable issue delegation.

Prerequisites

To connect and configure Linear delegation, you need:

  • A Factory organization on any paid plan, including individual plans and organization plans.
  • Permission to install and authorize apps in your Linear workspace.
  • The Manager or Owner role in the Factory organization you want to connect.
  • Access to Settings → Delegations, including Linear app setup.
  • The Org Default Agent Profile, with an Environment for Dynamic compute or its own Droid Computers for Persistent compute.

Team members who delegate work need a Factory account in the connected organization and access to the Linear issue. Use the same work email in Linear and Factory so Factory can match the person making the request.

Set up the Org Default Agent Profile

Before you connect Linear, a Manager or Owner sets up your organization's Org Default Agent Profile. It sets the model, instructions, plugins, compute, Git credentials, and connectors Linear delegations use. Follow configure an Agent Profile, and make sure the profile has repository access for the work. Until Org Default is saved for the first time, Factory asks you to set it up when you connect an app.

Linear issue delegations run as the Agent Profile, with its Git credentials and connectors, not the requester's personal connections. The Org Default Agent Profile serves every request from Linear, and is shared by every delegation app, so changes can affect more than Linear.

Connect your Linear workspace

  1. 1
    Open Linear delegation settings

    In Factory, open Settings → Delegations. Under Delegation Apps, find Linear and select Set Up for Org.

    If Linear is already connected, select Configure to open its setup page.

  2. 2
    Authorize Factory in Linear

    Select Connect on the Linear setup page. Sign in to Linear and choose the workspace you want to connect.

    Review the requested permissions, including issue and comment access and the ability to assign and mention the Factory agent. Select Authorize. Ask a Linear administrator to approve the app if your workspace requires it.

  3. 3
    Verify the connection

    Return to Factory and confirm that Linear is connected. In Linear, open an issue in a team the app can access and check that Factory appears in the assignee picker with an Agent label.

    Review the app's team access in Linear before delegating work from private or restricted teams. A connected app still needs the Org Default Agent Profile before it can use shared compute.

Delegate an issue

Put the repository, desired outcome, acceptance criteria, and verification steps in the issue description before assigning the work. Include important error messages, reproduction steps, and links.

For example:

In the storefront repository, investigate the failing checkout test. Fix the cause, add a regression test, run the relevant tests, and open a pull request with a summary and test results.

Droid receives the issue title, description, labels, and comments when the session starts. Keep the issue self-contained rather than relying on context from another conversation.

Assign Factory

  1. 1
    Open the Linear issue.
  2. 2
    Open the assignee picker.
  3. 3
    Search for Factory and select the entry labeled Agent.
Linear issue assignee picker with Factory shown as an Agent

Mention Factory in a comment

Add an issue comment, select @Factory from Linear's mention picker, and describe the task. Send the comment to delegate the work.

For example:

@Factory Implement the fix described in this issue. Run the relevant tests and open a pull request with the results.

Linear issue showing Factory's agent activity and an @Factory comment requesting follow-on work
Note

The Open in Factory attachment, when present, opens a new Factory session with the issue in context. It is a separate workflow from assigning or mentioning the Factory agent in Linear.

Follow progress and review results

Open Factory's agent session on the issue to review its progress, actions, and final response. For code changes, Droid is instructed to open a pull request and return its URL. Factory also attempts to attach pull request or merge request links from the final response to the issue.

When the issue is in a backlog or to-do state, Factory attempts to move it into a started state, such as In Progress. Review the proposed changes and test results before merging; delegation does not replace code review.

Commands

To control Factory instead of sending another instruction, reply in Factory's agent session on the issue with a command on its own. If a message has any other text, Factory treats it as a normal request.

CommandWhat it does
!connectReplies with SSH instructions for the computer running the session. It works only after Factory has started a session on the issue.
!helpLists the available commands.

Stop a running task

Use Stop in Linear's agent session to halt the run. Factory posts Droid execution stopped when stopping succeeds.

Stopping follows Linear's own controls and is not limited to the person who started the delegation. Anyone who can use the session's Stop control in Linear can stop the run.

Stopping does not undo work already performed. Review any changes or pull requests produced before the stop.

Troubleshooting