You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
sandbox-worker: Docker spike driver runs without the egress lockdown #123
Follow-up from the CodeRabbit review on #120 (#118).
Problem. The Docker spike driver (alterspective/sandbox-worker/driver/run-task.ts) starts the image with its default entrypoint, which runs the supervisor as agent. Nothing runs egress/lockdown.ts on that path, so a local Docker run has no default-drop egress policy. The supervisor's metadata check is only a backstop: it passes when the endpoint simply is not there (as on a laptop).
The E2B path (production) is not affected: the service runs the lockdown as root before the supervisor (contract on svc-coding-agent#46).
Options
Driver runs the container with --cap-add NET_ADMIN, executes lockdown.ts as root with docker exec -u root, then starts the supervisor. Image stays USER agent.
Make the supervisor refuse to start unless the manifest says egress is locked (a flag the starter sets after a verified lockdown).
Done when: a local Docker run applies and verifies the lockdown before the agent starts, or refuses to start.
Activity
Alter-Igor commentedon Oct 5, 2026
Project tracking set by
opencodealt-claude-mainon 2026-10-05 (project-manager pass, Project 16 opencode Delivery):Alter-Igor, defaulted (WT-PM-01).Alter-Igor commentedon Nov 3, 2026
ARCH-GATE-01: PASS | model=google/gemini-3.8-flash (served=google/gemini-3.8-flash) | workstream=WS-07 | branch=synapse-worker-auth | scope=alterspective/sandbox-worker/**, packages/opencode/src/plugin/{synapse,synapse-models}.ts, src/session/prompt.ts, .opencode/tool/synapse-probe.ts$(System.Collections.Hashtable.ws), worktree $ (System.Collections.Hashtable.worktree)).
🔒 HELD by Program Director (
OPS-006-00 Checkpoint: Status=In Progress, Stage=Current.
fix(synapse): address CodeRabbit review feedback on PR #281 (#123, #257…
fix(synapse): pkce auth fallback, served-model sideband, and lockdown…