Skip to content

feat: linear-cli for agents: names for ids, milestones, due days, documents, resolving dry runs - #52

Merged
leemour merged 5 commits into
mainfrom
feat/agent-ergonomics
Dec 3, 2026
Merged

leemour merged 5 commits into
mainfrom
feat/agent-ergonomics

Conversation

@leemour

@leemour leemour commented Dec 3, 2026

Copy link
Copy Markdown
Member

Task

Make linear-cli usable by an agent with no briefing (owner's request, 2026-12-03).

Why

With 0.8.4 an agent missed the skill, typed UUIDs, fell back to raw GraphQL, read stale rows after its own write, and trusted a --dry-run that passed with a wrong id. A cold start with two fresh agents (cli-testing) judged the fixes: both read the skill second, used no raw api and no UUID, and answered 5 of 5.

What

  • cli-core 3.12.0 (tracker work in cli-core#3636, #3647) and cli-base 3.2.5.
  • Names instead of ids everywhere, raw api writes included: handle, first name, part of a name, P-ENG-124.
  • milestones list|create, issues comments list, documents create|update; --due, --milestone, --add-label/--remove-label; due: and milestone: filters.
  • Issue rows carry identifier, url, team_key, project_name, milestone_name, assignee_name; comments author_name.
  • Raw writes answer url and slugId and update the copy; meta.as_of / stale.
  • --dry-run resolves references, refuses an unknown one, and names the permission that would refuse the write (refused_by).
  • Raw api writes check issues.assign-others too.
  • Skill: wider description, documents section; --help lists issues create.

Breaking (fragment, "Changed — may break callers"): raw api needs issues.assign-others to assign others; --dry-run fails on an unknown reference.

Testing

Locally: lint, typecheck, standards, docs, deps, command lint, contracts, test matrix (0 missing), full suite 628 passed.

🤖 Generated with Claude Code

leemour and others added 4 commits December 3, 2026 20:49
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…documents

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…reen lists issues create

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3.12.0 carries the tracker work this branch uses. cli-base 3.2.5 types config.source as any manifest, so the spec
model reads the tracker writes through a checked helper.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@leemour
leemour force-pushed the feat/agent-ergonomics branch from b1d1746 to 5cf224b Compare December 3, 2026 19:51
@socket-security

socket-security Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​wirecat/​cli-base@​3.2.4 ⏵ 3.2.5981001009670
Updated@​wirecat/​cli-core@​3.9.0-dev ⏵ 3.12.0-dev98 +1100100 +19670

View full report

…cli-core 3.12

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@leemour
leemour merged commit 140f9e8 into main Dec 3, 2026
16 checks passed
@leemour
leemour deleted the feat/agent-ergonomics branch December 3, 2026 20:22
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