Policy component catalog for cc-deck OpenShell sandbox environments.
This repository contains declarative YAML component files that define network policy fragments for OpenShell sandboxes.
The cc-deck capture command fetches these files and caches them locally.
The cc-deck build refresh command assembles them into a deterministic openshell/policy.yaml.
Updating a component here allows all cc-deck users to pick up endpoint changes without upgrading the binary.
catalog.yamllists all available component files (consumed bycc-deck capture)*.yamlfiles are individual policy components
Each component declares a key, name, match conditions, and endpoints:
key: pkg_rust
name: rust packages
match:
tools:
- rust
- cargo
endpoints:
- host: crates.io
port: 443
- host: index.crates.io
port: 443See the configuration reference for the full schema.
Components from this catalog sit in the middle tier:
- User-local (
.cc-deck/setup/openshell/policies/) overrides everything - Catalog (this repo, cached in
.cc-deck/setup/openshell/components/) - Embedded (built into the cc-deck binary) is the fallback
When the catalog and the embedded binary contain the same filename (e.g. rust.yaml), the catalog version wins.
To add or update an endpoint:
- Edit (or create) the component YAML file
- Update
catalog.yamlif adding a new file - Open a pull request
Changes are picked up by users on their next cc-deck capture run.