agentleFS
MeridionaMeridiona/meridian/.claude/skills/release/SKILL.md

release

Skill404 starsChanged 6 months agoMITView on GitHub

Operate Meridian's explicit RC-to-stable release promotion pipeline.

  • Reads credentials

190 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use watch-pr, marketplace and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Hugging FaceSkill

    watch-pr

    Monitor a PR's CI checks and Greptile code review after submission. Polls CI status, auto-fixes failures via ralph-loop, waits for Greptile review, addresses comments, and iterates until green.

    Also in 3 projects that use this

  • OpenAISkill

    marketplace

    Vercel Marketplace expert guidance — discovering, installing, and managing third-party integrations via the `vercel integration` CLI. Use when building any app that needs an external capability without a dedicated skill — commerce (stores, storefronts, selling products), payments (checkout, subscriptions, billing), observability/monitoring, messaging/email, search, or CMS — or when discovering, installing, or managing integrations.

    Also in 4 projects that use this

  • Microsoft AzureSkill

    engineering-principles

    GPT-RAG Orchestrator architecture and implementation principles. Use for design, review, meaningful refactoring, runtime strategies, FastAPI, Azure integration, security, testing, or operations.

    Also in 4 projects that use this

  • ZAidBinAsifSkill

    write-readme

    Write README files as landing pages not API docs

    Also in 3 projects that use this

  • polyant-aiSkill

    plugin-authoring

    Use when creating, converting, or loading Polyant agent tools/plugins — authoring a *.tool.ts with defineTool, the serialized (JSON Schema) contract, converting a legacy registerTool tool, or wiring an external plugin via PLUGIN_DIRS / src/plugins. Also covers authoring a *.hook.ts with defineHook (conversation lifecycle hooks + control returns halt/injectContext/replaceResponse/regenerate). Covers the module-resolution rules that decide where a plugin can live.

    Also in 3 projects that use this

  • eugenelimSkill

    new-spec

    Use this skill when the user wants to start a new feature with a spec, or wants to write a spec for something they're about to build. Triggers on "new spec", "write a spec for X", "let's spec this out", "start a feature for…". Spec-driven development; the spec drives implementation. Do NOT use for cross-cutting proposals (use `new-rfc`) or recording decisions (use `new-adr`).

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 172 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read docs/ci-cd.md first. It is the canonical description of branch, CI, cache, smoke-test, and release architecture.

    line 9
  2. Distinctive:

    Only updater/release JSON metadata is expected to change during stable promotion.

    line 35
  3. Distinctive:

    Never reintroduce a rolling staging updater tag or a stable rebuild.

    line 37
  4. Very specific:

    Do not run release-build.yml for stable.

    line 108
  5. Very specific:

    Check updater-signing secrets and the packaging/verification steps in release-build.yml.

    line 204

“Common” is measured: kept by at least 6 in 10 of the 172 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Meridian Release Skill

Read docs/ci-cd.md first. It is the canonical description of branch, CI, cache, smoke-test, and release architecture.

Meridian uses semantic-release for version analysis, but production release publication is an explicit two-stage promotion pipeline:

  • .github/workflows/release-prepare.yml decides/validates the release and creates tags/releases.
  • .github/workflows/release-build.yml builds, signs, notarizes, packages, smoke-tests, and publishes an RC.
  • Stable promotion reuses the exact proven RC artifacts and does not dispatch a product build.

A push or merge to main never publishes a release.

Release invariants

  • main is the only development trunk.
  • RCs are immutable candidate tags: vX.Y.Z-rc.N.
  • RC binaries are built with final application version X.Y.Z; there is no compile-time staging channel.
  • macOS and Windows exact-artifact smokes must pass before an RC is published.
  • A proven RC carries smoke-macos.ok and smoke-windows.ok.
  • Stable promotion must name a proven RC.
  • Stable promotion creates vX.Y.Z at the RC's source commit.
  • Stable product artifacts must be byte-for-byte identical to the RC.
  • Only updater/release JSON metadata is expected to change during stable promotion.
  • Never reintroduce a rolling staging updater tag or a stable rebuild.

Version files

During an RC product build, scripts/set-version.sh <X.Y.Z> updates the checkout used for compilation so all shipped components agree on the final application version:

ComponentVersion file
Rust daemon/workspaceCargo.toml, Cargo.lock
UIui/package.json
MCP serverpackages/meridian-mcp/package.json
Traytray/src-tauri/tauri.conf.json

These build-worktree changes are not a separate release-branch model.

Cut an RC

First make sure the intended source is on main and post-merge validation is healthy.

Trigger:

gh workflow run release-prepare.yml \
  --repo Meridiona/meridian \
  --ref main \
  -f channel=rc

release-prepare.yml runs semantic-release in analysis/dry-run mode to derive the next stable base version, chooses the next RC ordinal, creates vX.Y.Z-rc.N, and dispatches release-build.yml.

The build workflow is dispatched on main for default-branch cache access, but checks out the immutable tag supplied as input. Do not change this cache/tag split casually.

The RC workflow:

  1. validates the candidate tag and draft release;
  2. builds macOS aarch64 and Windows x86_64 in parallel;
  3. sets the product version to final X.Y.Z;
  4. signs updater payloads;
  5. signs/notarizes macOS;
  6. packages Windows;
  7. composes updater manifests;
  8. uploads candidate assets;
  9. runs exact-artifact macOS and Windows smokes;
  10. uploads proof assets;
  11. publishes the RC only after both proofs exist.

Promote a proven RC to stable

Trigger:

gh workflow run release-prepare.yml \
  --repo Meridiona/meridian \
  --ref main \
  -f channel=stable \
  -f candidate_tag=vX.Y.Z-rc.N

Stable promotion is intentionally fast and build-free. It validates the candidate and allowed source drift, creates the stable tag/release at the RC source commit, downloads the RC assets, rewrites updater-manifest download URLs from the RC tag to the stable tag, uploads the unchanged binary artifacts plus rewritten manifests, and publishes stable.

Do not run release-build.yml for stable.

Verify artifact identity

For a promoted stable release, compare the GitHub asset SHA-256 digests of:

  • Meridian-aarch64.app.tar.gz
  • Meridian-aarch64.app.tar.gz.sig
  • Meridian-aarch64.dmg
  • Meridian-x86_64-setup.exe
  • Meridian-x86_64-setup.exe.sig
  • smoke-macos.ok
  • smoke-windows.ok

They must match the candidate RC. latest.json and per-platform updater JSON files are allowed to differ because stable promotion rewrites tag URLs and stable metadata.

Monitor release runs

gh run list --repo Meridiona/meridian --workflow=release-prepare.yml --limit=10
gh run list --repo Meridiona/meridian --workflow=release-build.yml --limit=10

gh run view <RUN_ID> --repo Meridiona/meridian --json status,conclusion,jobs
gh run view <RUN_ID> --repo Meridiona/meridian --log-failed

Re-run only failed jobs when appropriate:

gh run rerun <RUN_ID> --repo Meridiona/meridian --failed

Auto-update

Client update logic lives in tray/src-tauri/src/update.rs.

Stable packaged apps read:

https://github.com/Meridiona/meridian/releases/latest/download/latest.json

There is no staging updater channel.

tray/minimum-version is the emergency force-update floor. Empty/absent means normal consent-based updating. Set it only when older shipped versions must be forced forward; clear it again after the fleet has moved.

Product smokes

Release qualification always tests uploaded artifacts, not a fresh rebuild.

  • macOS verifies the exact packaged signed application.
  • Windows installs the exact NSIS package, starts the product, validates daemon lifecycle/health, and uninstalls it.
  • proof assets are part of the promotion contract.

Manual product-smoke workflows may be used to re-check already published artifacts without rebuilding.

Required secrets

Signing/notarization uses APPLE_SIGNING_IDENTITY, APPLE_API_KEY, APPLE_API_ISSUER, APPLE_API_KEY_CONTENT, APPLE_CERTIFICATE, and APPLE_CERTIFICATE_PASSWORD.

Updater signing uses TAURI_SIGNING_PRIVATE_KEY and TAURI_SIGNING_PRIVATE_KEY_PASSWORD.

OAuth/telemetry build secrets used by the product remain defined by the release workflow. Never print or copy secret values into release logs.

Troubleshooting

RC build is unexpectedly cold

Inspect the Swatinem/rust-cache restore output. The intended release cache families are documented in docs/ci-cd.md. Run the cache audit before inventing a new cache key:

gh workflow run cache-audit.yml --repo Meridiona/meridian --ref main

Stable promotion tries to build

That is an architecture regression. Stable promotion must not dispatch release-build.yml.

Candidate rejected because source drift is unsafe

Cut a new RC from current main. Only narrowly defined CI/release-control changes are allowed after an RC; product/source drift requires a new candidate.

Updater artifacts are missing

Check updater-signing secrets and the packaging/verification steps in release-build.yml. Do not publish stable without a proven RC asset set.

Historical warning

Ignore old references to pre-main, release-staging.yml, rolling updater-staging, automatic branch-push releases, or rebuilding stable. Those are retired designs.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.