Skip to content

fix(cli): fail closed rmi on box-state load - #541

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
fix/rmi-state-load-fail-closed
Sep 18, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
fix/rmi-state-load-fail-closed

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • rmi fails closed on box-state load instead of inventing an empty protect set
  • Matches image-prune / system-prune protect-set honesty
  • Does not close ROADMAP B4/B3/B2 or unlock UDP/host_port=0

Test plan

  • cargo test -p a3s-box-cli --lib commands::rmi::tests (2 passed)

Refuse inventing an empty protect set when boxes.json is unreadable so
rmi cannot remove in-use images (image-prune / system-prune parity).

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