Skip to content

feat(cli): unlock Compose sandbox TCP publish under keep-authority - #499

Merged
ZhiXiao-Lin merged 10 commits into
mainfrom
feat/b4-compose-sandbox-keep-authority-publish
Sep 18, 2026
Merged

ZhiXiao-Lin merged 10 commits into
mainfrom
feat/b4-compose-sandbox-keep-authority-publish

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • Compose --isolation sandbox admits static TCP ports under keep-authority Bridge (same DNAT path as CLI/SDK).
  • Still rejects UDP and host_port=0; without keep-authority published ports stay fail-closed.
  • ROADMAP/CHANGELOG Partial only — does not close B4/B3/B2 or claim UDP/auto-assign/rootless/Windows Compose publish.

Test plan

  • cargo test -p a3s-box-cli --lib compose::sandbox_managed::tests
  • CI green on PR

ZhiXiao-Lin and others added 3 commits September 18, 2026 00:38
Admit static TCP ports on Bridge when keep-authority is set, matching
CLI/SDK DNAT. Still refuse UDP and host_port=0; does not close B4.

Co-authored-by: Cursor <[email protected]>
Satisfy clippy::match_like_matches_macro so workspace -D warnings CI passes.

Co-authored-by: Cursor <[email protected]>
Satisfy cargo fmt --check on the keep-authority publish path.

Co-authored-by: Cursor <[email protected]>
ZhiXiao-Lin and others added 7 commits September 18, 2026 06:48
Skip serializing keep_network_device_authority when false so GA owner
records keep the legacy field set, and teach local SDK smoke to accept
the optional bool. Unblocks Python owner-death evidence after keep-
authority started writing false into box-owner.json.

Co-authored-by: Cursor <[email protected]>
@ZhiXiao-Lin
ZhiXiao-Lin merged commit e93c9f1 into main Sep 18, 2026
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