Repository navigation
Require promotion manifests to bind consumed evidence - #362
Open
manfromnowhere143 wants to merge 1 commit into
Open
manfromnowhere143 wants to merge 1 commit into
manfromnowhere143 wants to merge 1 commit into
Conversation
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.
This addresses issue 361. The default promotion profile currently accepts missing digests and unlisted decision inputs. An unlisted passing policy sidecar can override an embedded failure and change BLOCK to PROMOTE.
The correction requires a digest for each manifest entry and requires the deployment receipt and any consumed policy sidecar to be listed. It preserves valid packets, embedded policy reports and explicitly optional hashes. Unrelated operator notes remain permitted.
The same 28 CPU controls produce 11 failures and 17 passes on dcbcbb5, then 28 passes with this change. All nine existing promotion tests are unchanged. The 19 added controls use the native packet writer and promotion function through normal package imports. There are no errors or skips. The exact published files pass again with Python 3.12.13, PyYAML 6.0.3 and pytest 9.1.1. Ruff passes. One pytest configuration warning remains with optional plugins disabled.
This is a local integrity correction with synthetic receipts. It does not authenticate unsigned evidence, cover concurrent file replacement or establish policy performance. No model, server or robot was run. The full repository suite remains unqualified locally.