Production release

From latitude-dev/latitude-llm · View interactive version

Production release is an AI agent skill from the GitHub repository latitude-dev/latitude-llm. Preparing a production release, pushing a vX.Y.Z release tag, running scripts/release.sh, or updating CHANGELOG.md with the changes that are about to be deployed to production.

How to use this skill

Skill file

Production release

Use this skill when preparing a production deployment. If the skill is invoked

without additional context or constraints, assume the user wants the default

patch production release flow: update CHANGELOG.md, bump the Helm chart

version, commit both as release: vX.Y.Z, push it to origin/development, and

run the production tag script for the next patch version. Production deploys are triggered by pushing a

vX.Y.Z tag; the changelog is updated at release time as a human-readable diff

of the code being pushed to production since the previous production deploy,

focused on the major aspects rather than every commit.

Release invariants

latest origin/development commit.

changelog update, must be pushed to origin/development before tagging.

release: vX.Y.Z, for example release: v1.2.3.

that pushes the production tag.

set both version and appVersion to X.Y.Z (no leading v) in the same

release: vX.Y.Z commit as the changelog. scripts/release.sh refuses to

tag a release whose chart version does not match.

Default behavior when no extra context is given

When the user only invokes this skill (or says something like "production

release") without specifying a version, dry run, changelog-only update, or other

constraint:

  1. Treat it as approval to perform the full patch release workflow.
  2. Determine the next patch version from the latest vX.Y.Z tag.
  3. Update CHANGELOG.md for that next patch version using the production diff.
  4. Set version and appVersion in charts/latitude/Chart.yaml to the new

X.Y.Z.

  1. Commit both with the exact message release: vX.Y.Z and push to

origin/development.

  1. Run scripts/release.sh --yes (without an explicit version) so it tags the

latest origin/development commit with the next patch version. The --yes

flag is required when running non-interactively (agent or CI): the script's

confirmation prompt cannot be answered without a terminal, and without

--yes it exits with an error rather than tagging.

Still obey all release invariants: never tag local-only commits, never promote

via main, and stop to ask if the working tree or branch state makes the

release unsafe or ambiguous.

Workflow

  1. Push the commit intended for production to origin/development; the release

script always tags the latest origin/development commit after fetching.

  1. Fetch tags and identify the previous production release tag:

```bash

git fetch origin development --tags

git tag -l 'v*' --sort=-v:refname | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' | head -n 1

```

  1. Inspect the release range (<latest-tag>..origin/development, or the initial

release range if no tag exists) as the production diff. Read the commits and changed files

enough to understand the main shipped behavior, not just the commit titles.

  1. Update CHANGELOG.md before deploying:

## v1.2.3 - 2026-05-27;

scan quickly;

readers trace the change;

  1. Commit the changelog update with message release: vX.Y.Z (matching the

release version exactly) and push it to origin/development.

  1. Run scripts/release.sh [version]. Use --dry first when you want to preview

the release summary without tagging. Pass --yes to skip the confirmation

prompt — always required when running without a terminal (agent or CI),

otherwise the script errors out instead of tagging.

Changelog style

Use concise, past-tense entries that describe the major shipped behavior. The

changelog is not an exhaustive commit log; it is a readable summary of what will

change in production compared with the previous deploy:

## v1.2.3 - 2026-05-27

### Traces

- Added hover popovers for histogram incidents (ref: #3252).
- Fixed native OAuth redirect URI handling (ref: #3254).

Prefer release accuracy over exhaustive commit transcription. If a PR was merged

but is not part of the tagged range, it does not belong in that release section.

If many commits contribute to one capability, write one entry for the capability

instead of one entry per commit.

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.