You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
qualify: record with the default-branch harness when the dispatch takes it (056 3.5) - #581
With harness_from_default_branch, the record job of qualify.yml now runs the default branch's rustev-release qualify, not the tag's.
Why: the 2026-11-08 requalification dispatches for spec 068's acceptance, v0.6.0 (run 42564690022) and v0.5.0 (run 42564691757), passed every step on all 7 platforms. Then record failed because the tag's tool rejects the new npm_provenance field:
darwin-arm64.npm.json: unknown field `npm_provenance`, expected one of `schema`, ...
Verification: I ran main's rustev-release qualify locally on both runs' downloaded evidence and the tags' release files. Both recorded qualified. The evidence holds v0.6.0 with 21/21 packages verified and v0.5.0 with 21/21 not_required.
Without the input, and in the release run's call, record is unchanged.
Spec: 056 implementation record paragraph (3.5, A-74).
Reviewing the two changed files against the governance context.
.github/workflows/qualify.yml
The diff adds an optional checkout of the default branch into harness/ and a conditional code path that runs rustev-release qualify from that harness instead of the tag's tooling. I checked:
Expression vs. shell condition alignment: The checkout gate is if: ${{ inputs.harness_from_default_branch }}; the shell branch is if [ "$FROM_DEFAULT" = true ]. For a boolean workflow input GitHub serialises the value as the literal string "true" or "false", so the two conditions are equivalent in practice.
Path arithmetic: The new subshell (cd harness && cargo run ... -- qualify ../release ../evidence) resolves ../release and ../evidence to the same workspace-root directories the original qualify release evidence call uses. Correct.
Output capture: (cd harness && ...) > qualification.json redirects the subshell's stdout to qualification.json in the caller's CWD (workspace root), identical to the original redirection.
Tag fetch in harness: git -C harness fetch --force origin "refs/tags/$TAG:refs/tags/$TAG" mirrors the existing fetch in the main checkout, giving the harness tool access to the tag ref for the same reasons (signature verification or identity checks the tool performs).
Credential handling: both the new harness checkout and the existing main checkout set persist-credentials: false; the subsequent git fetch commands match the existing pattern and present no new credential-exposure surface.
Injection: FROM_DEFAULT is derived from a boolean workflow input set via env: and tested with a quoted shell comparison; github.event.repository.default_branch is a repository property, not user-supplied; $TAG is existing. No injection surface.
Pinned action: The added actions/checkout step uses the same pinned SHA (9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0) as the existing checkout step above it.
Workflow-file governance: AGENTS.md requires statecraft-review-exception Environment approval for .github/workflows/ changes; that gate is enforced elsewhere and is not a reviewer finding per the review contract.
Adds a prose record of the 2026-11-08 dispatches and the new harness_from_default_branch behaviour. This is consistent with the existing record-keeping style in the same spec and raises no governance or correctness concern.
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
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.
With
harness_from_default_branch, therecordjob ofqualify.ymlnow runs the default branch'srustev-release qualify, not the tag's.Why: the 2026-11-08 requalification dispatches for spec 068's acceptance, v0.6.0 (run 42564690022) and v0.5.0 (run 42564691757), passed every step on all 7 platforms. Then
recordfailed because the tag's tool rejects the newnpm_provenancefield:Verification: I ran main's
rustev-release qualifylocally on both runs' downloaded evidence and the tags' release files. Both recordedqualified. The evidence holds v0.6.0 with 21/21 packagesverifiedand v0.5.0 with 21/21not_required.Without the input, and in the release run's call,
recordis unchanged.Spec: 056 implementation record paragraph (3.5, A-74).