feat(subagents): support explicit capability inheritance - #1243
Open
aatosolavi wants to merge 3 commits into
Open
feat(subagents): support explicit capability inheritance#1243aatosolavi wants to merge 3 commits into
aatosolavi wants to merge 3 commits into
Conversation
Contributor
|
@aatosolavi is attempting to deploy a commit to the Vercel Team on Vercel. A member of the Team first needs to authorize it. |
Author
CI status noteGitHub Actions for this PR are currently A maintainer needs to click Approve and run on those workflows so the full suite can execute. Local verification already passed:
|
This was referenced Jul 27, 2026
aatosolavi
force-pushed
the
feat/subagent-inherit-capabilities-626
branch
2 times, most recently
from
July 27, 2026 20:18
fa1a724 to
b5a99d8
Compare
Author
CONTRIBUTING.md compliance audit
Action needed for Verified commits (CONTRIBUTING “Signed commits”):
GitHub Actions still need a maintainer Approve and run for first-time external contributors. |
Allow declared subagents to opt into sharing the parent's live sandbox and connection definitions via `inherit.sandbox` / `inherit.connections`, while keeping isolation as the default and retaining distinct instructions. Rebases and lands the approach from vercel#639 on current main, including runtime shared-sandbox propagation, compiler validation, docs/info surface, tests, and extension-capability epoch bumps for transitive public types. Refs vercel#626. Signed-off-by: Aatos Akvilander <aatos@akvilander.com>
aatosolavi
force-pushed
the
feat/subagent-inherit-capabilities-626
branch
from
July 27, 2026 20:19
b5a99d8 to
69d7006
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.
Summary
Allow declared subagents to opt into selected parent capabilities while keeping isolation by default:
inherit.sandbox: trueshares the parent's live sandbox session (not a seed copy)inherit.connections: truereuses the parent's resolved connection definitions (normal auth resolution; no credential copying)inherit, own sandbox +inherit.sandbox)eve info/ agent-info surface effective owned vs inherited capabilitiesThis rebases and completes the approach from #639 onto current
mainso CI can run on an up-to-date branch.Closes #626.
Related: #639 (original implementation by @iroiro147).
Example
Tests
pnpm --filter eve typecheckvitest.unit.config.ts): 177 passedpnpm docs:checkpnpm guard:invariantspnpm fmt/pnpm lintNotes for reviewers
agentcontract.