Est.

Assigning Coding Agent Tasks From Linear Issues

Claude and other agents can run coding tasks directly from Linear issues with different trade-offs.

· 9 min read
Cover illustration for “Assigning Coding Agent Tasks From Linear Issues”
Agent Workflow Integration · October 17, 2026 · 9 min read · 1,969 words

Assigning coding agent tasks from Linear issues is a choice about context, status feedback, and execution. Linear Agent can use Claude Code or Codex to start cloud coding sessions from issues or Slack threads, while Replicas can run tasks from Linear in isolated Linux environments or start them directly from Slack. Reliable delegation depends on matching those mechanics to the task and designing review into the workflow.

Why delegating from a Linear issue is harder than it looks

The gesture “assign to agent” hides a system with several independent failure points. An agent can receive an issue and still lack the context needed to solve it. It can finish a change while the tracker remains in “In Progress”. It can also begin useful work in a local session that ends when someone closes a laptop. Starting the task proves only that the handoff worked.

Those failures can happen as context reaches the agent, as status returns to the issue, or as the work runs in an environment that needs to stay available. What the harness can do also shapes what happens inside that environment. An issue with more detail cannot fix an interrupted runtime, and a runtime that stays available cannot fill in missing acceptance criteria.

The four routes Linear offers for starting a coding agent

Linear’s June 11, 2026 changelog describes native coding sessions that begin when someone assigns an issue to Linear Agent or requests a change in a chat, comment, or Slack thread. The session runs in Linear’s cloud using Claude Code or Codex and returns a diff for review. Native coding sessions use AI credits and are part of the Basic, Business, and Enterprise plans. Triage rules can also delegate incoming issues automatically on Business and Enterprise plans.

Third-party delegation instead assigns the issue to @Cursor, @Codex, or GitHub Copilot, which reads the issue and executes in its own environment. Linear’s Copilot integration page describes an ephemeral environment powered by GitHub Actions, where Copilot analyzes the issue and opens a draft pull request. The integration also supports model selection and redirection through comments during a run. Here, Linear starts the work, but the agent provider supplies the execution machinery.

The other two routes connect Linear to a tool. The open-in-tool handoff sends issue data and a customizable prompt template to a coding tool, including Cursor, Claude Code, or Codex. An MCP-connected local agent accesses Linear from the engineer’s agent session and updates the tracker when instructed. These are distinct integration shapes even when they use the same underlying coding agent.

How context actually reaches the agent — and where it breaks down

Context quality bounds output quality because the agent has to infer its task from what reaches the session. Linear’s native coding sessions pull in issue details, history, customer requests, discussions, and related work. That gives the agent a broader starting point than a title and description alone. The open-in-tool route takes a different approach by adding standing instructions through a customizable prompt template. The apparent simplicity of either handoff conceals how much useful information actually arrived.

An issue that says “fix the login bug” leaves the failure and the intended result unspecified. An issue with clear reproduction steps and acceptance criteria gives the agent more to go on as it looks through the code and checks a change. An RFC can supply the decisions that a short issue assumes its human reader already knows. Without that material, the agent must reason across more uncertainty before it can make a defensible edit. The resulting cost is not merely a longer prompt but a greater chance of work aimed at the wrong problem.

Even detailed issues compete with repository content for a finite context window. On large codebases, loading relevant files can consume much of that window before reasoning begins. Workspace-level guidance under Settings → Agents → Additional guidance supplies persistent instructions, but it does not remove that limit. A prepared environment can reduce the separate burden of discovering dependencies and tooling, leaving more of the session available for the actual task.

How status flows back — and why the tracker lags behind reality

The routes differ more in how they report status than they seem to when a task is first assigned. Linear’s Copilot integration page describes progress updates streamed into the issue’s activity timeline and a review request when work is complete. Native coding sessions instead return a diff and support further iterations in the same Linear thread. Both provide a defined return path, but they expose the work through different review surfaces. That distinction determines where teammates can see progress and respond.

An MCP-connected local agent updates Linear only when told to, so the tracker stays accurate only if the agent gets those instructions, with no automatic synchronization. The open-in-tool handoff has no status sync, so the engineer remains responsible for PR links and issue updates. A task can be complete in the coding tool while still appearing active in the tracker.

With Replicas, teams can post outputs such as pull requests, recordings, and replies to Linear by hand or through automation. That gives engineering leads control over what reaches the issue thread, but the return path remains a design decision. Long-running tasks add another ambiguity when an agent finishes a subtask and awaits approval. A non-blocking task queue can exit at that gate and resume after a reply, separating active execution from waiting.

Where the agent actually executes — and why that variable shapes everything else

The same issue, harness, and prompt can have different limits in different environments. A local agent runs under the engineer’s accounts and depends on the local session remaining available. GitHub Copilot’s GitHub Actions environment is created per task and destroyed afterward, with no dependency state carried between runs. Linear’s native sessions run in its cloud with no need for a local development setup, while Cursor cloud and Codex cloud run on their providers’ infrastructure.

Persistence and isolation answer different questions about that infrastructure. An ephemeral sandbox repeats repository and dependency setup, while a persistent sandbox preserves state between sessions. Strong isolation concerns what generated code can reach during execution. Standard containers share the host kernel, whereas approaches including Firecracker and Kata Containers provide separate kernels, and gVisor uses user-space kernel interception. The security design described in the notes keeps the agent loop and secrets outside the sandbox and restricts egress through an allowlist.

Isolation also creates a coverage tradeoff when the sandbox cannot reach staging environments, real databases, or preview URLs. An agent may be able to run unit tests but still be unable to check the whole change as a user would see it. Replicas represents a fifth integration shape, running Claude Code, Codex, Cursor, or Opencode in isolated Linux environments triggered directly from Linear issues. Its environments come prepared with repository state, dependencies, tooling, and services, allowing agents to install packages, run databases, drive a browser, and verify work. That setup helps the agent find its way around the environment and check its work, but it does not on its own give access to every external system.

Network needs can also change where the work should run. Anthropic allows Team and Enterprise organizations to route Claude Code cloud sessions to self-hosted environments. Cursor offers self-hosted workers with execution inside the customer’s network while orchestration and inference remain in Cursor’s cloud. Verification capacity also matters after execution ends. Anthropic addressed growing CI pressure with test impact analysis, illustrating how faster code generation can move the bottleneck into the pipeline.

What harness choice means for an issue-to-PR workflow

Harness selection affects more than the style of generated code. Platform teams compare environment isolation, responses to CI failures and review comments, session observability, token cost, and whether execution can stay inside their network. These criteria connect agent behavior to the operational demands of an issue-to-PR workflow. An agent that can write a first patch may still be unable to take part in the rest of the review cycle. Nor does access to a model establish the cost or visibility of the environment running it.

Linear’s native Claude Code and Codex sessions combine workspace context with iteration inside the same issue thread. GitHub Copilot’s delegation route combines a draft pull request with timeline updates, model selection, and comment-based redirection. An open-in-tool handoff places the work in the engineer’s selected tool but leaves status reporting outside the integration. These are differences in workflow shape.

Keeping harness choice separate from coordination preserves room to change that choice by task. Model quality can change faster than a team’s habits, so a fixed integration can be costly to rethink. In a harness-agnostic platform such as Replicas, the supported agents run on the same isolated VM environment primitives and can be selected per task without reconfiguring the Linear integration. Teams can also ping Replicas from a Slack channel to start work that investigates the codebase, tests a fix, and returns changes for review. Slack supplies the entry point, while the selected harness and environment determine what the run can do.

What the productivity and review data says about delegated PRs in practice

Delegation increases code production, but the downstream burden appears in review time, bugs, incidents, and churn. Even agent output that looks right needs a close review, especially by engineers who know the system’s hidden constraints. When that need for review grows faster than the time available for it, more generated pull requests can lengthen the queue without getting more work shipped. Merges without review are another warning that production and verification have become unbalanced.

More useful measures include 30-day merge rate, median time-to-first-review separated by agent authorship, the rate of merges with zero review approvals, and reviewer-hours per merged PR. Reviewer-hours also make the downstream cost visible as a capacity budget that an assignment workflow must absorb.

Replicas’ analytics layer attributes agent runs to a source, harness, model, and credential, providing data for separating agent-authored work in review metrics. That makes the source of review demand easier to examine. The practical implication is to redesign review around delegated work. Upstream speed matters only when the downstream system can convert it into accepted changes.

Where full automation is safe and where human checkpoints are still load-bearing

The appropriate automation boundary depends on the issue, the environment’s verification capability, and the team’s review capacity. Linear’s June 2026 changelog describes its own use of automated delegation for incoming bug reports, providing evidence that an automatic first pass can be useful for a defined class of work. The most defensible candidates are well-scoped bugs with reproduction steps, documentation updates, refactors with existing test coverage, and repetitive tasks with encoded acceptance criteria. In each case, the task has a boundary the agent can use to judge completion. That is stronger evidence for delegation than the mere availability of an assignment button.

Human checkpoints remain load-bearing for changes touching auth, payments, or data integrity. They also matter for new features without an RFC, ambiguous acceptance criteria, and tasks whose environments cannot run end-to-end verification. If the agent cannot deploy to staging and exercise the complete change, someone still has to perform that verification. The checkpoint is needed because coverage is missing, whatever the broader view of how much to trust the model. Malicious content in issue descriptions or linked references adds a further reason to review output as agents gain access to code-writing tools and MCP servers.

Triage rules can handle a defined class of low-risk issues, while people still assign and review other work. Workspace-level guidance saves teams from repeating instructions, and analytics can show which issue types merge cleanly and which take up review hours. Those choices turn delegation into a controlled path from an issue to an accepted change. The teams that gain the most treat review as part of that path’s design.

Sources

  1. GitHub Copilot Integration
  2. Coding sessions in Linear

More in Agent Workflow Integration