Repository navigation
Conversation
This was referenced Oct 9, 2026
zkwentz
force-pushed
the
zkwentz/openenvd-k4-relays
branch
from
October 12, 2026 17:35
1d81005 to
ba6b6de
Compare
zkwentz
added this pull request to stack #1415
October 12, 2026 18:38
| task.cancel() | ||
| for task in pending: | ||
| with contextlib.suppress(asyncio.CancelledError, Exception): | ||
| await task |
| server.should_exit = True | ||
| task = getattr(server, "serve_task", None) | ||
| if task is not None: | ||
| await task |
zkwentz
force-pushed
the
zkwentz/openenvd-k4-relays
branch
from
October 13, 2026 00:31
ba6b6de to
48d2c2a
Compare
zkwentz
removed this pull request from stack #1415
October 13, 2026 00:32
zkwentz
changed the base branch from
zkwentz/openenvd-k3-kernel
to
zkwentz/openenvd-k3b-confinement
October 13, 2026 00:32
zkwentz
added this pull request to stack #1417
October 13, 2026 00:32
1 task done
zkwentz
force-pushed
the
zkwentz/openenvd-k4-relays
branch
2 times, most recently
from
October 13, 2026 01:29
c83fc2e to
7152863
Compare
zkwentz
force-pushed
the
zkwentz/openenvd-k4-relays
branch
from
October 13, 2026 14:23
7152863 to
17474ea
Compare
Part 4 of 5 of openenvd on kernel primitives (#1053). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each container already reaches only its own socket directory, so the cgroup check on Unix-socket peers had no caller. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
zkwentz
force-pushed
the
zkwentz/openenvd-k4-relays
branch
from
October 13, 2026 17:35
17474ea to
e8c5c7b
Compare
This branch has not been deployed
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
These are the relays every call out of the agent zone crosses, and the unit's single external listener.
relays.py:env_relay_apprelays any HTTP or websocket request to the unmodified env server on a Unix socket, with byte-identical responses. Hooks let the surfaces notice activity anddone.model_proxy_appaccepts only the placeholder key and injects the real one, so the real key never enters a zone.service_relay_appproxies to a hidden service and strips headers that reveal infrastructure.surfaces.py. One TCP listener:/mcpand other env paths stay unchanged for the agent;/ws,/reset,/stepand/stateneed the orchestrator token, so agents cannot reset;/info,/verdict,/inspect,/resume,/reset_unitand/end_episodeare orchestrator controls;How a call travels
The harness believes it's talking to localhost. Every byte goes through openenvd, and the model's real key exists only between the proxy and the model.
Test plan
Stack
Part of openenvd on kernel primitives (#1053). Review bottom-up; each PR shows only its own layer.
Deployment assumption: openenvd ships in every image. Run privileged (a microVM in production, or
docker run --privilegedin development) and it isolates. Run any other way and it logsisolation disabledand serves the environment exactly as before.The trace machinery (hash-chained trace, seal, harness self-report cross-check,
/observe) is parked onzkwentz/openenvd-with-traceand is out of this stack's scope.🤖 Generated with Claude Code