Skip to content

feat: prepare Cloud admissions from attested hosted evidence - #46

Merged
abrichr merged 3 commits into
mainfrom
codex/cloud-measured-admission-20260911
Sep 14, 2026
Merged

abrichr merged 3 commits into
mainfrom
codex/cloud-measured-admission-20260911

Conversation

@abrichr

@abrichr abrichr commented Sep 14, 2026

Copy link
Copy Markdown
Member

The measured admission preparer currently accepts Flow releases only. This change adds a Cloud entry point that verifies a hosted campaign's retained evidence and exact deployment before preparing the existing admission objects.

The Cloud adapter verifies the fixed private producer's GitHub attestation, opens the committed evidence files, derives the campaign counters, and checks the protected deployment run and provider identities. A separate attested observation can supply a fresh publication time while preserving the original campaign bytes. The default Flow executable still selects Flow from its verified artifact inventory.

Published deployments also need verification receipts without a GitHub draft release ID. The schema and receipt writer now support that deployment case; package and hybrid releases still require the ID. The extracted GitHub attestation verifier retains the existing signature and identity checks.

Preparation is unsigned by default. This PR changes verification code and synthetic tests; actual Cloud execution and admission evidence remain pending.

Validation: all 370 repository tests pass with the existing test environment and read-only PyPI access. The actual collector and observer's offline output passes the Cloud adapter unchanged; altered identities for each of the three runner functions are rejected. That interface check uses synthetic provider data and stubs provenance authentication, which the separate attestation tests cover.

Opened by an agent session, not the founder.

Signed-off-by: abrichr <richard.abrich@mldsai.com>
Signed-off-by: abrichr <richard.abrich@mldsai.com>
Signed-off-by: abrichr <richard.abrich@mldsai.com>
@abrichr
abrichr merged commit 950050c into main Sep 14, 2026
3 checks passed
@abrichr
abrichr deleted the codex/cloud-measured-admission-20260911 branch September 14, 2026 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant