Skip to content

linear: add linear_assign so threads can take or hand off tickets - #18

Merged
trotterdylan merged 1 commit into
mainfrom
bb/assume-that-i-have-a-linear-skill-for-accessing-thr_yi56wfzrfz
Oct 7, 2026
Merged

trotterdylan merged 1 commit into
mainfrom
bb/assume-that-i-have-a-linear-skill-for-accessing-thr_yi56wfzrfz

Conversation

@trotterdylan

Copy link
Copy Markdown
Collaborator

What

A linear_assign tool: set an issue's assignee to me, to a person by name or email, or to nobody to clear it. The person lookup is factored out of linear_create_issue and shared. issueUpdate now also returns the assignee so the tool reports who holds the ticket.

Why

The bithub project's build-ready dispatcher automation claims Todo tickets by assigning them to the connected user before spawning a worker thread, and a worker that cannot proceed hands a ticket back. Neither was possible: assignment only existed at creation, and linear_query refuses mutations by design.

Testing

npm run typecheck and npm test in plugins/linear (52 tests). New tests cover me / email / nobody / ambiguous name / missing issue.

Rollout

Merging re-pins bb-server within about ten minutes and restarts every developer's server. Merge at a quiet moment.

🤖 Generated with Claude Code

Automations that pick up tickets need to claim them (assign and move in
one step), and a thread handing a ticket back needs to clear itself and
relabel. Until now the only write to an existing issue was its state, and
linear_query refuses mutations by design.

One tool instead of one per field: linear_update_issue takes the issue key
and any of state, assignee ("me", a person by name or email, or "nobody"),
labels to add or remove, and priority, resolves each name the way
linear_create_issue already does, and applies them in a single
issueUpdate. The timeline still says what changed: the result names each
field that was set. linear_set_state goes; the automation is its only
customer and moves to the new tool with it.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@trotterdylan
trotterdylan force-pushed the bb/assume-that-i-have-a-linear-skill-for-accessing-thr_yi56wfzrfz branch from dc23e08 to 44bbfd6 Compare October 7, 2026 17:31
@trotterdylan
trotterdylan merged commit 8e4c8e4 into main Oct 7, 2026
10 checks passed
@trotterdylan
trotterdylan deleted the bb/assume-that-i-have-a-linear-skill-for-accessing-thr_yi56wfzrfz branch October 7, 2026 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant