Repository navigation
Use the colocated daemon as the V1 user-managed executor - #8
Merged
Merged
Conversation
This was referenced Sep 25, 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.
Outcome
A user can create a
self_hostedSession and connect the V1 Runtime using its returned Environment ID, unchangedremote_urland scoped executor credential. Our daemon is the executor, colocated with Codex, Claude Code or MiniMax Code, native tools and workspace. Core remains independently deployable.Enrollment binds the credential, principal, Environment, Session and device atomically. WebSocket authentication uses the bearer header; current authority checks enforce rotation and revocation. Both user-managed and managed local execution reuse the existing Runtime lifecycle, Files/Artifacts and owned-history recovery. Session deletion does not reclaim caller-owned compute.
E2B provisioning, inspection, renewal and deletion now belong to the application through the official E2B SDK. The packaging example reuses the protected V1 Runtime. Core manages Docker only. Remove the former registry/Noise remote executor, service-side remote harness route, Core E2B provider and their obsolete configuration, dependencies and tests; preserve retained filesystem helpers, database history and historical evidence. Most of the diff removes that retired route.
Validation
make checkpassed atce11501: dedicated PostgreSQL, fixed official SDK, daemon/Core tests, generated SQL verification, standalone builds, native companion packaging and Rust helpers. The subsequent Environment-keyed connection-cache cleanup at8f0cd25passed the execution package regression suite and independent build.The qualification ledger distinguishes complete lifecycle runs, focused regressions, failed attempts and reused evidence. Failed operator attempts were retained; model effects were never replayed to repair a read-only assertion.
Boundaries
The public SDK/HTTP resource contract remains pinned. The returned connection target speaks our private daemon protocol, not stock
exec-server; Core and daemon deploy together at private wire version 0.3.0. The qualified self-hosted workspace is/workspace; populated capability directories and service-origin HTTP MCP on self-hosted remain explicit gaps. This does not remove separately qualifiednoneHTTP MCP or hosted Plugin MCP. No product work, HA, compute migration, replacement-history recovery or complete official-protocol compatibility claim.Need help on this PR? Tag
@codesmithwith what you need. Autofix is disabled.