Conversation
Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
BREAKING CHANGE: Policy YAML must use the openshell.policy.v1 field shape; legacy scalar matcher and tool shorthands are no longer accepted. Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
|
🌿 Preview your docs: https://nvidia-preview-pr-3401.docs.buildwithfern.com/openshell |
Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
…oto/pimlock Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
|
/ok to test 3a058c5 |
|
Label |
Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
BREAKING CHANGE: Policy YAML and public policy APIs now use the protobuf-shaped openshell.policy.v1.PolicyDocument contract. Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
|
/ok to test aca0575 |
|
Label |
Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
|
/ok to test 6b6d4fb |
Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
|
/ok to test 3b79984 |
Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
|
/ok to test b838549 |
1 similar comment
|
/ok to test b838549 |
Summary
Make
openshell.policy.v1.PolicyDocumentthe public authored policy contract for policy YAML and gateway APIs while retainingSandboxPolicyas the private effective/runtime and durable model.This is a breaking change. Policy YAML now uses protobuf field shapes directly: endpoints require
ports, matcher oneofs usegloborany.values, and runtime-only authority fields are not authorable.Related Issue
Closes #3388
Follow-up: #3476 tracks the pre-existing internal any-binary merge-semantics inconsistency, which is deliberately outside this contract migration.
Changes
openshell.policy.v1.PolicyDocumentschema with vendoredbuf.validateannotations and strict bounded YAML/JSON conversion.__proto__andconstructorparameter keys.Design gists
These gists record the investigation that led to the public/internal split and the protobuf-shaped YAML migration:
Testing
mise run pre-commitmise run test:rust(full workspace, server, integration, doc, and example suites)mise run test:python(256 passed)mise run go:cimise run sdk:ts:ci(125 passed)mise run docsandmise run proto:lintmise run e2e(MCP 3/3, Python 54 passed/81 skipped, full Rust E2E green)mise run testandmise run cireach the unchanged mainlinetest:packaging-assetsfailure:deploy/deb/control.instarts with SPDX comments thatdpkg-debrejects. The branch does not modify that file or the packaging test. All task-relevant gates above pass.Checklist