Skip to content

feat(evi): allow the agent to create and manage linear initiatives - #554

Merged
HugoRCD merged 4 commits into
mainfrom
sync/linear-initiative-writes
Aug 10, 2026
Merged

feat(evi): allow the agent to create and manage linear initiatives#554
HugoRCD merged 4 commits into
mainfrom
sync/linear-initiative-writes

Conversation

@evlogai

@evlogai evlogai Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

What and why

The Linear connection's tool allowlist in apps/evi/agent/connections/linear.ts deliberately excluded initiative writes, so the agent can only read and comment on initiatives. This adds save_initiative so Evi can create and edit initiatives (name, description, status, dates).

Linear's hosted MCP (https://mcp.linear.app/mcp) follows a unified save_<entity> convention for create-or-update writes (save_issue, save_comment, save_document are already allowed), and its February 2026 changelog confirms initiative support was added. The connection description is updated to match.

Deletes and structural writes for projects and releases remain excluded.

Why save_initiative_update is NOT included

The first draft of this PR also added save_initiative_update. It was dropped: the name is unverified against the live server, and the evidence is against it.

  • A real runtime probe of mcp.linear.app (May 2026, tools/list) shows the analogous project-update tool does not exist there, and no public catalogue lists save_initiative_update.
  • The authoritative way to settle it is a live authenticated tools/list call (Linear's docs confirm a personal API key works as the bearer token). I could not run it from the sandbox (no token, and the connection's token is minted in production). The probe is scripted at /workspace/probe-linear-tools.sh and the tool needs a write/admin-scope key, since read-only tokens expose only read tools.

If a live probe confirms the real name for initiative status updates (e.g. save_initiative_update), it can be enabled in a follow-up.

Checks

  • pnpm run typecheck: clean
  • pnpm run lint: 22/22 tasks pass
  • apps/evi tests: 63/63 pass

No changeset: the change is confined to apps/evi.

Linear's hosted MCP exposes save_initiative (create or edit an initiative)
and save_initiative_update (post an initiative status update); both were
left off the connection allowlist, so initiatives stayed read-only for the
agent. Add them to ALLOWED_TOOLS and update the connection description.

Deletes and structural writes for projects and releases remain excluded.

Checks: typecheck, lint, and evi tests all pass.
@changeset-bot

changeset-bot Bot commented Aug 10, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: f944b68

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel

vercel Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
evi Ready Ready Preview Aug 10, 2026 5:22pm
evlog-docs Ready Ready Preview, v0 Aug 10, 2026 5:22pm
evlog-render-lab Ready Ready Preview Aug 10, 2026 5:22pm
evlog-telemetry Ready Ready Preview Aug 10, 2026 5:22pm
just-use-evlog Ready Ready Preview Aug 10, 2026 5:22pm

Request Review

@github-actions
github-actions Bot requested a review from HugoRCD August 10, 2026 12:10
@github-actions

Copy link
Copy Markdown
Contributor

Thank you for following the naming conventions! 🙏

@pkg-pr-new

pkg-pr-new Bot commented Aug 10, 2026

Copy link
Copy Markdown
npm i https://pkg.pr.new/@evlog/cli@554
npm i https://pkg.pr.new/evlog@554
npm i https://pkg.pr.new/@evlog/nuxthub@554
npm i https://pkg.pr.new/@evlog/telemetry@554

commit: f944b68

Linear's hosted MCP exposes save_initiative (create or edit an
initiative); it was left off the connection allowlist, so initiatives
stayed read-only for the agent. Add it to ALLOWED_TOOLS and update the
connection description.

Initiative status updates stay excluded: the tool name is unverified
against the live server, and a runtime probe of mcp.linear.app found no
analogous project-update tool. Re-enable only after a live tools/list
confirms the name.

Deletes and structural writes for projects and releases remain excluded.

Checks: typecheck, lint, and evi tests all pass.
@vercel
vercel Bot temporarily deployed to Preview – evlog-telemetry August 10, 2026 12:20 Inactive
@vercel
vercel Bot temporarily deployed to Preview – evlog-render-lab August 10, 2026 12:20 Inactive
@vercel
vercel Bot temporarily deployed to Preview – evlog-docs August 10, 2026 12:20 Inactive
@vercel
vercel Bot temporarily deployed to Preview – just-use-evlog August 10, 2026 12:20 Inactive
@HugoRCD
HugoRCD marked this pull request as ready for review August 10, 2026 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant