Investigation Summary
Description
Hermes must discover its per-sandbox public API port without reading a protected process environment across identities.
The current transaction helper reads the managed service process environment from /proc. OpenShell denies that read in live sandboxes. Hermes MCP configuration then fails even when the gateway process exists.
The related native GPU path also times out while it waits for the Hermes gateway. Confirm whether both symptoms share the new port-discovery boundary.
Reproduction Steps
- Check out commit
626b75d0a37e4dfe97caf27ac5d921e5069c405e.
- Run the Hermes MCP bridge target against OpenShell v0.0.101.
- Add two MCP servers concurrently.
- Observe both transactions fail while reading
/proc/<pid>/environ.
- Run the native Hermes GPU startup target and inspect the gateway startup evidence.
Environment
Debug Output
PermissionError: [Errno 13] Permission denied: '/proc/38/environ'
Hermes Agent gateway did not respond within 90s
Acceptance Evidence
- Hermes obtains the public API port through a readable, identity-bound source.
- Port discovery rejects stale or untrusted gateway identity.
- Concurrent Hermes MCP mutations pass.
- Hermes full and security E2E pass.
- Native Hermes GPU startup reaches a stable ready state, or a separate confirmed cause receives its own issue.
Checklist
Investigation Summary
9df101e8in run 31659712185.a9affdf6failed after PR fix(sandbox): give each Hermes sandbox its own OpenAI-compatible API port #8577./proc/<service-manager-pid>/environ.PermissionError: [Errno 13].Description
Hermes must discover its per-sandbox public API port without reading a protected process environment across identities.
The current transaction helper reads the managed service process environment from
/proc. OpenShell denies that read in live sandboxes. Hermes MCP configuration then fails even when the gateway process exists.The related native GPU path also times out while it waits for the Hermes gateway. Confirm whether both symptoms share the new port-discovery boundary.
Reproduction Steps
626b75d0a37e4dfe97caf27ac5d921e5069c405e./proc/<pid>/environ.Environment
Debug Output
Acceptance Evidence
Checklist