feat(openshell): inventory explicitly selected policy documents - #949
Open
pengfei-threemoonslab wants to merge 1 commit into
Open
pengfei-threemoonslab wants to merge 1 commit into
pengfei-threemoonslab wants to merge 1 commit into
Conversation
This was referenced Oct 3, 2026
This branch has not been deployed
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.
A reviewer can now register arbitrary repository-local OpenShell YAML/JSON policies in
.shipgate/openshell.jsonand inspect their typed authority facts withshipgate audit --host. The reader pins OpenShell 0.1.2 separately from policy schema 1, preserves authored/effective-snapshot roles and default provenance, and names missing, malformed, unsupported, or escaping inputs as blocking coverage limits.Network facts retain binary/endpoint correlation. Parsing is bounded, identity-bound and offline; credential-shaped labels cannot silently collapse under redaction. New host inventory/baseline/drift v0.8 schemas leave historical schemas frozen. Discovery, the zero-install launcher, independent census, generated references and a sample are included.
Semantic comparison, Git-selected input binding, review routing, composition and optional native proof follow in #944–#948. This stage makes no deployed enforcement or tool-effect claim.
Validation: full suite exercised 14,979 cases (14,955 initially passed); all seven failing cases and twelve packaging errors passed in the corrected regression run with build-dependency network access. OpenShell fixtures, schema generation check, Ruff, diff whitespace check and self-check passed. Reviewed the implementation and addressed census/launcher discovery, coverage parity and generated-document gaps.
check/verifynow reportreview_publishable: publishing is allowed; human review of the new registration and trigger catalog is required before merge.Closes #943
Part of #942