Skip to content

feat(e2b): add ACL production control service - #95

Merged
ZhiXiao-Lin merged 8 commits into
mainfrom
feat/e2b-acl-service
Jul 15, 2026
Merged

ZhiXiao-Lin merged 8 commits into
mainfrom
feat/e2b-acl-service

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • add the production a3s-box-e2b process configured exclusively through .acl files parsed by the pinned a3s-acl revision
  • compose SQLite lifecycle state, the canonical LocalExecutionManager, hashed accounts, rotating encrypted sandbox tokens, static template policy, route parsing and leases, startup reconciliation, periodic expiry reaping, and graceful shutdown
  • require token key material through env("VARIABLE") references and reject literal keys, unknown fields, invalid paths, duplicate versions, and unsafe template policy
  • add a destructive A3S OS smoke covering real HTTP create, certified crun Sandbox start, service restart recovery, connect, timeout replacement, kill, and resource cleanup
  • keep full_compatibility=false while TLS, envd, and the remaining black-box matrix are incomplete

Validation

Run from a Git-fetched worktree on the A3S OS production server:

  • cargo test --locked -p a3s-box-compat (72 passed)
  • cargo clippy --locked -p a3s-box-compat --all-targets -- -D warnings
  • cargo run --locked -p a3s-box-compat --bin a3s-box-e2b-contract -- verify
  • cargo fmt --all --check
  • scripts/e2b-production-smoke.sh against a real certified crun Sandbox, including service restart recovery and cleanup

@ZhiXiao-Lin
ZhiXiao-Lin merged commit 4bd9ff7 into main Jul 15, 2026
10 checks passed
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