Linear
With Linear connected, you can hand an issue to Codebeast like you would to a teammate. It picks the repository, starts a task, comments its milestones on the issue, moves the issue through your workflow states, and attaches the pull request.
Connect Linear Admin only
The person connecting must be a Linear workspace admin. Otherwise the install fails with a scope or actor error.
- Open Integrations → Linear and click Connect Linear.
- On Linear's consent page, click Authorize. You're returned to CodeBeast with a card for the workspace.
- Press Test.
- Set the card's Repositories, Harness and Default run mode.
Team and project rules
A rule tells CodeBeast which repo a Linear team or project works on, and how issues should move. A project's rule takes priority over its team's rule.
Under Team and project rules, pick the team or project.
Pick the repository its issues work on, or ask each time.
Optionally choose a harness and Normal or Auto run mode.
Optionally set Auto-dispatch when entering <status>. Tick the workflow status or statuses that should start a task automatically, for example Ready for agent. Then choose the status to move the issue to:
Moment Example status While working In Progress When PR opens In Review On failure Todo Leave auto-dispatch unticked for a manual-only rule, where work starts only when someone delegates.
Click Add rule.
Linear rules have no When done option. Move the issue to Done yourself after you merge the PR, or let Linear's own GitHub/GitLab integration close it.
Without a rule, delegated issues still work: Codebeast asks in the issue which repository to use.
Using it
Start work
Assign or delegate an issue to Codebeast, or mention it in a comment. Within seconds the agent session shows a thought, then either:
- "Started working on <repo>" with a link to the task, or
- a question about which repository to use. Answer in the session or as an issue comment.
Files uploaded to the issue (in the description or the delegating comment) are copied onto the task if they're a supported type: png, jpeg, webp, txt, md, csv, tsv, json, yaml or log, up to 5 per issue. Other files and link attachments are listed in the task brief instead.
While it runs
- Before the task starts, comments on the issue add to its brief.
- After it starts, comments are attached to the task as notes. Decisions such as clarifying questions and PRD approval happen in CodeBeast, and the bot's replies link there.
- Milestones come back as comments, the pull request is attached to the issue, and the issue moves through the statuses your rule defines.
Retry a failed build
If the build fails, reply retry in the agent session, or press Linear's Retry. Codebeast re-runs the build on the same machine, exactly like Run build again on the Board (see Run build again). The bot answers "Retrying the build on …", or explains why it couldn't, for example because a build is already running.
Who the work belongs to
The task runs as the Linear user who delegated or assigned the issue, matched by email to a member of your org. If there's no match, Codebeast replies that they need a CodeBeast account.
Troubleshooting
| Symptom | What to check |
|---|---|
| Install fails with a scope or actor error | The person connecting isn't a Linear workspace admin. |
| "You need a Codebeast account…" | The Linear user's email doesn't match an org member's. |
| Issue entered a watched status but nothing started | Check the rule's team or project, and that the status is ticked under Auto-dispatch when entering. |
| Chat turns "summarise DRO-12" into a task instead of answering | The chat's repo is outside the connection's Repositories scope. |
| Card shows Needs reconnect | Access was revoked. Click Connect Linear again. |