Repository navigation
feat(ci): sign-artifacts opens an auto-merge signature PR (#341) - #655
Merged
Merged
Conversation
Implements decision-log entry 113 option 1: with SIGNATURE_PR_TOKEN set the job pushes chore/signatures-<sha> and queues a squash auto-merge PR; unset, it warns and the artifact fallback stays. Drops the always-rejected direct push to main. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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
sign-artifactsjob now opens an auto-merge follow-up PR (chore/signatures-<sha>) with the newsignature.jsonsiblings instead of attempting a direct push tomain, which thetraverse-governance-*rulesets always rejected (the cause of the red-mainsignature gap after Publish text.truncate@1.0.0 #487, feat(catalog): model.execute@1.1.0 normative model_evidence (#641) #645, feat(capabilities): Spec 026 model rights backfill for five agents (#623) #646).SIGNATURE_PR_TOKENrepo secret (PAT/App token;GITHUB_TOKENPRs don't trigger required checks). Inert until the owner provisions it: without the secret, or on any failure, the step only warns and theartifact-signaturesartifact remains the manual fallback.[skip ci](the PR must runcapability-validation, now a required check, Re-add spec-alignment + capability-validation as required checks (#39 drifted) #511); checkout no longer persistsGITHUB_TOKENcredentials, so job permission drops fromcontents: writetoread. No ruleset bypass added (option 2 stays rejected).docs/artifact-signing.mdstep 3) rewritten; decision-log entry 136 added.Governing Spec
Project Item
Definition of Done
sign-artifactsupdated to open the signature PR via a CI-triggering tokendocs/artifact-signing.mdstep 3 updatedSIGNATURE_PR_TOKEN(cannot be done by an agent)Validation
bash -n.gh: no changes (exits clean), no token (warning only), token (branch pushed, PR created, auto-merge queued with the expected args).🤖 Generated with Claude Code