Skip to content

docs: reference check-release-readiness.sh in release flow - #187

Merged
EVWorth merged 1 commit into
mainfrom
chore/release-flow-docs
Jul 19, 2026
Merged

EVWorth merged 1 commit into
mainfrom
chore/release-flow-docs

Conversation

@EVWorth

@EVWorth EVWorth commented Jul 19, 2026

Copy link
Copy Markdown
Owner

Summary

Closes the documentation loop from #183 (release tag/manifest 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.
  • .opencode/agent/release-cutter.md pre-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

.opencode/AGENTS.md               | 15 +++++++++++----
.opencode/agent/release-cutter.md | 32 +++++++++++++++++---------------
2 files changed, 28 insertions(+), 19 deletions(-)

Documentation only. No code path changes. No new dependencies.

Test Plan

  1. Verify the updated AGENTS.md "Release Flow" reads naturally and references the script at the right steps.
  2. Verify release-cutter.md no longer inlines checks that the script does.
  3. Verify script still passes bash -n (no changes to it).

Related

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
@EVWorth
EVWorth merged commit a94259a into main Jul 19, 2026
8 of 9 checks passed
@EVWorth
EVWorth deleted the chore/release-flow-docs branch July 19, 2026 03:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant