Verify a published release
Inherits ../SKILL.md. Wrap litai release verify-published PREPARED.
Python owns remote tag/branch/provider/collateral comparison. This command
writes nothing.
What to run
- After publish, or when inspecting a suspected partial publish, run
litai release verify-published PREPARED with the same prepared record
check wrote.
- On
release.published_tag_missingorpublished_branch_mismatch,
inspect with evidence explain and the Git remote. Retry publish
only when policy allows idempotent reuse of the exact annotated tag.
- On
release.published_provider_missing, Git publication may already
have succeeded. Authenticate gh and retry publish; never retag.
- Require a published provider release (
draft=false) whose prerelease flag
matches the exact prepared version, with non-empty release notes and every
policy-required asset. Stable candidates must be stable; explicitly prepared
prerelease candidates must be published prereleases.
For a major/minor document pair, require the release-bound receipt and its
exported read-back hashes to match the exact prepared revision.
- For a stable release, after the README update from
../SKILL.mdlands,
check the remote default branch's root README.md. It must name the
just-published tag and release title as the latest release. Every user-facing
asset it lists must match the published provider release by name, size and
SHA-256, and no other release may still be called "latest" or "current". The
CLI does not check this yet. Report any mismatch as the named failure
readme-latest-release-stale, with the expected and observed values, and
repeat the check after the fix lands. A prerelease leaves the stable entry
unchanged unless the release policy says otherwise.
- Run a final
litai release contributions sweepafter remote verification.
New work is not silently swept into the release that just shipped: classify
it for the next milestone so the next cycle begins from durable state.
- Never delete, move, overwrite, or force-push a published tag to make
this command pass.
A local tag is not proof, and a provider URL is not proof that notes, assets,
or collateral match. Homebrew/formula SHA updates stay package publication
work; verify the policy-declared release surface rather than inferring success
from one remote object.