Description
openshell policy set replaces the entire sandbox policy. Adding a single new endpoint requires manually merging 200+ lines of existing policy YAML.
Steps to Reproduce
- Sandbox has multiple network policy groups configured for various services
- Need to add a new endpoint (e.g., Slack)
- Must create a complete YAML with ALL existing + new policies and apply it
- Accidentally omitting any existing policy silently blocks that network access
Proposal
# Add a network policy group incrementally
openshell policy add my-assistant --group slack --endpoints slack.com,api.slack.com --binaries /usr/local/bin/node
# Or from a preset file
openshell policy add my-assistant --from-file presets/slack.yaml
# Remove a policy group
openshell policy remove my-assistant --group telegram
# List active policy groups
openshell policy list my-assistant --groups
Workaround
Manually merge YAML files. This is error-prone — it's easy to accidentally omit an existing policy group and silently lose network access for that service.
Description
openshell policy setreplaces the entire sandbox policy. Adding a single new endpoint requires manually merging 200+ lines of existing policy YAML.Steps to Reproduce
Proposal
Workaround
Manually merge YAML files. This is error-prone — it's easy to accidentally omit an existing policy group and silently lose network access for that service.