Repository navigation
release: add reproducible qualification, artifacts and RC promotion (#652) - #1353
Merged
Merged
Conversation
Add ./flow tool qualify_release to qualify an exact commit: version and changelog gates, Homebrew formula structure, git-archive source artifacts, SHA-256 sums and an unpack path check. --promote-rc writes a promotion record. The tool never tags, never publishes and refuses --publish. Hosted dry-run is release-qualify.yml (contents: read only). release.yml skips GitHub Release and Homebrew updates for -rc tags and qualify_only. Co-authored-by: Abhishek Shivakumar <[email protected]>
This was referenced Oct 6, 2026
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.
Part of #652
In-repo qualification, source artifacts, SHA-256 records and RC promotion machinery. No release, tag or external artifact was published.
Remaining gap (needs a real published tarball, out of scope here):
brew install --build-from-source/ tap install-test from a clean checkout of the release being promoted (issue next action: 1.0.2 after that artifact exists). Do not guess a digest.Intent
Linked issue or roadmap item: #652 (reproducible release qualification, artifacts and RC promotion; original workstream 13 in the archived 1.0 roadmap).
What changed, and why is this the smallest useful change?
./flow tool qualify_releaseis the local qualifier. It writesgit archivesource tarball/zip,SHA256SUMS.txt,qualification.txt/.json, and optionallyrc-promotion.txt.--publishexits 2. The tool never tags, never creates a GitHub Release, never pushes and never updateshomebrew-flow.--check-formulavalidates url / 64-hex sha256 / version agreement on the in-repo formula. Hosted dry-run is.github/workflows/release-qualify.yml(contents: readonly).release.ymlskips the publish job for*-rc*tags andqualify_only.Overlap check
Overlap / dependency notes: no open PR for qualification/RC promotion. Existing
prepare_release,sync_version,check-formula-syncandrelease.ymlstay the publication path after a human tags an already-qualified commit.Evidence
Baseline before this change: qualification lived as a long
release.ymljob that also published; there was no local dry-run that produced archives + digests + an RC record without tagging.Targeted proof that exercises the changed behaviour:
./flow tool qualify_release --help./flow tool qualify_release --publishexits 2./flow tool qualify_release --check-formula(current formula, published v1.0.1 digestdeb4978f97cb5643c29fcb9d73ab72a8eb121e2e31c60df73ba6870d04f5229b)./flow tool qualify_release --dry-run --artifacts-only --out /tmp/flow-qualify-drywrote archives,SHA256SUMS.txt,published: false./flow tool qualify_release --promote-rc --dry-run --artifacts-only --out /tmp/flow-qualify-rcrecordedv2.0.0-rc.1at225bda0cwithtagged: false;git tagcount unchanged./flow tool qualify_release --print-tag-commandprintsgit tag -aand does not run itWhy that proof would detect the old failure or regression: a publish/tag leak would change
git tagor exit 0 from--publish; a missing digest or unpack path would fail the record / unpack check.Repository gate(s) run:
./flow test-scripts qualify_release— 9 passed, 0 failed, 0 skipped./flow tool wiki_nav— nav consistent with docs/./flow tool script_refs— pass./flow tool changelog_check— pass./flow test-scripts packaging_specs— 5 passed./flow tool python_ratchet— PASS./flow tool shell_ratchet— PASSGenerated/bootstrap state, if any: none.
compiler/srcwas not changed.Risk
Compatibility, performance, security, lifetime, backend, or release implications: process/tooling only.
release.ymlwill no longer publish GitHub Releases or Homebrew updates for tags whose name contains-rc, which is the intended RC promotion boundary.docs/project/Questions.mdupdated if this needs a language-design decision.Compatibility
docs/project/CHANGELOG.md.Agent handoff
Agent/provider/session: Cursor Cloud Agent.
Any remaining blocker is recorded in GitHub rather than only in local/session state: post-publish Homebrew install/test for the promoted release remains on #652.