feat(openshell): compare declared policy authority conservatively - #950
Merged
Merged
Conversation
This was referenced Oct 3, 2026
pengfei-threemoonslab
force-pushed
the
codex/openshell-diff-944
branch
from
October 3, 2026 18:50
e768155 to
74cba54
Compare
pengfei-threemoonslab
changed the base branch from
codex/openshell-inventory-943
to
main
October 3, 2026 18:51
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.
OpenShell policy comparisons now explain proven expansions, narrowings and equivalent rewrites through the shared host comparator and JSON/Markdown rows. Removing
enforcement: enforcerestores the upstream audit default. Supported filesystem/Landlock and exact L4/REST transformations use documented direction rules; runtime-dependent, wildcard, credential and unsupported protocol changes remain visibly unknown.The bounded request partition preserves binary/destination correlation, overlapping allow union and global deny precedence. It evaluates combinations of process/ancestor binary matches so a denial or inspected endpoint can affect another matching grant. Redundant additions and removal of a duplicate denial stay neutral. Mixed changes retain both proven effects and withhold a single direction. No tool effects, arguments, bindings, deployment or merge claims are inferred.
Validation: full suite passed (15,002 passed, 7 skipped); 65 focused inventory/comparison cases passed after the review fix, including ancestor overlap. Ruff, whitespace and generated-schema checks passed.
checkand refreshedverifypermit publication with human trust-root review outstanding from the foundation PR.Stacked on #949. Git-selected input materialization follows in #945; review routing follows in #946.
Closes #944
Part of #942