Skip to content

feat(build): add ACL-native Box build plan foundation - #193

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
feat/cloud-build-plan-bx0-4-20260731
Jul 31, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
feat/cloud-build-plan-bx0-4-20260731

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • add the closed a3s.box.build-plan.v1 A3S ACL contract over Box's existing native OCI build engine
  • generate canonical ACL and a stable digest with a3s-acl 0.3, and confine canonicalized context/build-file paths to one admitted source root
  • compile typed cache and network policies into the existing BuildConfig without adding another engine, cache, scheduler, or lifecycle store
  • enforce network = "none" for native Linux RUN with an independent network namespace, reject remote URL ADD, bind network policy into RUN cache identity, and reject the warm pool until it has equivalent isolation evidence
  • preserve outbound defaults for existing CLI and Rust SDK callers

Scope

This is the Box-owned BX0.4 contract foundation for A3S-Lab/Cloud#85 and #172. It does not mark BX0.4 complete. Cloud still has to consume this boundary while preserving OCI publication, content-addressed cache evidence, SPDX/SLSA evidence, signing, cancellation, process-death recovery, and cleanup.

Verification

  • cargo test -p a3s-box-runtime — 1472 passed, 1 ignored
  • cargo test -p a3s-box-core compose::acl — 5 passed
  • cargo test -p a3s-box-core --test compose_normalization — 6 passed
  • cargo test -p a3s-box-sdk — 58 passed, 2 real-runtime tests ignored
  • cargo test -p a3s-box-cli commands::build::tests — 19 passed
  • cargo clippy -p a3s-box-runtime -p a3s-box-core -p a3s-box-sdk -p a3s-box-cli --all-targets -- -D warnings
  • cargo fmt --all --check

@ZhiXiao-Lin
ZhiXiao-Lin merged commit 8ee14d4 into main Jul 31, 2026
11 checks passed
@ZhiXiao-Lin
ZhiXiao-Lin deleted the feat/cloud-build-plan-bx0-4-20260731 branch July 31, 2026 05:33
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