.agents/skills/final-release-review/SKILL.md
Audit BASE_TAG...TARGET in one of two modes:
origin/main, does not yet declare a release candidate. The user may still supply a tentative patch or minor intent. Recommend the compatible type; do not treat unchanged package metadata as a blocker.In both modes, find concrete regressions and release risks, independently determine version compatibility, review the latest open documentation PRs before claiming coverage is missing, and produce an actionable release handoff. Keep documentation readiness separate from the release gate. The release call is a controlling checker result: callers must stop on BLOCKED and may continue only on GREEN LIGHT TO SHIP. Producing the report text is not itself a passing result.
openai-agents-python. When a caller supplies a dedicated candidate worktree, run every local inspection from that worktree rather than another checkout of the repository.BASE_TAG="$(.agents/skills/final-release-review/scripts/find_latest_release_tag.sh origin 'v*')"
origin/main:
git fetch origin main --prune
TARGET="$(git rev-parse origin/main)"
patch/minor intent.unspecified.unspecified, ask for the intended type or version before issuing a final-candidate gate. If the user prefers an uninterrupted review, switch to pre-release planning and make a recommendation instead.git diff --stat "${BASE_TAG}"..."${TARGET}"
git diff --dirstat=files,0 "${BASE_TAG}"..."${TARGET}"
git log --oneline --reverse "${BASE_TAG}".."${TARGET}"
git diff --name-status "${BASE_TAG}"..."${TARGET}"
references/review-checklist.md, determine the minimum release type, and prove or dismiss each candidate against the released contract.For a final candidate reviewed as TARGET=HEAD, also require HEAD to be the exact target in the candidate checkout, inspect the checked-out branch and release-owned files directly, and keep working-tree changes outside the commit from being mistaken for reviewed candidate content.
patch.minor for a breaking change to a non-beta public contract or for a major feature addition. Reserve major versions until 1.0.| Mode | Intended release | Minimum required | Verdict |
|---|---|---|---|
| planning | unspecified | either | recommend the minimum type |
| planning | patch | patch | compatible plan |
| planning | minor | patch or minor | compatible plan; say when minor is optional |
| planning | patch | minor | recommend changing the plan to minor; do not block the unreleased target |
| candidate | patch | patch | compatible |
| candidate | minor | patch or minor | compatible; say when minor is optional |
| candidate | patch | minor | under-versioned and blocking |
Recommended release type: patch|minor, even when the user supplied a tentative intent. Do not require pyproject.toml or uv.lock to already contain the next version; the release workflow owns that later bump.BASE_TAG...TARGET.patch release when the diff requires minor, or inconsistent candidate version metadata.In final-candidate mode, when the caller provides a dedicated checkout or worktree:
HEAD, and clean status before auditing. Do not switch to a different checkout that happens to share the same Git object database.TARGET=HEAD to resolve to the checked-out commit. Treat detached HEAD, a mismatched release branch, uncommitted release-owned files, or unrelated changed paths as candidate inconsistency.pyproject.toml, uv.lock, and tests/fixtures/released_api_contract.json from that checkout. Verify the intended version, editable openai-agents lock entry, contract baseline, and contract baseline_commit against the release branch and commit parent.These checks make the final-candidate review a release gate. The report remains the human-readable evidence and PR-description source for a green result; it does not replace the checks.
.agents/references/README.md and trace required consumers and symmetry axes.Evidence, Impact, Files, and Action for every risk item. Do not manufacture test or code work for a safe release consideration.gh in this repository and never mutate GitHub.covered, partially covered, not covered, stale/conflicting, or unverified.unverified, explain the search limitation, and do not claim that no docs PR exists.partially covered, not covered, stale/conflicting, and unverified cases, suggest the exact post-release file, section, example or claim, and migration wording. Mark suggestions provisional when coverage is unverified.Include a copy-ready Key Changes draft whenever the intended release is minor or pre-release planning recommends minor. Omit it for patch releases unless the user requests it.
Derive the draft from verified user-facing contracts, not raw commit counts or directory summaries.
Follow the established GitHub release format:
## Key Changes
<One concise paragraph stating why this is a minor release and whether it contains breaking changes.>
### Highlights:
- <Three to seven user-facing highlights grouped by theme.>
Put breaking behavior and the supported migration or fallback first. If the minor bump is for major features without a break, say so explicitly.
Cover the major release themes without reproducing the full ## What's Changed list. Preserve exact public names, defaults, version bounds, opt-outs, and compatibility qualifiers.
Link to published documentation when it already exists. When documentation is only in an open PR, do not publish an unstable branch link; keep the wording self-contained and mention the docs PR separately in Documentation coverage.
Produce the draft even when the release is blocked, but do not let polished release copy hide the blocker.
Produce the report in English using this structure. Always use the fixed compare URL https://github.com/openai/openai-agents-python/compare/<tag>...<target-commit>.
### Release readiness review (<tag> -> TARGET <ref>)
This is a release readiness report done by `$final-release-review` skill.
### Diff
https://github.com/openai/openai-agents-python/compare/<tag>...<target-commit>
### Release intent
- Review mode: <pre-release planning | final candidate>
- Intended release: <patch/minor intent, with version when known, or unspecified in planning mode>
- Minimum required release type: <patch | minor>
- Recommended release type: <patch | minor; include in planning mode only>
- Versioning verdict: <compatible | compatible plan | recommendation only | revise plan to minor | under-versioned>
### Release call
**<🟢 GREEN LIGHT TO SHIP | 🔴 BLOCKED>** <one-line rationale>
### Scope summary
- <N files changed (+A/-D); key areas touched: ...>
### Risk assessment (ordered by impact)
1. **<Finding or release consideration title>**
- Risk: **<🟢 LOW | 🟡 MODERATE | 🔴 HIGH>**. <Impact statement.>
- Evidence: <specific BASE-versus-TARGET evidence>
- Files: <path(s)>
- Action: <next step and pass condition>
### Documentation coverage (non-blocking)
- Coverage source: <PR URL/number and head SHA, multiple PRs, none found after a successful search, or search unavailable/partial>
- Status: <covered | partially covered | not covered | stale/conflicting | unverified>
- Covered obligations: <concise list or none>
- Gaps or post-release suggestions: <exact files/sections/claims, or none>
- Publication timing: <merge after release if the docs describe unreleased behavior, or not applicable>
### Unblock checklist
1. [ ] <required only when blocked>
- Exit criteria: <what must be true>
### Key Changes draft
<Include the copy-ready `## Key Changes` block only for an intended or recommended minor release.>
### Notes
- <Material assumptions only>
Unblock checklist when the release is green.Key Changes draft for patch releases unless requested.scripts/find_latest_release_tag.sh: refresh remote tags and return the newest matching release tag.references/review-checklist.md: detailed discovery signals, release-intent checks, docs-coverage review, and evidence requirements.