containers: agent container isolation (egress, non-root, mounts) #1466

Open
opened 2026-10-27 13:40:30 +00:00 by sam · 0 comments
Owner

Separate from orgs/access (docs/prds/orgs-and-access.md). Agents run as root with no egress limits (internal/container, containers.network). Design and build: outbound network limited to hosts the agent profile lists, always allowing the orchestrator endpoints the agent must reach (NATS, State Store, forge/worktree RPC; embedded NATS binds to the Docker bridge gateway, a private address) while blocking cloud metadata and other private ranges; non-root agent user; only the run's own working directory mounted; Acquire fails loudly with a named reason when the profile's network cannot be built; refused egress logged against the run. Needs its own design doc before code.


Imported from beads archie-core-n8d3 · GitHub #1086 · type task · priority P2 · created 2026-09-23

Separate from orgs/access (docs/prds/orgs-and-access.md). Agents run as root with no egress limits (internal/container, containers.network). Design and build: outbound network limited to hosts the agent profile lists, always allowing the orchestrator endpoints the agent must reach (NATS, State Store, forge/worktree RPC; embedded NATS binds to the Docker bridge gateway, a private address) while blocking cloud metadata and other private ranges; non-root agent user; only the run's own working directory mounted; Acquire fails loudly with a named reason when the profile's network cannot be built; refused egress logged against the run. Needs its own design doc before code. --- _Imported from beads `archie-core-n8d3` · GitHub #1086 · type task · priority P2 · created 2026-09-23_
sam added the mediumtask labels 2026-10-27 13:40:30 +00:00
sam self-assigned this 2026-10-27 13:40:30 +00:00
sam added a new dependency 2026-10-27 13:41:52 +00:00
sam added the deferred label 2026-11-15 17:26:17 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: sam/archie#1466