Repository navigation
docs: reference check-release-readiness.sh in release flow - #187
Merged
Merged
Conversation
Closes the loop from #183 (release guardrail): - AGENTS.md Release Flow section now references scripts/check-release-readiness.sh at step 0 (pre-flight) and step 3 (post-bump, pre-tag). Documents the CI validate job as second line of defense. - release-cutter.md pre-conditions delegate to the script instead of re-implementing the checks. Single source of truth for release-readiness logic. Both changes are documentation-only. No code paths changed. Refs: #183
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
Closes the documentation loop from #183 (release tag/manifest guardrail):
scripts/check-release-readiness.shat step 0 (pre-flight) and step 3 (post-bump, pre-tag). Documents the CIvalidatejob as second line of defense..opencode/agent/release-cutter.mdpre-conditions delegate to the script instead of re-implementing the checks. Single source of truth for release-readiness logic.Why
Before this PR, the release-cutter agent had its own bespoke checks for "clean tree / on main / manifests agree". After #183 added
scripts/check-release-readiness.sh, the agent's manual checks became duplicated logic with the script. Delegating ensures both paths use the same checks (and same exit codes / error messages).The AGENTS.md Release Flow section was written before the guardrail existed, so it didn't mention the script. Now that the script is on main, the flow doc should reference it.
Diff
Documentation only. No code path changes. No new dependencies.
Test Plan
bash -n(no changes to it).Related
scripts/check-release-readiness.sh+ CI validate job