Linear Multi-Agent Runbook
Documentation checked 2026-09-28. This is a proposed local operating protocol, not an executed multi-client deployment.
Before connecting
Approve exact workspace, client/provider account, repository data and retention path. Read-only access still exposes readable data. Prefer scoped OAuth; observer endpoint: https://mcp.linear.app/mcp/readonly. Normal endpoint: https://mcp.linear.app/mcp. Check current client help and https://linear.app/docs/mcp.
Claude: claude mcp add --transport http linear-server https://mcp.linear.app/mcp, then claude mcp login linear-server or /mcp.
Codex: codex mcp add linear --url https://mcp.linear.app/mcp, then codex mcp login linear.
Cursor: use current Linear MCP setup and inspect effective permissions.
Record versions and results for permitted read/update and denied action. Do not add obsolete feature flags or clear shared auth caches blindly.
Reservation
Use one dispatcher process and one worker per lane. Before launch, persist issue ID, unique worker run ID, branch, worktree, base commit and reservation state. A label alone is not a reservation. Claim comments and re-reads are audit signals, not a distributed lock.
After a crash or timeout, inspect existing worker and diff before reassignment. Stop writers and preserve both patches on an unexpected double start. Multiple dispatchers require atomic reservation; distributed leases require fencing stale writers.
Issue and handoff
- Goal, exclusions, approved inputs and observable acceptance criteria:
- Actual repository verification commands:
- Issue/reservation ID:
- Author and separate reviewer run:
- Base/candidate/reviewed commit SHAs:
- Branch and absolute worktree:
- Actual PR URL:
- Commands, exit statuses, results and missing checks:
- Blocking findings, resolutions and remaining questions:
- Next state and owner:
Lifecycle: Todo → In Progress → In Review → Changes Requested → In Review → Done. Define whether Done means accepted or merged. Never equate it automatically with deployment. Every changed candidate needs affected checks and required review on its current revision.
Completion and recovery
One writer per worktree in this protocol. Worktrees are filesystem separation, not security sandboxes. Configure execution permissions separately. Instruction files and issue text cannot enforce restrictions.
Verify current-head checks and required review; resolve actionable findings. Follow repository merge authority and separate release authority. Routine reversible fixes proceed within existing scope; escalate expanded access, new data flows, production actions or material choices outside authorization.
Acceptance rehearsal: duplicate dispatch denied; crash does not silently reassign active worker; changed candidate invalidates old review; timed-out issue update is reconciled before retry; malicious issue text cannot access excluded credentials. Record actual outcomes and limits.