Skip to content

Add create-time sandbox egress controls - #8

Merged
arslnb merged 5 commits into
mainfrom
codex/egress-controls
Jun 26, 2026
Merged

Add create-time sandbox egress controls#8
arslnb merged 5 commits into
mainfrom
codex/egress-controls

Conversation

@arslnb

@arslnb arslnb commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Summary

  • adds create-time sandbox egress policy parsing, validation, persistence, API response surfacing, and fork inheritance
  • enforces Firecracker host egress policies with per-sandbox nftables rules and controlled DNS for domain policies
  • normalizes deployment nftables/systemd configuration and documents the egress model
  • adds SDK helpers and README/API/feature examples for the full feature surface

Validation

  • cargo fmt --all -- --check
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo test --workspace
  • npm run build (sdk/typescript)
  • npm pack --dry-run (sdk/typescript)
  • python -m build (sdk/python)
  • npm run typecheck (workdir-client)

Notes

  • Local macOS cannot run nftables syntax validation; nft enforcement will be validated on the EX44 Linux host before marking deployment complete.
  • Live network smoke tests require the Firecracker runtime and are run via wkdir-test with WORKDIR_RUN_NETWORK_TESTS=1 after deploy.

@arslnb
arslnb marked this pull request as ready for review June 26, 2026 07:05
@arslnb
arslnb merged commit 9c6370d into main Jun 26, 2026
4 checks passed
@arslnb
arslnb deleted the codex/egress-controls branch June 26, 2026 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant