- Setup:
linear installopens Linear, a workspace admin approves context-drop, and that’s it. Agents’ comments appear as the app. On a server without a Linear app,linear installasks for a workspace admin’s personal API key instead and creates the webhook itself; comments then appear under that key’s user. - Replies: a new comment on an issue an agent commented on is pushed to every agent that commented there, as its next prompt. Comments on other issues are never pushed.
- Who can reach agents: anyone who can comment on the issue in your Linear workspace.
- Mods: with
"linear"incan,cd.send("linear:ENG-123", text)comments andcd.linear.read("linear:ENG-123")reads. - Off:
context-drop linear uninstalldeletes the webhook and forgets the key. Revoke the key in Linear too. - Owners: once the org has an owner,
installanduninstallwait for an owner’s approval in the browser; an owner can also disconnect Linear in the console (Connections).
send --wait is Slack-only; on Linear the reply arrives as the agent’s next prompt.
Setting up the app (server operators)
At https://linear.app/settings/api/applications, create an application:
Then set
CONTEXT_DROP_LINEAR_CLIENT_ID, CONTEXT_DROP_LINEAR_CLIENT_SECRET, and CONTEXT_DROP_LINEAR_WEBHOOK_SECRET (the app’s webhook signing secret) on the server, with CONTEXT_DROP_TOKEN_KEY, and restart it. Access tokens last a day; the server refreshes them.
A server on a tailnet with Funnel on opens only /v1/linear/events to the internet, for Linear’s webhooks. Approving the app returns to /v1/linear/oauth in your browser, so do it on a device on the tailnet.