Skip to content
Back to skills

Loom Release

ASecurity

Cuts or verifies a Loom release from one request, including urgent releases, tags, container images, SDKs, release notes and the announcement. Use when asked to release, tag, publish, verify or announce a version, or to roll back a release.

  • 282 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 11, 2026
ai-agentspythonrustgoshellbashnodedockerkubernetesgitdatabase

Works with

  • cli
  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 4, 2026

npx -y skills add ClickHouse/loom --skill loom-release --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Loom Release?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Loom Release
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/clickhouse-loom-release/badge)](https://www.skillsdirectory.com/skills/clickhouse-loom-release)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: loom-release
description: Cuts or verifies a Loom release from one request, including urgent releases, tags, container images, SDKs, release notes and the announcement. Use when asked to release, tag, publish, verify or announce a version, or to roll back a release.
argument-hint: "[X.Y.Z]"
metadata:
  internal: true
---

# Releasing Loom

"Release X.Y.Z" is the entry point. Publish the final as soon as its gating image scan passes. Use a candidate soak only when the owner asks for one. The owner's release request authorizes routine publication and verification for that version: the release's tag and `release/X.Y` pushes, its `release.yml` dispatches (a dry run, a recovery) and the registry jobs. Ask separately before a rollback, a public announcement or a deployment. Run each `git push` as its own command, never inside a script, so the command rules see it; print a push they refuse for the owner to run.

## Prepare the release

- Read [release process](../../../docs/development/release-process.md) and [supported versions](../../../docs/operations/supported-versions.md). Check remote tags and open PRs for this version. Resume existing work when its target and version match.
- Start a major or minor from `origin/main`. Start a patch from `origin/release/X.Y`; backport any selected fixes to that line through PRs first. Use `prep/release-X.Y.Z` for the release PR unless the owner specifies a name. A repository rule that refuses a branch or tag update needs a resolution under that rule.
- Check the latest CI on the target and a passing container scan: on `main`, a weekly or dispatched docker-smoke run from the past week; for a patch, the release PR's own docker-smoke run, which gates as a pull request into `release/X.Y`. Start the dry build (`gh workflow run release.yml -R ClickHouse/loom --ref <target> -f dry_run=true`) in parallel with preparing the PR, and read its prerequisite warnings when it runs; it is not a gate.
- Use `.venv/bin/python scripts/release/prepare.py bump X.Y.Z` in the release worktree. The tool bumps the server, images, dashboard, Python SDK, npm SDK, Helm chart, root skills and the install commands in the docs, and writes `release-notes.md`. If the Rust SDK has changes since its last published version, bump its independent SemVer in `sdk/rust/Cargo.toml` and check it with `scripts/release/rust_sdk.py check-version`. A final release publishes that crate version if it is absent from crates.io.
- Check the release notes with [loom-writing](../loom-writing/SKILL.md#release-notes-and-announcements). Resolve uncategorized entries and remove items that name no operator action. Surface upgrade steps and client breaks before details. Check whether any shipped plugin changes require raising `MIN_SERVER_VERSION` and bumping the plugin versions.
- Open `Release X.Y.Z` using [loom-ship-pr](../loom-ship-pr/SKILL.md). Include the reviewed notes in the PR body, from the `## Release notes for vX.Y.Z` heading to the `<!-- end release notes -->` line `prepare.py` writes; a final's run fails without them. Other PRs enter the release by merging into its target branch before the release PR. Refresh the notes if the base moves. Merge on green when the required reviews and threads are settled, with `gh pr merge <n> --squash --subject "Release X.Y.Z (#<n>)"`: a one-commit pull request's squash title is otherwise its commit's subject, and on `main` only a title `Release X.Y.Z`, with or without ` (#<n>)`, makes the merge commit's docker-smoke run gate (every push to `release/X.Y` gates).

## Tag and monitor

A pushed `vX.Y.Z` tag is never moved or deleted, so a final goes only on a commit a gating docker-smoke run (`scripts/gates/docker_smoke_gate.sh`) passed on, created within the six hours before the tag (`createdAt`, which a re-run keeps): the tag run's scan reads a newer vulnerability database. A gating run is a push titled `Release X.Y.Z`, with or without ` (#N)`, a push to `release/X.Y`, a weekly run or a dispatch; any other push run only warns on a scan finding.

- **Default**. Wait for the push run on the release PR's merge commit (`gh run list -R ClickHouse/loom --workflow docker-smoke.yml --commit <commit> --json status,conclusion,event,displayTitle,createdAt`), which builds and scans the exact commit as the tag run does. Once it passed, `git tag vX.Y.Z <commit>`, then `git push origin vX.Y.Z`; for a run too old, dispatch as below. After any failure other than a scan finding (a CVE the log names), `gh run rerun <run> -R ClickHouse/loom --failed`: a re-run reads the same event and title, so the run still gates.
  - After a scan finding, for a merge commit with another title, or for a run too old:
    - Merge any fix to the target. Name its commit (`git fetch origin <target>`, then `git rev-parse origin/<target>`) and the time (`date -u +%Y-%m-%dT%H:%M:%SZ`), then run `gh workflow run docker-smoke.yml -R ClickHouse/loom --ref <target>`.
    - Tag that commit once `gh run list -R ClickHouse/loom --workflow docker-smoke.yml --event workflow_dispatch --commit <sha> --created ">=<time>" --json status,conclusion`, with the printed time written in (each command runs in a new shell), shows a completed, successful run. `gh workflow run` returns before the run exists, so a listing without both filters can show an older dispatch.
    - When no run appears after a minute, the target moved: name its new head and dispatch again. After any failure other than a scan finding, a scan that could not run included, dispatch again.
    - When that commit is past the release PR, run `prepare.py notes X.Y.Z` there and update the release PR's notes before the tag.
  - If a candidate tag already exists, the final must use the highest candidate's commit, after a fresh gating run there (below).
- **Release with a soak**. Push `vX.Y.Z-rc.1` on the release PR's merge commit with no gating run first: a candidate whose scan fails publishes nothing and costs only its number. During a Kubernetes soak, set both `image.tag` and `extractor.image.tag` to the candidate.
  - Watch its run and soak it for at least two days. Tag any fix as the next candidate on its merge commit on the release target, and the soak restarts.
  - The final goes on the highest candidate's commit once a dispatch there passed: the final's images are built again, uncached, and a CVE fixed during the soak can fail the final's scan. Run `git fetch origin --tags` and print the time (`date -u +%Y-%m-%dT%H:%M:%SZ`), then `gh workflow run docker-smoke.yml -R ClickHouse/loom --ref vX.Y.Z-rc.N`, then `gh run list -R ClickHouse/loom --workflow docker-smoke.yml --event workflow_dispatch --commit "$(git rev-parse 'vX.Y.Z-rc.N^{commit}')" --created ">=<time>" --json status,conclusion`, with the printed time written in, until the run is completed (an earlier dispatch on that commit is older than that time).
  - A successful run: tag that commit. A scan finding (a CVE the log names): tag its fix as the next candidate, and the soak restarts. Any other failure, a scan that could not run included: dispatch again.
  - When the highest candidate's commit is past the release PR, run `prepare.py notes X.Y.Z` there and update the release PR's notes before the tag.
- Watch the exact tag's release run through the [registry and external checks](../../../docs/development/release-process.md#what-the-release-workflow-does). The tag starts publication to GHCR, GitHub Releases, PyPI, npm, crates.io and the MCP Registry. Candidates publish to PyPI and npm, and leave moving image tags and the MCP Registry listing alone. Never create the version's GitHub Release by hand (`gh release create`) before the tag run's `github-release` job: that job keeps an existing release's notes and only uploads its files.
- The `pypi`, `npm`, `mcp-registry` and `crates-io` environments deploy only from a `v*` tag, and `npm-n8n` only from a `v*` or `n8n-v*` tag; none needs approval, so a run waiting on one means someone added a protection rule, which goes to the owner. Use `gh run view` to track every job and [loom-investigate-ci](../loom-investigate-ci/SKILL.md) for failures. Rerun failed jobs where the [recovery rules](../../../docs/development/release-process.md#a-failed-tag-or-signature) allow it.
- When the line's maintenance branch `release/X.Y` does not exist, its first published final creates it with `git push origin "vX.Y.Z^{commit}:refs/heads/release/X.Y"`; after a final that published nothing, push the same way from the tag of the commit that should ship: the dead final's after a failed scan or build, the highest candidate's (`"vX.Y.Z-rc.N^{commit}:refs/heads/release/X.Y"`) for a misplaced final. Honor its branch rules. Keep tags fixed once pushed.
- A final's tag run that fails before `docker-tag` publishes nothing, and its tag stays: create `release/X.Y` from the commit that should ship if the line has none, and release the fix as the next patch there, adding the tag to `UNRELEASED` in that patch's release PR before `prepare.py bump`, so its notes and upgrade rehearsal skip it; the entry also reaches `main`. When `main` still names that version, merge a branch at `release/X.Y`'s head into `main` with a merge commit (the one exception to squash-merging); otherwise add the entry in a one-line PR. Never delete `release/X.Y`. All as the [release process](../../../docs/development/release-process.md#what-the-release-workflow-does) says.

## Verify the release

Read the published GitHub Release and confirm the reviewed opening, then the package and image versions from the tagged run and the registries. Check both image version tags and their moving tags, PyPI provenance, the npm dist-tag and signatures, the Rust version, for a final the n8n nodes package (`n8n-publish.yml` on the tag, which fails until an npm administrator's first publish of the package, as [its README](../../../integrations/n8n/README.md#publishing) says), and the MCP Registry listing:

```bash
curl -fsS "https://registry.modelcontextprotocol.io/v0.1/servers?search=io.github.ClickHouse/loom" | jq '.servers[].server.version'   # lists X.Y.Z
npm view @clickhouse/loom dist-tags   # latest names the highest final; next a candidate
curl -fsS -o /dev/null https://pypi.org/integrity/clickhouse-loom/X.Y.Z/clickhouse_loom-X.Y.Z-py3-none-any.whl/provenance   # X.Y.ZrcN for a candidate
```

The plugins, in a throwaway `HOME`: `claude plugin marketplace add ClickHouse/loom && claude plugin install loom@loom`, and `codex plugin marketplace add ClickHouse/loom` then install `loom` from it; each lists the plugin version on `main`, and its SessionStart against this server prints no `loom:` line about the server's version. The autonomous release run includes installer, signature, upgrade and package-install checks. Report any skipped, blocked or failed check and provide the release and run links.

Draft an announcement only when requested. A public post needs authorization. Use the ongoing release-announcements discussion and check for the same version before posting.

## Recover a release

Use [a failed tag or signature](../../../docs/development/release-process.md#a-failed-tag-or-signature) and [downgrading an installer install](../../../docs/operations/upgrades.md#downgrading-an-installer-install). The owner's rollback authorization names the moving tags, release labels or registry labels to restore. Keep versioned tags and assets available to installations pinned to that version. Fix the fault in a higher version. Check the former image's signature before moving an image tag back. Once Latest is moved back, never dispatch or re-run the bad tag: its `github-release` job makes it Latest again. A bad SDK follows [a bad SDK](../../../docs/development/release-process.md#a-bad-sdk): a PyPI yank, `npm deprecate` with its dist-tags moved back and a `cargo yank` keep pinned versions installable.

Files in this skill

  • SKILL.md10.9 KB
  • evals/triggers.json822 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.