Verify published

From jordanhubbard/literate-ai · View interactive version

Verify published is an AI agent skill from the GitHub repository jordanhubbard/literate-ai. Prove the remote tag, release line, and optional GitHub release match one prepared identity. Use after litai release publish or when recovering a partial publication.

How to use this skill

Skill file

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

  1. After publish, or when inspecting a suspected partial publish, run

litai release verify-published PREPARED with the same prepared record

check wrote.

  1. On release.published_tag_missing or published_branch_mismatch,

inspect with evidence explain and the Git remote. Retry publish

only when policy allows idempotent reuse of the exact annotated tag.

  1. On release.published_provider_missing, Git publication may already

have succeeded. Authenticate gh and retry publish; never retag.

  1. 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.

  1. For a stable release, after the README update from ../SKILL.md lands,

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.

  1. Run a final litai release contributions sweep after 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.

  1. 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.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.