Repository navigation
chore(deps): build against OpenShell v0.1.10 - #115
Merged
Merged
Conversation
Pin openshell-policy-schema and openshell-policy to v0.1.10 (152c59d). Validation runs the offline checks of the new `openshell policy lint` (#5358): endpoint ambiguity, including endpoints that match the same requests with different protocols (#5274), and the authored-policy validator. A YAML policy with `endpoint_settings` (#5006) is rejected; lint warns about NAT64 hosts (#5793); diff-logs is tested on the v0.1.10 process and audit record shapes (#5251, #5612). Docs cover the Kubernetes kernel < 6.4 regression (#6069). cargo audit ignores RUSTSEC-2026-0600 (kube-client, lockfile-only, #114). Closes #113 Signed-off-by: Ilan Harel <ilanharel@gmail.com>
This was referenced Nov 30, 2026
4 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
Moves main's OpenShell pin from v0.1.9 (
ce58cf8) to v0.1.10 (152c59d3178039e3fbb4a5595f9fff7216a6be92, the tag atai-openshell/openshell) and makes annotate behave like v0.1.10. Each item was checked againstgit log v0.1.9..v0.1.10upstream.Closes #113
Refs #110 (covers #5274, #5675 and #5251; #5303 is not in v0.1.10, so the issue stays open), Refs #109, Refs #114
v0.1.10 items
openshell policy lint:validate::gateway_violations(used bylint --policy,driftandgenerate) now runs the same offline checks asopenshell policy lint:find_endpoint_ambiguitiesplusvalidate_and_canonicalize_authored_policy, which adds reserved_provider_keys, credential-binding structure and the encoded size limit to the gateway validator. Not mirrored: built-inopenshell/*middleware config validation, which needsopenshell-supervisor-middleware-builtins; annotate generates no middlewares. annotate's own_provider_check incheck_documentwas dropped because it would duplicate the upstream message. README now recommendsopenshell policy linton generated policies.protocol=tie.openshell policy lintand the gateway reject that ("conflicting metadata: protocol"), but annotate v0.1.9 generated it without complaint.generatenow fails on it. Same-protocol overlaps still combine. Tests: unit and CLI.endpoint_settings: the schema crate now parses anendpoint_settingssection (Cedar endpoint settings, with unknown keys rejected inside it), andopenshell_policy::parse_sandbox_policyrejects it in a YAML policy file.lint --policyanddriftreport OpenShell's message ("endpoint_settings is not an authored policy section"). annotate never emits it. Tests: the schema parse accepts it and rejects unknown nested keys; the policy file is rejected (unit); lint and drift (CLI).pid,created_time,parent_process.pid), and gateway audit records carryresources[].data.diff-logsuses only the binary path (never the parent) and skips class 6003, so no parser change was needed. Addedtests/fixtures/logs/ocsf-0.1.10.jsonl(hand-written to match the upstream docs example), a CLI test that checks it gives the same suggestions asocsf.jsonl, and a unit test (an unknown binary-is dropped).policy_dns_ipv6_egressandnat64_prefixesare driver and supervisor settings, not policy keys, so annotate has nothing to emit. SSRF checks now classify64:ff9b::/96addresses by their embedded IPv4, so lint warns about such hosts in directives and--policyfiles.--scaffold-profilescomment mentionsauth_style: path_subtree.git merge-base --is-ancestor): #5763 (Chrono to Jiff), #5944 (SSH session tokens; theForwardTcpproto event is not in the tag either) and #5303 (Windows roots). No diff-logs change is needed for them now.connect()fails with EIO and noNET:*events are logged. Documented in README Limits and DEVELOPING (diff-logs section).endpoint_settings(NetworkEndpointis unchanged).PROXY_BASELINE_*is unchanged, and #4270 (no filesystem denial logs) is still open.Dependencies
Cargo.lock: the OpenShell crates move to v0.1.10, plus their transitive changes (kube 0.99 → 5.0.0, schemars 1.x,serde_yaml/unsafe-libyaml/chronodropped, newopenshell-spiffe).rust-version = "1.94"and builds and tests on 1.94.1, so main stays on Rust 1.94.cargo auditon main has failed since RUSTSEC-2026-0600 (kube-client) was published on 2026-11-24; see fix(ci): install Rust 1.95 in openshell-next workflow #112's audit job. kube is lockfile-only (cargo tree -i kube-client --target allis empty), and OpenShell pinskube = "=5.0.0"while the fix is in 5.2.0, which needs Rust 1.95. So.cargo/audit.tomlignores it, with the reason and Track RUSTSEC-2026-0600 (kube-client 5.0.0, lockfile-only through OpenShell openshell-crypto) #114 as the tracker, the same way as RUSTSEC-2026-0459.Checklist
chore/openshell-v0.1.10, commit signed offcargo fmt --check,cargo clippy --all-targets --locked -D warnings,cargo test --locked(160 passed),scripts/gen-docs.sh --checkon Rust 1.94.1 (macOS)scripts/security-local.shpasses (actionlint, gitleaks, cargo-deny, pin check:v0.1.10 = 152c59d…),cargo auditpassestests/cli.rs,src/validate.rs,src/diff_logs.rs, new log fixture)policy lint), DEVELOPING, AGENTS, ROADMAP, Dockerfile, generated headers and goldens