feat(openshell): compose local policy and provider inputs - #958
Merged
Merged
Conversation
This was referenced Oct 3, 2026
pengfei-threemoonslab
force-pushed
the
codex/openshell-routes-946
branch
from
October 3, 2026 19:26
87902b4 to
a0b07e1
Compare
pengfei-threemoonslab
changed the base branch from
codex/openshell-routes-946
to
main
October 3, 2026 19:39
pengfei-threemoonslab
force-pushed
the
codex/openshell-composition-947
branch
from
October 3, 2026 19:39
938f818 to
d284ca4
Compare
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.
An unchanged base policy can gain access through a changed provider profile, and removing a global override can restore underlying grants. This adds explicit local composition so the existing host diff and verifier review the resulting policy with every contributor bound to Git and receipt currency.
Version 2 registrations describe global/saved/image selection, provider attachments and profile scope. Composition follows pinned OpenShell v0.1.2 selection, workspace precedence and append-with-collision rules. Missing context remains incomplete. Credential placement stays separate from network reach; effective exports retain metadata with unverified deployment freshness. Current host inventory/baseline/drift schemas advance to 0.9; historical schemas remain frozen.
Depends on #952; stacked on
codex/openshell-routes-946. Closes #947.Validation: the complete regression suite passed (15,051 passed, 7 skipped), along with Ruff and generated-schema checks. Focused tests cover composition, inventory, host comparison, receipt currency and public contracts. Review fixes include complete Git dependency discovery before composition selection and current-schema assertions in compatibility tests.
Scope: explicitly supplied local inputs. No gateway discovery, profile download, credential values or deployment-enforcement claim. Human review remains required for the release trust-root changes.