test(provenance): verify landed-main identity reference - #86
Merged
Conversation
Contributor
|
🎉 This PR is included in version 1.1.4 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
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.
Summary
mainSupports atrinik/atrinik#386.
Prerequisite atrinik/atrinik#388 merged as coordinator commit
254595b3e958471a73e2ca4c635992a34abe9cb6.Coordinates
mainat95c8421c25b8175d684830a8e2e1d5861e317dd9test/approved-main-provenance-386at7e828ce308d96a2f2416b97a58df0dd87e41d3e9/workspaces/atrinik/workspace/worktrees/server/issue-386-approved-main7e828ce308d96a2f2416b97a58df0dd87e41d3e9 test(provenance): verify landed-main identity referenceTrust boundary
The record remains visibly synthetic and cannot authorize real material. It copies no registry, reviewer roster, identity alias, contact data, or restricted evidence. Its signature selects the synthetic-only authority added by atrinik/atrinik#388.
Validation
go mod verify,go vet ./...,go test ./..., andgo test -race ./...— passedtools/test-provenance-identity-reference.shandtools/check-foundations.sh— passedshellcheck tools/check-provenance-identity-reference.sh tools/test-provenance-identity-reference.shgit diff --checkmainvalidation of this record with no trusted-ref or audit override —valid (2 records, 1 references)mainaggregate validation with the client and server records —valid (2 records, 2 references)The local aggregate prerequisites
staticcheck,govulncheck, andgo-licensesare unavailable; latest-head CI owns those installed-tool gates and package dependency proof.Verification
Replacement wrapper runtime adapters remain unavailable under atrinik/atrinik#266, #269, and #270. Classic is not a substitute, and no profile, topology, service, state, scenario, or credentials are needed for this offline trust record.
Repeat from this worktree with a current coordinator checkout:
Expected result:
valid (2 records, 1 references)with noATRINIK_COORDINATOR_TRUSTED_REFand no audit flag. The command is read-only and safely repeatable; no shutdown or cleanup is required.