Repository navigation
docs: align gateway shell executor claims with client-executed shell - #401
Merged
maralbahari merged 1 commit intoOct 1, 2026
Merged
Conversation
LeaderOnePro
requested review from
bbrowning,
franciscojavierarceo,
haoshan98,
jiahuei,
leseb,
maralbahari,
noobHappylife,
qandrew and
tjtanaa
as code owners
September 30, 2026 10:01
ARCHITECTURE.md described an application-provided ShellExecutor slot, GatewayExecutorRegistration::Shell, an opt-in gateway shell history projection, and a ShellHandler::model_input entry point that do not exist in the implementation. Shell remains client-executed: ShellHandler deliberately does not implement GatewayExecutor (PR vllm-project#264 removed the optional executor), and RFC vllm-project#352 tracks a possible gateway-executed shell backend as future work. Also refresh the GatewayExecutors slot list to include the opt-in Eryx-backed code interpreter executor added in PR vllm-project#368. Fixes vllm-project#353 Signed-off-by: LeaderOnePro <[email protected]>
LeaderOnePro
force-pushed
the
docs/shell-executor-alignment
branch
from
September 30, 2026 11:31
2e20489 to
9086b0f
Compare
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The documented behavior matches the implementation; only a non-blocking terminology correction remains.
Review effort: Balanced
Findings: 1
Open (1)
What changed in this PR
Aligns architecture documentation with the implemented client-executed shell flow.
Changes:
- Corrects shell execution and history-lowering descriptions.
- Updates MCP, web-search, and code-interpreter executor documentation.
| File | Description |
|---|---|
ARCHITECTURE.md |
Documents current shell and gateway executor behavior. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+1261
to
+1263
| into the existing gateway scheduler, not a | ||
| second tool loop. Client-owned | ||
| tools (`function`, `custom`, `shell`, `namespace`) never touch this file; their registry |
franciscojavierarceo
approved these changes
Oct 1, 2026
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
Aligns ARCHITECTURE.md with the implemented, client-executed shell tool (#353).
ShellExecutorslot, aGatewayExecutorRegistration::Shellexecution grant, an opt-in gateway-executed shell history projection, and aShellHandler::model_inputentry point. Shell is client-executed only:ShellHandlerdeliberately does not implementGatewayExecutor(PR feat: add shell tool wire types #264 removed the optional executor to keep execution on the client), and RFC RFC: opt-in gateway shell executor for deployment-provided execution backends #352 tracks the proposed gateway-executed shell backend as future work.translate/section and thetool/registry section) to describe the implemented flow: declarations normalize to canonical function tools, calls restore toshell_calland command SSE events, the client executes each call and submitsshell_call_outputwith the samecall_id, and shell history stays public in storage, lowering into function history through the standard output-to-input conversion plus typed input conversions.GatewayExecutorsslot list: MCP servers are the only lazily connected slot (configured clients and discovered handlers are cached byserver_labelacross requests; request-declared servers connect afresh per request, their discovered handlers reused only within that request), alongside the sharedWebSearchHandlerand the opt-in Eryx-backedCodeInterpreterExecutoradded in feat: support code interpreter as gateway execution tool #368 (disabled by default). Addsshellto the client-owned tool list.Fixes #353
Test Plan
GatewayExecutorRegistrationvariants (tool/executors.rs),ShellHandlernot implementingGatewayExecutor(tool/shell.rs), MCP client caching byserver_labelwith fresh request-declared connections (tool/executors.rs), and shell history lowering (types/io/input.rs,docs/design/shell-tool.md).rg 'ShellExecutor|GatewayExecutorRegistration::Shell|ShellHandler::model_input|opt-in gateway executor' ARCHITECTURE.mdreturns no matches.git diff --checkis clean and the diff touches onlyARCHITECTURE.md.pre-commit run --files ARCHITECTURE.mdpasses all hooks.