Trigger Surface Showdown How Slack Linear and GitHub Route to a Pull Request Across Leading Agent Harnesses
Where a coding agent gets triggered shapes its context, access, and review.

The best cloud coding agents for engineering teams have the right execution harness and the right trigger surface for the work. Linear runs cloud coding sessions with Claude Code and Codex, and its Loops can respond to Slack and GitHub events. The decisive comparison is not simply which agent writes code best, but which route supplies the context, authorization, and review path the task needs.
Why the trigger surface is not just a convenience choice
Teams usually understand Slack as chat, Linear as an issue tracker, and GitHub as a code host. When those tools connect to an agent, they also become trigger surfaces, each with its own context model. A conversation supplies a different starting point from an issue with customer requests and project history. A repository event supplies something else again. It identifies where the work belongs before the agent starts investigating.
That difference changes the handoff to human review. A developer asking an agent for help in a browser tab creates an individual session, while a shared trigger can connect a team’s request to an investigation and proposed change. The entry point must supply enough context, and the workflow must return the result where reviewers can understand why it exists.
What Slack triggers actually do and what they cannot see
Slack offers the lowest-friction entry point when a team is already discussing a problem in a channel. Invocation stays close to the conversation. LangChain’s open-SWE implementation triggers on new top-level messages in channels the agent has joined, with filters for sender type, an optional case-insensitive regex over text and attachments, and a cap on runs per hour. Sender filters can let through anyone, people, or bots, so work from alerts can take a different route from requests people make.
Those rules also define the visibility boundary. The implementation refuses to save triggers for externally shared channels or channels the bot has not joined. Its webhook queues checks only for channels a trigger already watches. Thread history gives the agent the context of the conversation, but it cannot take the place of issue history, customer requests, or related work kept elsewhere.
Nor does a Slack trigger guarantee a Slack reply. The same implementation removes a default Slack destination, so automations no longer post a root message, bind runs to a thread, or notify on action. A run reports to Slack only when its prompt explicitly asks, using the agent’s Slack tools. Shared investigation can therefore be a useful team artifact, but only when the reporting path supports it.
Linear’s October 22, 2026 changelog also supports Slack-triggered Loops that can answer product questions in a channel. That expands where work can begin without making Slack equivalent to an issue tracker. Its strongest fit remains unplanned, conversational, or alert-driven work.
What Linear triggers bring that Slack cannot: structured context and backlog routing
Linear provides a starting point grounded in a work item. Issue details, history, customer requests, discussions, and related work can inform the coding session. The ticket, the session, and the pull request it creates stay linked. That linkage gives reviewers the reason for a change as well as its diff, reducing the gap between backlog intent and implementation.
LangChain’s implementation starts a run when an issue is created or a label is added in a team. Labels, project, and an hourly run cap narrow the route. Linear’s Loops documentation describes a broader event scope covering issues, projects, initiatives, cycles, releases, and pull requests, as well as selected public Slack channels. These are distinct implementations. The shared principle is that structured events can select work before an engineer manually delegates it.
The documentation makes that principle concrete through a Triage workflow. A loop checks the codebase for a reported bug’s root cause and delegates the issue to Linear to fix if it finds one. Other examples split work as it comes in across platforms or check the closing PR to draft messages for Support to send to customers. Context serves more than code generation here. It also connects investigation, implementation, and communication.
Model flexibility changes the comparison further. Linear’s November 12, 2026 changelog adds bring-your-own-key support for its cloud coding agent on all current plans. Supported connections include OpenAI, Anthropic, AWS Bedrock, Azure OpenAI, Claude in Microsoft Foundry, OpenRouter, Vercel, and gateways supporting the OpenAI Responses or Anthropic Messages API. An API key is required independently of any ChatGPT or Claude subscription. The provider bills model usage directly, while sandbox runtime consumes Linear AI credits, separating model choice from the cost of executing the session.
What GitHub triggers add: the repo as both event source and deliverable
GitHub provides the most direct route when the task already belongs to a repository. The repository is both the event source and the destination for the proposed change. Issue labeling or assignment can start an agent that opens a draft pull request. Unlike a Slack request, the event does not leave the target repository implicit.
The sym implementation narrows that route through repository, event, action, label, and branch filters. Triggers watch only repositories on the owner’s configured list, and without that list they cannot be created. The filter therefore selects more than a task. It also defines the repository in which the run works, keeping the source of the request and the location of the deliverable aligned.
Linear’s October changelog gives an example in which a pull request receiving a “ready for testing” label starts a loop that drafts a QA plan. The event supplies an existing review artifact as context. For coding tasks, the output is still a proposed change that needs to be accepted, and draft status and human review keep the right to merge apart from the ability to generate code.
How to choose the best cloud coding agents for engineering teams by their harness
The trigger determines the starting context, while the harness determines what the agent can do with it. A harness manages tools, context, the execution loop, and task state around a model. It coordinates reading a repository, editing a file, running a test, and trying again after a failure.
Claude Code and Codex can read repositories, run tests, and iterate on failures. Linear’s coding sessions use those harnesses in the cloud, allowing teams to make changes without setting up a local development environment. The surface and execution layer are coupled choices. Routing work to the right repository helps little if the harness cannot read the code or test the change it proposes.
OpenCode represents a different emphasis on model flexibility through a provider-agnostic, permissively licensed harness supporting 75+ providers via models.dev. Claude Code adds another execution capability by writing orchestration dynamically for the task at hand. A complex issue can therefore support a custom multi-agent plan. The useful comparison includes trigger support, execution tools, model flexibility, orchestration, and delivery path.
Parallel and automated agent runs: how trigger surfaces enable work beyond the keyboard
Shared triggers enable more than convenient task initiation. They let work start without someone remembering to ask. Scheduled or event-driven runs can investigate separate tasks asynchronously, while developers manage several agents across projects.
Coinbase provides a concrete example of the parallel-agent model. Its developers can use Cursor to pick up tickets as they are created, map execution with Plan Mode, and delegate implementation. Time from idea to first PR creation dropped from days to under 30 minutes. Across Coinbase, most PRs are now created by agents, with developers saving hours of manual coding per week and a large increase in merged PRs per engineer since the start of the year.
Linear Loops supplies the event-driven mechanism for that kind of delegation. A matching Triage event can start investigation without waiting for a developer to open a laptop. Its documentation offers Low, Medium, High, and Auto reasoning settings, allowing cost and depth to vary by loop type. Routine routing and work that needs a deeper investigation can use different settings.
Ramp’s Inspect system works in a similar way through Slack. It spins up provisioned deployed previews in seconds and has run a million sessions. Most of Ramp’s pull requests are now built by Inspect, including a large volume last month from non-engineers. The shared surface broadens who can initiate work. The preview and PR provide concrete outputs through which that work can be examined.
What each surface requires to be safe: authorization, deduplication, and branch protection
As more work starts automatically, it matters more that permission to request work stays separate from permission to change production code. Each surface exposes a different boundary. Slack supplies the content of channels, Linear supplies the content of issues, and GitHub supplies signed event bodies and their metadata. A uniform security policy can miss the specific way each input reaches an agent.
The baseline is a separate identity for each integration. Repository access should use fine-grained PATs or GitHub App installations scoped to specific repositories, with the narrowest permissions, including contents read and pull requests read/write, but no admin or secrets write. Slack request verification should stay on, with signature validation in place and app_mention scopes followed. Channel access needs its own restriction. Turning away externally shared channels keeps that trigger route from taking in content from outside the intended workspace.
Linear issue text requires a boundary inside execution as well. LangChain’s implementation fences issue text as untrusted unless its creator is a known user, and that distinction must survive into the harness. Prompt injection remains unresolved across surfaces. An open PR in Sentry’s MCP implementation attempts an untrusted-data boundary using XML tags, HTML entity escaping, and an LLM evaluation canary, but has known bypasses. External content should therefore remain untrusted regardless of where the agent encounters it.
GitHub needs deduplication beyond its delivery header. The sym PR identifies an unsigned event-header edge case in which one signed body could trigger twice under different event names. Its fix hashes the raw body and adds that hash to the run’s dedupe keys, so changed delivery or event headers cannot allow a replay. The same implementation also uses content-based deduplication for Linear events. A redelivery with a changed label does not start another run.
Execution isolation is a separate concern from event authenticity. GitLab’s disclosed 2026 CVE affected self-hosted AI Gateway deployments and gave an authenticated user a path to arbitrary command execution. GitLab shipped fixed releases on the disclosure day, and no confirmed exploitation has surfaced. Its enterprise posture also ties agent actions to real user identities and permissions, with sessions, tools, models, and approvals in one trail. Self-hosted models can run on self-managed GitLab deployments, or organizations can bring a model into a single-tenant AI Gateway on a dedicated GitLab deployment.
Across all three surfaces, branch protection remains non-negotiable. Changes from agents should come as draft pull requests and need human review, while main stays protected. Investigation and proposal are appropriate agent permissions. Merge authority remains with the engineer.
Matching the task to the surface: a routing decision framework
The practical routing decision begins with the context a task cannot afford to lose. Route unplanned investigations, pasted bug reports, and alert-driven work to Slack when the conversation is the useful starting artifact. Specify Slack reporting when the implementation requires it. This route fits work whose investigation needs team visibility, but it does not make missing project or customer history available by implication.
Route backlog work to Linear when issue history, customer requests, related work, or project context are necessary to judge the change. Event-driven Triage routing can start the first pass automatically, and the reasoning settings for each loop control how deeply it looks into the task. BYOK offers a separate choice about model access and billing. Neither setting replaces a well-scoped work item.
Route repository-scoped work to GitHub when the target repository and PR timeline should remain unambiguous. That decision should cover labeled issues, review work, and CI diagnosis, with the trigger limited to events that the chosen integration supports. The repository establishes the destination before execution begins. Human review then evaluates the proposal in its existing code context.
As teams expand automated runs, routing becomes a matter of engineering judgment. Sending every task through the most convenient surface risks missing context, excessive scope, and pull requests that cost more to review than they saved to generate. The next workflow should begin where its essential evidence already lives, with authority bounded and the review destination explicit.
Sources
- feat(automations): Slack and Linear triggers by langchain-infra · Pull Request #3679 · langchain-ai/open-swe · GitHub
- More ways to run and share Loops
- Changelog
- Loops
- Coding sessions in Linear
- feat: act on GitHub and Linear events with triggers by amitray007 · Pull Request #62 · amitray007/sym · GitHub
- Now Linear writes the code, too


