{"agent":"claude","input":"Add a release workflow to this Elixir library. Read mix.exs, CHANGELOG.md, README.md, .formatter.exs, .gitignore and .github/workflows/ci.yml first. Write .github/workflows/release.yml triggered by tags matching v* and by workflow_dispatch with a dry_run input. First job: read @version from mix.exs with mix run --no-start -e, fail unless it equals the tag without the v prefix, fail if it ends in -dev, and fail unless CHANGELOG.md has a `## v<version>` heading with a date. Second job: mix deps.get and mix test on the newest Elixir and OTP pair the CI matrix uses. Publish job, only on a tag, in a GitHub environment named hex that holds the Hex API key secret; it runs MIX_ENV=docs mix deps.get and mix docs, mix hex.build, then mix hex.publish --yes unless dry_run; then create a GitHub release whose notes are that version's CHANGELOG section. Put the check script in a file so it runs locally; run it against the current tree and against a scratch commit with a real version, run mix hex.build, run actionlint on the workflow, and open a pull request with the outputs. Do not create a tag, a release or a Hex package.","resources":[{"url":"https://github.com/your-org/your-app"}]}