feat(eve): add declarative framework tool allowlists - #1310
Draft
bob-obringer wants to merge 1 commit into
Draft
Conversation
Contributor
|
@bob-obringer is attempting to deploy a commit to the Vercel Team on Vercel. A member of the Team first needs to authorize it. |
Author
|
Closing this draft so Bob can review the implementation locally before any upstream publication. No merge requested. |
Signed-off-by: Bob Obringer <bob@neynar.com>
bob-obringer
force-pushed
the
feat/builtin-tool-allowlist
branch
from
July 29, 2026 03:47
67f3418 to
3048eee
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Closes #1309.
eve currently enables every framework-provided tool unless the author creates filesystem disable sentinels one by one. That is fragile for capability-sensitive agents because a newly added built-in becomes available after an upgrade without an explicit application decision.
This adds an optional
builtInToolsallowlist todefineAgent(). Omitting it preserves the existing behavior. Enabling it denies unlisted framework tools while leaving authored tools and same-name authored overrides alone. The policy survives compilation, is enforced for static tools,connection_search, and queued recursiveagentactions, and is reported by/eve/v1/info. Unknown names fail with an authoring error instead of silently weakening the policy.How did you test your changes?
pnpm fmtpnpm lintpnpm check:depspnpm guard:invariantspnpm docs:checkpnpm typecheckpnpm test:unit— 5,563 passed, 1 skippedpnpm test:integration— 566 passed, 1 skippedpnpm buildpnpm test:scenario— 370 passed, 15 skipped; two unrelatedframework-next-buildcases stop during the fixture'spnpm installbecause local pnpm rejects ignoredesbuildandsharpbuild scripts before exercising this changePR Checklist
CONTRIBUTING.mdevepackagegit commit --signoff)