Skip to content

fix(plugins): Enforce tool naming in lint instead of runtime - #1908

Merged
dcramer merged 4 commits into
mainfrom
fix/vercel-action-tool-names
Sep 23, 2026
Merged

dcramer merged 4 commits into
mainfrom
fix/vercel-action-tool-names

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

The Vercel actions added in #1900 use snake_case local tool names. Core rejects those names while building the tool catalog, which stops the whole agent turn.

Remove the runtime camelCase rejection. Keep namespace and duplicate-name handling unchanged. The existing hook test now proves that a snake_case tool registers without throwing.

Rename the five Vercel actions and update their callers and docs. Add an ast-grep rule for keys assigned definePluginTool(...) or create*Tool(...) results. Its fixtures and scan run through the existing CI lint command. Naming style belongs in lint, not in turn execution.

Reported in Sentry.

via David Cramer.

--

View Junior Session [Sentry]

@vercel

vercel Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
junior-docs Ready Ready Preview Sep 23, 2026 9:25pm UTC

Request Review

@dcramer
dcramer marked this pull request as ready for review September 23, 2026 21:24
@github-actions github-actions Bot added the risk: high PR risk score: high label Sep 23, 2026
@github-actions

Copy link
Copy Markdown
Contributor

1 screenshot change — 1 changed · 0 added · 0 removed

Review screenshots in Frameshift

Conversation Attachment · Desktop
Conversation Attachment · Desktop
Changed

@dcramer
dcramer merged commit 8bafae2 into main Sep 23, 2026
43 checks passed
@dcramer
dcramer deleted the fix/vercel-action-tool-names branch September 23, 2026 21:29

This branch was successfully deployed

1 active deployment
Preview – junior-docs — 49a158b4 Deployed Sep 23, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: high PR risk score: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant