Twelve Pages Linear Agents & Issue-to-PR Loops

Linear Agents & Issue-to-PR Loops

Automate issue triage, Figma-to-spec drafting, and scoped issue-to-PR delegation using Linear Agents, Linear MCP, Triage Intelligence, and connected coding agents (Claude Code, Codex, Cursor, Devin).

Updated 2026-11 v1.0 12 min read 12-Page Illustrated Edition How it’s made
Isometric glowing glass issue cards flowing through a geometric prism into branching code pipelines and merged pull-request nodes

Core Takeaways

Zero-Friction Triage

Auto-deduplicate, label, and route incoming Slack, Zendesk, and Gong signals with Triage Intelligence and recurring Loops.

Delegated PR Execution

Assign scoped issues to Linear Coding Sessions, Claude Code, Codex, Cursor, or Devin while humans retain issue ownership.

Governed Review Loops

Enforce 5-part agent-ready specs, agent-safe blast-radius labels, CI verification gates, and Linear Diffs reviews.

1. The Tracker Is Now the Agent’s Runtime Context

In traditional software teams, issue trackers were passive filing cabinets for humans. With Linear Agent, Triage Intelligence, and third-party coding agents acting as first-class workspace app users, every Linear issue becomes an executable prompt—turning clean product specs directly into tested, review-ready pull requests.

6. Golden Rule: Review Is the Bottleneck

The 4-Stage Autonomous Issue-to-PR Loop

High-velocity teams separate signal intake, spec scoping, sandboxed implementation, and human verification into one closed loop. Every stage leaves an auditable trace inside the same Linear issue:

1. TRIAGE INTAKE Capture & Dedupe Multi-Channel Signal Slack, Zendesk, Gong, Sentry Triage Intelligence Semantic dedupe + routing 2. SPEC SCOPING Agent-Ready Brief 5-Part Issue Anatomy Context, criteria & test cmd Visual & Code Context Figma frames + Code Intel 3. AGENT PR RUN Sandboxed Build Delegate via Assignee Claude Code, Codex, Cursor Test & Draft PR Branch ID auto-links issue 4. HUMAN REVIEW Diffs & Ship Linear Diffs & CI Line comments + green CI Auto-Close & Notify Updates Slack & Zendesk
2026 Production Reality: Why Bottlenecks Move from Coding to Review
Teams running Linear-backed background agents at scale (such as Ramp’s Inspect, credited with ~75% of merged PRs from six years of Linear specs, and Coinbase’s Forge workflow) report the same shift: writing code stops being the constraint. Your speed now depends on ticket clarity, automated test harnesses, and reviewer throughput.

2. Choosing the Right Linear Automation Surface

Linear’s 2026 agent ecosystem spans five distinct capabilities. Mixing them up wastes AI credits and causes noisy webhooks. Use this matrix to match each engineering workflow to the exact right primitive.

Capability What It Does Best Trigger Mechanism Auth & Plan Tier Best Use Case
Triage Intelligence Semantic duplicate detection, team/project routing, assignee & label suggestions with reasoning. Automatic on every new issue entering a Team Triage queue. Business (\$16/user/mo) & Enterprise; toggle in Settings > AI. High-volume bug intake, goalie rotations, backlog hygiene.
Linear Agent & Coding Sessions Built-in workspace agent (Cmd/Ctrl+J), reusable Skills, Loops, and cloud sandboxes running Claude Code or Codex. @Linear mention, assignee delegation, or scheduled/event Loop. Chat & Skills on all plans; Loops & Coding Sessions use prepaid AI credits. End-to-end issue-to-PR inside Linear with Linear Diffs review.
Linear Remote MCP Server Authenticated Streamable HTTP tool server (mcp.linear.app/mcp) for reading/writing issues, projects, and docs. Tool calls initiated from IDE, CLI, or external AI client. All plans; OAuth 2.1 (or Okta Enterprise) / Bearer API key. Interactive dev loops in Claude Code, Cursor, Codex CLI, Figma Make.
Assigned Coding Agents Third-party agents installed as non-billable App Users (Cursor, Codex, Devin, Sentry, Factory, Warp, Cyrus). Delegate from Assignee menu or @agent comment mention. Free app-user slots in Linear; billed by the agent vendor. Parallel background PRs using your team’s preferred external agent.
Customer Requests & Asks Turns Zendesk, Intercom, Gong calls, and Slack threads into attributed issues linked to customer ARR. 1-click support button, auto Gong transcript, or Slack @Linear. Slack/Asks on paid plans; Intercom/Zendesk/Gong on Business+. Prioritizing bugs by customer impact and closing support loops.

3-Step Workspace Readiness Setup (Do This Before Delegating Code)

1 Write AI Guidance

Open Settings > AI and add workspace + team guidance: specify your monorepo paths, branch prefix rules, commit style, and which team owns each service. Both Linear Agent and Triage Intelligence read this file on every run.

2 Scope App Users & Repos

Under Settings > Integrations > Agents, grant each third-party agent access only to specific teams. For Coding Sessions, grant GitHub repo access and define a build/test environment per repo.

3 Set Spend & Credit Caps

In Settings > Usage & limits, configure monthly AI credit caps before enabling Loops or Coding Sessions (tokens at cost + \$0.25 per 20-min sandbox). Review the usage explorer weekly.

Key Ownership Rule: Delegation Never Removes Human Accountability
When you delegate a Linear issue to an App User (such as Linear Agent, Cursor, or Devin), the human engineer remains the issue owner. App Users cannot log in to Linear UI, modify workspace admin settings, or merge protected branches without human approval.

3. Anatomy of an Agent-Driven Linear Issue HUD

Modern Linear issues unify specification, live agent execution telemetry, and code review in one view. Below is the 7-control interface map for running an autonomous issue-to-PR loop without losing visibility.

Swipe horizontally to view the full interactive workspace mockup

Linear › Platform Core › ENG-418 1
In Review agent-safe 7
Fix timezone drift in recurring invoice export CSV
Triage Intelligence • Verified Match 2
Linked 3 Customer Requests (\$142k ARR) • Deduplicated against ENG-402 • Auto-applied billing, bug, P2.
Agent-Ready Spec + Embedded Figma Frame 4
Context: packages/billing/src/csvExport.ts formats dates in local server TZ.
Acceptance: Emit ISO-8601 UTC + workspace TZ column; preserve existing headers.
Verify: pnpm --filter billing test csvExport.spec.ts • Figma: Billing Export Modal v2.4 (Live)
Agent Activity Stream • Coding Session (Claude Code) 5
• 14:02 Read csvExport.ts + dateFormat.ts via Code Intelligence
• 14:04 Added regression test for DST boundary → reproduced failure
• 14:06 Patched serializer → ran pnpm test (42/42 passed, 0 lint warnings)
• 14:07 Opened PR #1894 & requested review from @maya
Properties & Delegation 3
Owner:Maya Chen (Staff Eng) Delegated:Linear Agent (Claude Code) Branch:eng-418-fix-csv-tz Cycle:Cycle 44 • High Priority Est. Cost:\$0.42 (12m sandbox)
Linked GitHub PR & Linear Diffs 6
PR #1894: fix(billing): normalize CSV export timestamps to UTC
CI: 42/42 Passed +68 / −14 lines
Open in Linear Diffs to comment on line 47 or click Approve & Merge.

Control-by-Control Breakdown

1 Issue ID & Branch Binding: Including ENG-418 in the branch name or PR title auto-syncs GitHub PR status to Linear (In Progress → In Review → Done).

2 Triage Intelligence Card: Displays semantic duplicate matches, customer ARR rollups, and AI-inferred labels before an engineer touches the ticket.

3 Dual Owner + Delegated Agent: Separates human accountability (Maya) from agent execution (Linear Agent, Cursor, Codex, or Devin) with live sandbox cost tracking.

4 Structured Spec + Live Embeds: Combines the 5-part issue contract with live Figma frames so the agent sees both code constraints and visual intent.

5 Agent Activity Stream: Streams real-time steps—files read, failing test reproduction, patch verification, and PR creation—so you can interrupt early if the agent drifts.

6 Linked PR & Linear Diffs: Review diffs, inspect stacked PRs, and leave inline line comments directly inside Linear (desktop or mobile) to trigger an automatic agent follow-up commit.

7 Guardrail Labels & Policy Gate: Labels like agent-safe whitelist autonomous execution while human-only or security-critical block auto-delegation loops.

4. Automating Triage Routing & Semantic Deduplication

Unfiltered bug queues destroy engineering focus. Triage Intelligence evaluates every incoming ticket against your workspace’s entire issue history, proactively proposing teams, projects, assignees, labels, and semantic duplicates before your triage goalie opens the inbox.

Geometric fragments entering a crystalline diamond filter and emerging as neatly sorted glowing parallel lanes
Signal-to-Lane Pipeline: Triage Intelligence clusters noisy multi-channel reports via semantic similarity, deduplicates redundant bugs, and routes clean tickets into team-owned lanes.
1 Semantic Deduplication with Reasoning

Keyword search misses duplicates when customers write “export hangs on Safari” while engineers log “CSV worker deadlock in WebKit.” Triage Intelligence compares semantic meaning across open and recent issues, surfaces likely duplicates with an inline explanation, and lets you merge customer links in one click so ARR impact is preserved.

Scope Tip: In team triage settings, use Include suggestions from to limit cross-team matching to your team and sub-teams so unrelated squads don’t pollute duplicate hits.

2 Confidence-Threshold Hybrid Routing

Avoid turning on 100% blind auto-assignment on day one. Follow the proven two-tier rollout:

  • Auto-Apply Safe Metadata: Enable auto-apply for low-risk properties—labels, team routing, and project—once two weeks of suggestions hit ≥85% acceptance.
  • Human-Approve High-Impact Calls: Keep priority (Urgent/High), duplicate closure, and security/billing assignee in suggest-only mode for your weekly rotating Triage Goalie.

Pairing Triage Intelligence with a Background Investigation Loop

Pro Pattern: First-Responder Bug Loop (~\$0.07–\$0.20 per run)
Configure a Linear Loop triggered when a new issue receives the bug label in Triage. The Loop uses Code Intelligence to locate the probable offending file, check recent merged PRs that touched that path, and post a 5-bullet root-cause brief as an internal comment. By the time the goalie reviews Triage, 60% of the investigation is already finished—and simple bugs can be delegated straight to a Coding Session.

5. The 5-Part Anatomy of an Agent-Ready Linear Issue

A coding agent is only as reliable as the ticket you hand it. Vague one-liners produce sprawling, unreviewable diffs. Structure every delegatable issue with these five color-coded sections so Claude Code, Codex, Cursor, or Devin hits a clean PR on the first pass.

Worked Example — ENG-512: Add idempotency key header to webhook retry worker

1. Context: Retried Stripe/Slack webhooks in apps/api/src/workers/webhookRetry.ts currently resend without an Idempotency-Key header, causing duplicate downstream events when partners time out after 5s.

2. Constraints: Reuse existing crypto.createHash('sha256') helper in lib/hash.ts; do not add new npm packages or alter database schema migrations; maintain backwards compatibility for payloads missing eventId.

3. Acceptance Criteria: (a) Outbound retries include Idempotency-Key: wh_<sha256(eventId+attemptBucket)>; (b) Identical retries within 24h emit the exact same key; (c) Structured logs record the key without logging payload PII.

4. Verification Command: Run pnpm --filter api test webhookRetry.spec.ts && pnpm --filter api typecheck. Add unit tests covering duplicate retry stability and missing eventId fallback.

5. Out-of-Scope: Do not refactor exponential backoff intervals, dead-letter queue UI, or inbound webhook signature verification.

1. Context (Where & Why)

Name exact file paths, symbols, or Sentry stack traces. Cuts agent exploration tokens by 50%+.

2. Constraints (Guardrails)

State library, schema, and API boundaries up front so agents don’t install rogue dependencies.

3. Acceptance Criteria

Write 2–4 binary, observable behaviors. Avoid subjective adjectives like “clean” or “fast.”

4. Verification Command (The Self-Check)

Give the exact test, lint, and typecheck command. Agents iterate until the command exits 0.

5. Out-of-Scope (Blast-Radius Fence)

Explicitly forbid adjacent refactors. Keeps diffs small (<250 lines) and fast for humans to review.

Anti-Pattern (Causes Agent Drift) Agent-Ready Rewrite (First-Pass Mergeable)
“Fix slow dashboard loading for big orgs.” “Add pagination (limit=50) to GET /v2/org/events in events.controller.ts; keep response envelope identical; verify with pytest tests/test_events_page.py.”
“Update settings page to match new Figma.” “Replace BillingToggle.tsx spacing/colors per linked Figma frame #node-412 using existing Tailwind tokens; do not touch Stripe API hooks; pass pnpm test:ui.”

6. Connecting Linear MCP & External Coding Agents

Linear’s official hosted MCP server at https://mcp.linear.app/mcp runs over Streamable HTTP (the legacy /sse transport is deprecated) with OAuth 2.1 Dynamic Client Registration. Connect it to pull rich issue context into local IDEs or delegate directly from Linear’s assignee menu.

1. Claude Code CLI (One-Command MCP)
Prompt / Snippet
# Add official Linear Remote MCP (Streamable HTTP)
claude mcp add --transport http linear-server \
  https://mcp.linear.app/mcp

# Authenticate via OAuth 2.1 in session
/mcp

Every issue lookup, status move, and comment is attributed to your personal Linear user—never a shared bot token.

2. Cursor & Codex CLI MCP Config
Prompt / Snippet
// .cursor/mcp.json (or Codex MCP config)
{
  "mcpServers": {
    "linear": {
      "url": "https://mcp.linear.app/mcp"
    }
  }
}

For headless CI or read-only agent runs, pass Authorization: Bearer <LINEAR_API_KEY> instead of interactive OAuth.

Delegation Playbook: Matching the Coding Agent to the Task

Agent / Runner How to Trigger from Linear Execution Environment Ideal Ticket Profile
Linear Coding Sessions Assign issue to Linear Agent (uses Claude Code or Codex under the hood). Managed Linear cloud sandbox with configurable repo env, secrets & browser use. Fast bug fixes, UI tweaks, & test coverage reviewed via Linear Diffs.
Cursor Cloud Agents Assign to @Cursor app user or mention in issue comment. Cursor background VM synced to GitHub repo & .cursor/rules. Multi-file TypeScript/React refactors following existing Cursor rules.
OpenAI Codex Assign via Codex Linear integration or pull via Codex CLI + Linear MCP. Sandboxed cloud container or local CLI with repository tests. Backend API endpoints, migrations, and parallel unit-test generation.
Devin / Self-Hosted Runners Assign to @Devin (or Claude Code runners like Cyrus/Merlin) via Agent API. Dedicated autonomous VM or your team’s own private VPC runners. Longer-running migrations, private-network services, or compliance repos.

GitHub PR Auto-Linking & Zero-Touch Status Transitions

Enforce Branch & PR Magic Words
Configure your workspace AI guidance and CLAUDE.md / AGENTS.md so every coding agent names branches <team>-<id>-short-slug (e.g., eng-418-fix-csv-tz) and includes Fixes ENG-418 in the PR body. Linear automatically moves the issue to In Progress on draft PR, In Review when ready, and Done on merge.
Stacked PRs in Linear Diffs
When an agent splits a large feature into dependent PRs (e.g., schema PR → API PR → UI PR), Linear Diffs displays them as a stacked review chain. Commenting on any line inside Linear Diffs feeds directly back into the active Coding Session for an immediate fix-up commit.

7. Turning Figma Frames & Support Threads into Specs

The fastest way to break an issue-to-PR loop is hand-copying requirements across Figma, Zendesk, Intercom, and Slack. Connect design and customer signals directly into Linear so agents synthesize complete, revenue-prioritized engineering tickets automatically.

UI wireframe frames and glowing signal orbs converging through an optical lens into modular engineering blueprint blocks
Design & Voice-of-Customer Synthesis: Live Figma frames, Figma Make prototypes, and Zendesk/Intercom/Gong signals converge into structured, agent-executable Linear specs.
1 Figma Live Embeds + Figma Make Connector
  • Live Frame Sync: Paste any Figma frame URL into a Linear issue to embed a live, always-current preview—eliminating stale screenshots when designers iterate.
  • Figma Make Connector: Powered by Linear’s MCP tools, designers inside Figma Make can read existing Linear issues/projects for context and spin up tracked engineering issues directly from interactive prototypes.
  • Design-Token Handoff: Prompt @Linear on a Figma-linked issue to extract component states (default, hover, empty, error) into numbered Acceptance Criteria before delegating to a coding agent.
2 Customer Requests: Zendesk, Intercom & Gong
  • 1-Click Support Filing: From Zendesk or Intercom, support reps click once to invoke Linear Agent, which parses the full thread, strips fluff, and files a structured triage issue attributed to the customer.
  • Self-Driving Gong Intake: Linear’s Gong integration scans sales/CS call transcripts automatically, extracting feature requests and routing them to the right team’s triage queue with zero manual clicks.
  • ARR-Weighted Prioritization: Linking multiple customer requests to one parent issue surfaces total revenue at stake, letting PMs prioritize high-ARR fixes for immediate agent delegation.
Spec-Drafting Shortcut: Turn a Messy Project into Scoped Sub-Issues
Open Linear Agent (Cmd/Ctrl + J) on a Project Overview containing raw customer requests and Figma links, and run: “Group these 14 customer requests by root cause, cross-check our codebase via Code Intelligence, and draft 4 agent-ready sub-issues with Context, Constraints, Acceptance Criteria, Verification Commands, and Out-of-Scope.”

8. 5 Battle-Tested Recipes to Deploy This Week

Save each recipe below as a reusable Linear Skill, Loop, or MCP prompt so your entire engineering and product org gets repeatable, high-signal outputs.

Recipe Name Surface & Trigger Exact Automation Behavior Target Outcome
1. Bug Root-Cause Loop Linear Loop on bug label in Triage Uses Code Intelligence to find suspect commits/files, checks duplicates, and posts a 5-line triage brief. Cuts manual goalie triage time by 60%.
2. Figma Frame-to-PR Linear Coding Session or @Cursor Reads embedded Figma frame + Tailwind token map, implements component states, and runs Playwright visual tests. Pixel-accurate UI PR in <15 minutes.
3. Customer Signal Digest Linear Skill (Cmd/Ctrl+J weekly) Aggregates all Zendesk/Intercom/Gong Customer Requests from the last 7 days, ranked by linked ARR. Data-backed sprint planning in 2 mins.
4. Parallel Test Hardening Claude Code / Codex via Linear MCP Pulls all needs-tests issues in current Cycle, spawns isolated git worktrees, and opens 1 PR per ticket. Clears flaky/missing test debt overnight.
5. Auto Release Notes Linear Agent + Slack Workflow Summarizes all Done issues in a completed Cycle into customer-facing changelog + internal Slack digest. Zero-effort release comms & CS loop close.

Copy-Paste Templates & Snippets

A. Workspace AI Guidance (Settings > AI)
Prompt / Snippet
## Engineering & Agent Conventions
- Branch format: <team>-<id>-kebab-slug
- PR title: <type>(<scope>): <summary> [ENG-XXX]
- Always include a failing regression test before fixing.
- Never modify auth/, billing/webhooks/, or db/migrations/
  without explicit human-approved label `migration-ok`.
- Keep PR diffs under 250 lines; split larger specs.
B. Claude Code + Linear MCP Issue-to-PR Prompt
Prompt / Snippet
Fetch Linear issue ENG-418 via linear-server MCP.
Read all linked comments and Figma notes. Create branch
eng-418-fix-csv-tz, implement strictly within Scope &
Constraints, run the Verification Command until green,
open a draft PR with "Fixes ENG-418", and post a concise
test summary back to the Linear issue.
C. Linear Issue Template: Agent-Ready Bug / Task
Prompt / Snippet
## 1. Context
- Affected file(s) / URL / Sentry link:
- Customer Request(s) linked:

## 2. Constraints
- Reuse helpers in:
- Do NOT add dependencies or alter DB schema.

## 3. Acceptance Criteria
- [ ] Behavior 1 (observable & binary)
- [ ] Behavior 2 (edge case handled)

## 4. Verification Command
```bash
pnpm --filter <pkg> test <spec> && pnpm typecheck
```

## 5. Out-of-Scope
- Explicitly excluded modules or refactors:

9. Blast-Radius Limits & Human-in-the-Loop Governance

Autonomous coding agents multiply throughput—and can multiply mistakes just as fast if left ungoverned. Use strict delegation tiers, label-based permissions, CI verification gates, and spend caps to keep every agent PR safe to merge.

✓ Delegate Freely (agent-safe)
  • Scoped Bug Fixes: Deterministic reproduction with an existing or easily written unit test.
  • UI & Design Token Tweaks: Component layout, copy, empty states, and accessibility attributes from Figma.
  • Test Coverage & Docs: Adding regression suites, Playwright specs, Storybook stories, and API docs.
  • Mechanical Refactors: Migrating deprecated internal hooks, lint rule rollouts, and type narrowing.
× Keep Human-Led (human-only)
  • Auth, Crypto & Permissions: RBAC, OAuth flows, session tokens, and tenant isolation logic.
  • Destructive DB Migrations: Column drops, lock-heavy index builds, and billing ledger mutations.
  • Ambiguous Product Architecture: Unvalidated 0→1 system designs or cross-service contracts.
  • Production Incident Mitigation: Live rollback decisions and customer-impacting hotfixes.

4 Mandatory Governance Gates Before Merging Any Agent PR

Gate Layer Enforced Policy Where to Configure
1. Label & Team Scoping Restrict third-party App Users to approved teams; trigger automated Loops only when agent-safe is present and human-only is absent. Settings > Integrations > Agents + Loop filter conditions.
2. Sandbox & Secret Isolation Run Coding Sessions in ephemeral cloud sandboxes with test-only env vars; never expose production DB keys or live Stripe secrets to agent runners. Linear Coding Session repo environment settings + secret store.
3. Required CI & Diff Size GitHub branch protection requires green unit tests, typecheck, SAST/secret scan, and a warning flag if an agent PR exceeds 350 changed lines. GitHub Branch Protection Rules + CI workflow checks.
4. Human Owner Sign-Off The human Linear issue owner (or CODEOWNER) must review in Linear Diffs or GitHub and click Merge; agents never hold merge permissions. GitHub CODEOWNERS + Linear Guided Reviews.
Budget Guardrail: Cap AI Credits & Sandbox Loops
Set hard monthly AI credit limits and disable silent auto-reload on experimental workspaces in Settings > Usage & limits. A runaway Loop triggered on every comment update can burn hundreds of runs overnight—always trigger Loops on explicit state transitions (e.g., Status → Triage or Label added), never on generic comment edits.

10. End-to-End Synergy: Support Signal to Shipped Release

Linear reaches peak leverage when it acts as the central nervous system connecting customer-facing channels, design tools, coding agents, and release communications into a single automated relay.

SIGNAL INTAKE Slack @Linear / Asks Zendesk / Intercom 1-Click Gong Transcripts + Sentry Figma Make Connector LINEAR TRIAGE HUB Triage Intelligence Dedupe + ARR + auto-label Investigation Loop Code Intel root-cause brief 5-Part Spec + agent-safe CODING AGENT PR Delegated Execution Claude Code / Codex / Cursor Sandbox Verification Tests + typecheck + lint = 0 Auto-Linked GitHub PR REVIEW & CLOSE LOOP Linear Diffs + CI Gate Human approve & merge Auto-Notify CS & Slack Zendesk / Intercom alert AI Release Notes Skill

Closing the Loop: 4 Operational Handoffs That Eliminate Manual Chasing

1 Support-to-Engineering Attribution

When Zendesk or Intercom creates a Linear issue via Linear Agent, the customer record stays attached. When the coding agent’s PR merges and moves the issue to Done, Linear posts an automated resolution alert back to the support thread—closing the feedback loop without engineers ever opening Zendesk.

2 Slack Workflow Builder + @Linear

Wire incident channels (#eng-bugs, #cx-escalations) so reacting with a bug emoji triggers a Slack Workflow that invokes @Linear. Linear Agent summarizes the messy 40-message thread into a single clean Triage ticket and links the thread back for status updates.

3 Weekly Speedrun / Batch Delegation

Run a 60-minute weekly paper-cut session: engineers spend 15 minutes refining 5–8 agent-safe issues with verification commands, delegate them in parallel to Coding Sessions or Cursor/Codex, and spend the remaining 45 minutes reviewing diffs and merging green PRs.

4 Automated Cycle Release Notes

At Cycle close, invoke a saved Linear Skill to read all merged PRs and linked Customer Requests, generating two outputs: a concise customer-facing changelog and an internal executive summary with cycle velocity metrics from Linear Insights.

11. Troubleshooting Clinic (Top 7 Fixes) & Pre-Flight

When an autonomous issue-to-PR loop stalls, drifts, or goes silent, diagnose it in under two minutes with this clinic—then run the 6-point pre-flight check before scaling delegation across your org.

Symptom / Failure Mode Root Cause Exact Fix
1. Agent ignores delegated issue App User lacks access to a private team, or team visibility changed after install. Open Settings > Integrations > Agents, re-grant team access to the App User, and re-assign the issue to re-fire the webhook.
2. MCP connection drops / 404 Client config still points to deprecated /sse transport instead of Streamable HTTP. Update endpoint to https://mcp.linear.app/mcp, run /mcp to refresh OAuth 2.1 tokens, or verify Okta enterprise authorization.
3. Agent PR touches 15+ unrelated files Ticket lacked an explicit Out-of-Scope fence and target file paths. Close the noisy PR, add exact file paths + Out-of-Scope section + Workspace AI Guidance max-diff rule, and re-run.
4. AI credits spike unexpectedly A Loop triggers on generic comment updates or retries infinitely on failing tests. Restrict Loop triggers to explicit state/label changes, add a spend cap in Settings > Usage & limits, and inspect the credit explorer.
5. Duplicate tickets flood Triage Triage Intelligence disabled or cross-team suggestion scope misconfigured. Enable Triage Intelligence in Settings > AI and set Include suggestions from to cover all product teams sharing customer intake.
6. PR merges but issue stays Open Agent omitted the Linear issue ID from branch name and PR description. Add branch format (eng-XXX-slug) and Fixes ENG-XXX requirement to both Settings > AI guidance and repo AGENTS.md.
7. UI PR misses Figma spacing/states Static screenshot attached instead of live Figma frame + token constraints. Embed the live Figma URL (or create via Figma Make connector) and list exact design-system tokens in the issue’s Constraints block.

6-Point Pre-Flight Checklist Before Enabling Team-Wide Delegation

✓
Workspace AI Guidance Published: Branch naming, PR title format, forbidden directories, and max diff size documented in Settings > AI.
✓
5-Part Issue Template Active: Default bug/task template enforces Context, Constraints, Acceptance Criteria, Verification Command, and Out-of-Scope.
✓
Remote MCP Verified: Engineers connected to https://mcp.linear.app/mcp via OAuth 2.1 (per-user attribution, no shared API keys).
✓
Guardrail Labels & CI Gates Live: agent-safe and human-only labels created; GitHub branch protection requires green tests + human review.
✓
Sandbox & Spend Caps Set: Test-only env secrets configured for Coding Sessions and monthly AI credit limits enabled in Usage & limits.
✓
Goalie Rotation & Review SLA: Weekly Triage Goalie assigned to calibrate Triage Intelligence and keep PR review queues under 24 hours.

Save the 12-Page Magazine PDF

Keep a print-ready copy of Linear Agents & Issue-to-PR Loops for offline reading, desk reference, or sharing with teammates (799 KB).