Serialize execute_code sessions per bot#47
Open
MaxBittker wants to merge 1 commit into
Open
Conversation
MaxBittker
force-pushed
the
codex/mcp-execution-minimal
branch
from
July 24, 2026 23:01
d74b758 to
8f30042
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
execute_codein a per-bot FIFO while allowing different bots to proceed concurrentlyDeliberately omitted from #44
No structured inspect/query/action tools, session-health metadata, resource abstraction, connection-manager rewrite, or separate output framework. This is the smallest slice that prevents agent programs from interleaving mutations.
Validation
bun run checksdk/API.mdis refreshed for already-merged Fix agent state telemetry and browser action contracts #45 (17-line post-merge drift fix)Boundary
execute_coderemains trusted, unsandboxed execution. CPU-bound synchronous code cannot be pre-empted. An SDK call that already started cannot be force-aborted, so the next same-bot session intentionally waits for it to settle.Supersedes #44.